1- [gd_scene load_steps =8 format =3 uid ="uid://dct70tba5rujv" ]
1+ [gd_scene load_steps =11 format =3 uid ="uid://dct70tba5rujv" ]
22
33[ext_resource type ="Script" path ="res://Scripts/CardManager.gd" id ="1_5kc25" ]
44[ext_resource type ="Script" path ="res://Scripts/PlayerHand.gd" id ="2_7tv27" ]
55[ext_resource type ="PackedScene" uid ="uid://cmc8cw3l15t6n" path ="res://Scenes/CardSlot.tscn" id ="3_vek35" ]
66[ext_resource type ="Script" path ="res://Scripts/Deck.gd" id ="4_0mr2l" ]
77[ext_resource type ="Texture2D" uid ="uid://goc4ty4ti1m5" path ="res://Assets/Deck.png" id ="5_novla" ]
88[ext_resource type ="Script" path ="res://Scripts/InputManager.gd" id ="6_t7lv7" ]
9+ [ext_resource type ="Script" path ="res://Scripts/CardSlotOfMonster.gd" id ="7_ydkw1" ]
10+ [ext_resource type ="Script" path ="res://Scripts/CardSlotOfMagic.gd" id ="8_s06at" ]
11+ [ext_resource type ="PackedScene" uid ="uid://gdxppdo86l20" path ="res://Scenes/EnemyCardSlot.tscn" id ="9_qt82k" ]
912
1013[sub_resource type ="RectangleShape2D" id ="RectangleShape2D_4th8u" ]
1114size = Vector2 (249 , 350 )
@@ -19,7 +22,8 @@ script = ExtResource("1_5kc25")
1922script = ExtResource ("2_7tv27" )
2023
2124[node name ="Deck" type ="Node2D" parent ="." ]
22- position = Vector2 (150 , 890 )
25+ position = Vector2 (140 , 955 )
26+ scale = Vector2 (0.6 , 0.6 )
2327script = ExtResource ("4_0mr2l" )
2428
2529[node name ="Sprite2D" type ="Sprite2D" parent ="Deck" ]
@@ -47,8 +51,119 @@ text = "0"
4751[node name ="InputManager" type ="Node2D" parent ="." ]
4852script = ExtResource ("6_t7lv7" )
4953
50- [node name ="CardSlot" parent ="." instance =ExtResource ("3_vek35" )]
51- position = Vector2 (200 , 265 )
54+ [node name ="CardSlots" type ="Node2D" parent ="." ]
5255
53- [node name ="CardSlot2" parent ="." instance =ExtResource ("3_vek35" )]
54- position = Vector2 (538 , 270 )
56+ [node name ="CardSlot" parent ="CardSlots" instance =ExtResource ("3_vek35" )]
57+ z_index = -2
58+ position = Vector2 (960 , 570 )
59+ scale = Vector2 (0.5 , 0.5 )
60+ script = ExtResource ("7_ydkw1" )
61+
62+ [node name ="CardSlot2" parent ="CardSlots" instance =ExtResource ("3_vek35" )]
63+ z_index = -2
64+ position = Vector2 (1100 , 570 )
65+ scale = Vector2 (0.5 , 0.5 )
66+ script = ExtResource ("7_ydkw1" )
67+
68+ [node name ="CardSlot3" parent ="CardSlots" instance =ExtResource ("3_vek35" )]
69+ z_index = -2
70+ position = Vector2 (1240 , 570 )
71+ scale = Vector2 (0.5 , 0.5 )
72+ script = ExtResource ("7_ydkw1" )
73+
74+ [node name ="CardSlot4" parent ="CardSlots" instance =ExtResource ("3_vek35" )]
75+ z_index = -2
76+ position = Vector2 (820 , 570 )
77+ scale = Vector2 (0.5 , 0.5 )
78+ script = ExtResource ("7_ydkw1" )
79+
80+ [node name ="CardSlot5" parent ="CardSlots" instance =ExtResource ("3_vek35" )]
81+ z_index = -2
82+ position = Vector2 (680 , 570 )
83+ scale = Vector2 (0.5 , 0.5 )
84+ script = ExtResource ("7_ydkw1" )
85+
86+ [node name ="CardSlot6" parent ="CardSlots" instance =ExtResource ("3_vek35" )]
87+ z_index = -2
88+ position = Vector2 (960 , 750 )
89+ scale = Vector2 (0.5 , 0.5 )
90+ script = ExtResource ("8_s06at" )
91+
92+ [node name ="CardSlot7" parent ="CardSlots" instance =ExtResource ("3_vek35" )]
93+ z_index = -2
94+ position = Vector2 (1100 , 750 )
95+ scale = Vector2 (0.5 , 0.5 )
96+ script = ExtResource ("8_s06at" )
97+
98+ [node name ="CardSlot8" parent ="CardSlots" instance =ExtResource ("3_vek35" )]
99+ z_index = -2
100+ position = Vector2 (1240 , 750 )
101+ scale = Vector2 (0.5 , 0.5 )
102+ script = ExtResource ("8_s06at" )
103+
104+ [node name ="CardSlot9" parent ="CardSlots" instance =ExtResource ("3_vek35" )]
105+ z_index = -2
106+ position = Vector2 (820 , 750 )
107+ scale = Vector2 (0.5 , 0.5 )
108+ script = ExtResource ("8_s06at" )
109+
110+ [node name ="CardSlot10" parent ="CardSlots" instance =ExtResource ("3_vek35" )]
111+ z_index = -2
112+ position = Vector2 (680 , 750 )
113+ scale = Vector2 (0.5 , 0.5 )
114+ script = ExtResource ("8_s06at" )
115+
116+ [node name ="EnemyCardSlot" parent ="CardSlots" instance =ExtResource ("9_qt82k" )]
117+ position = Vector2 (960 , 360 )
118+ scale = Vector2 (0.5 , 0.5 )
119+
120+ [node name ="EnemyCardSlot2" parent ="CardSlots" instance =ExtResource ("9_qt82k" )]
121+ position = Vector2 (1100 , 360 )
122+ scale = Vector2 (0.5 , 0.5 )
123+
124+ [node name ="EnemyCardSlot3" parent ="CardSlots" instance =ExtResource ("9_qt82k" )]
125+ position = Vector2 (1240 , 360 )
126+ scale = Vector2 (0.5 , 0.5 )
127+
128+ [node name ="EnemyCardSlot4" parent ="CardSlots" instance =ExtResource ("9_qt82k" )]
129+ position = Vector2 (820 , 360 )
130+ scale = Vector2 (0.5 , 0.5 )
131+
132+ [node name ="EnemyCardSlot5" parent ="CardSlots" instance =ExtResource ("9_qt82k" )]
133+ position = Vector2 (680 , 360 )
134+ scale = Vector2 (0.5 , 0.5 )
135+
136+ [node name ="EnemyCardSlot6" parent ="CardSlots" instance =ExtResource ("9_qt82k" )]
137+ position = Vector2 (960 , 180 )
138+ scale = Vector2 (0.5 , 0.5 )
139+
140+ [node name ="EnemyCardSlot7" parent ="CardSlots" instance =ExtResource ("9_qt82k" )]
141+ position = Vector2 (1100 , 180 )
142+ scale = Vector2 (0.5 , 0.5 )
143+
144+ [node name ="EnemyCardSlot8" parent ="CardSlots" instance =ExtResource ("9_qt82k" )]
145+ position = Vector2 (1240 , 180 )
146+ scale = Vector2 (0.5 , 0.5 )
147+
148+ [node name ="EnemyCardSlot9" parent ="CardSlots" instance =ExtResource ("9_qt82k" )]
149+ position = Vector2 (820 , 180 )
150+ scale = Vector2 (0.5 , 0.5 )
151+
152+ [node name ="EnemyCardSlot10" parent ="CardSlots" instance =ExtResource ("9_qt82k" )]
153+ position = Vector2 (680 , 180 )
154+ scale = Vector2 (0.5 , 0.5 )
155+
156+ [node name ="EndTurnButton" type ="Button" parent ="." ]
157+ offset_left = 300.0
158+ offset_top = 570.0
159+ offset_right = 378.0
160+ offset_bottom = 601.0
161+ text = "End Turn"
162+
163+ [node name ="OpponentDeck" type ="Node2D" parent ="." ]
164+ position = Vector2 (1780 , 125 )
165+ scale = Vector2 (0.6 , 0.6 )
166+
167+ [node name ="Sprite2D" type ="Sprite2D" parent ="OpponentDeck" ]
168+ z_index = -2
169+ texture = ExtResource ("5_novla" )
0 commit comments