online multiplayer chess game (note server currently down)
Diffstat (limited to 'piece/Piece.tscn')
-rw-r--r--piece/Piece.tscn27
1 files changed, 21 insertions, 6 deletions
diff --git a/piece/Piece.tscn b/piece/Piece.tscn
index c9daea2..8bd1839 100644
--- a/piece/Piece.tscn
+++ b/piece/Piece.tscn
@@ -1,8 +1,9 @@
-[gd_scene load_steps=8 format=2]
+[gd_scene load_steps=9 format=2]
[ext_resource path="res://assets/pieces/california/wP.png" type="Texture" id=1]
-[ext_resource path="res://frame.png" type="Texture" id=2]
+[ext_resource path="res://piece/takeable-circle.tres" type="Texture" id=2]
[ext_resource path="res://piece/Piece.gd" type="Script" id=3]
+[ext_resource path="res://piece/check-circle.tres" type="Texture" id=4]
[sub_resource type="Animation" id=1]
resource_name = "Move"
@@ -110,27 +111,41 @@ rect_pivot_offset = Vector2( 40, 40 )
mouse_filter = 2
script = ExtResource( 3 )
-[node name="ColorRect" type="ColorRect" parent="."]
+[node name="Background" type="ColorRect" parent="."]
+unique_name_in_owner = true
visible = false
margin_right = 80.0
margin_bottom = 80.0
mouse_filter = 2
color = Color( 0.0784314, 0.333333, 0.117647, 0.498039 )
+[node name="Check" type="TextureRect" parent="."]
+unique_name_in_owner = true
+visible = false
+margin_right = 80.0
+margin_bottom = 80.0
+mouse_filter = 2
+texture = ExtResource( 4 )
+expand = true
+stretch_mode = 6
+
[node name="Sprite" type="TextureRect" parent="."]
margin_right = 80.0
margin_bottom = 80.0
mouse_filter = 2
texture = ExtResource( 1 )
expand = true
+stretch_mode = 6
-[node name="Frame" type="TextureRect" parent="Sprite"]
+[node name="Frame" type="TextureRect" parent="."]
+unique_name_in_owner = true
visible = false
-anchor_right = 1.0
-anchor_bottom = 1.0
+margin_right = 80.0
+margin_bottom = 80.0
mouse_filter = 2
texture = ExtResource( 2 )
expand = true
+stretch_mode = 6
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/Move = SubResource( 1 )