pieces can rotate while moving
whe can color pieces dynamically pieces have collider and can kill each other
This commit is contained in:
parent
3ea7bfd5dc
commit
026d634c3a
18 changed files with 283 additions and 263 deletions
|
|
@ -7,6 +7,7 @@
|
|||
[ext_resource type="Script" uid="uid://c7dd1y3vdajk5" path="res://Resources/piece_res.gd" id="4_35asj"]
|
||||
|
||||
[resource]
|
||||
resource_local_to_scene = true
|
||||
script = ExtResource("4_35asj")
|
||||
movement_speed = 10.0
|
||||
mesh = ExtResource("2_xk4k7")
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
[gd_resource type="Resource" script_class="PieceRes" format=3 uid="uid://cso00cln3awgu"]
|
||||
|
||||
[ext_resource type="Material" uid="uid://brrbuo0i0e5bh" path="res://Materials/piece_white.tres" id="1_tmt7w"]
|
||||
[ext_resource type="ArrayMesh" uid="uid://dbqrpgaheoj2r" path="res://Models/low_poly_rook.obj" id="2_xgnuu"]
|
||||
[ext_resource type="Script" uid="uid://c7dd1y3vdajk5" path="res://Resources/piece_res.gd" id="3_e38o2"]
|
||||
[ext_resource type="Script" uid="uid://by68phh60fpjr" path="res://Scripts/Rules/rook.gd" id="3_tmt7w"]
|
||||
|
|
@ -9,6 +8,5 @@
|
|||
script = ExtResource("3_e38o2")
|
||||
movement_speed = 10.0
|
||||
mesh = ExtResource("2_xgnuu")
|
||||
material = ExtResource("1_tmt7w")
|
||||
rules = Array[Script]([ExtResource("3_tmt7w")])
|
||||
metadata/_custom_type_script = "uid://c7dd1y3vdajk5"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue