chess-game/Resources/Pieces/rook.tres
francis 026d634c3a pieces can rotate while moving
whe can color pieces dynamically

pieces have collider and can kill each other
2026-03-06 22:46:34 +01:00

12 lines
603 B
Text
Executable file

[gd_resource type="Resource" script_class="PieceRes" format=3 uid="uid://cso00cln3awgu"]
[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"]
[resource]
script = ExtResource("3_e38o2")
movement_speed = 10.0
mesh = ExtResource("2_xgnuu")
rules = Array[Script]([ExtResource("3_tmt7w")])
metadata/_custom_type_script = "uid://c7dd1y3vdajk5"