-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFirstBossDeck.tscn
96 lines (73 loc) · 3.31 KB
/
FirstBossDeck.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[gd_scene load_steps=7 format=3 uid="uid://c3ryqv3jusim8"]
[ext_resource type="Script" path="res://Code/enemy_deck.gd" id="1_5nlm4"]
[ext_resource type="Script" path="res://Code/EnemyPlayPlace.gd" id="3_0xegd"]
[ext_resource type="Script" path="res://Code/BossAi.gd" id="4_ut5xn"]
[ext_resource type="Theme" uid="uid://bphefhuacy6kd" path="res://Fonts/MainTheme.tres" id="5_jbvlb"]
[ext_resource type="PackedScene" uid="uid://dd4iily4vpu7r" path="res://CardHolder1.tscn" id="6_as26m"]
[ext_resource type="Script" path="res://Code/StealCardBoss.gd" id="6_y5pe1"]
[node name="EnemyDeck" type="Node2D"]
position = Vector2(980, 568)
rotation = 3.14159
script = ExtResource("1_5nlm4")
[node name="CardsInPlayPlace" type="Node2D" parent="." groups=["BossCardPlaces"]]
position = Vector2(171, 255)
scale = Vector2(0.5, 0.5)
script = ExtResource("3_0xegd")
[node name="Card1" type="Marker2D" parent="CardsInPlayPlace"]
position = Vector2(200, 512)
[node name="Card2" type="Marker2D" parent="CardsInPlayPlace"]
position = Vector2(300, 512)
[node name="Card3" type="Marker2D" parent="CardsInPlayPlace"]
position = Vector2(400, 512)
[node name="Card4" type="Marker2D" parent="CardsInPlayPlace"]
position = Vector2(500, 512)
[node name="Card5" type="Marker2D" parent="CardsInPlayPlace"]
position = Vector2(600, 512)
[node name="Card6" type="Marker2D" parent="CardsInPlayPlace"]
position = Vector2(700, 512)
[node name="Card7" type="Marker2D" parent="CardsInPlayPlace"]
position = Vector2(800, 512)
[node name="Card8" type="Marker2D" parent="CardsInPlayPlace"]
position = Vector2(900, 512)
[node name="Card9" type="Marker2D" parent="CardsInPlayPlace"]
position = Vector2(1000, 512)
[node name="Card10" type="Marker2D" parent="CardsInPlayPlace"]
position = Vector2(1100, 512)
[node name="CardsInHandHolder" type="Node2D" parent="."]
position = Vector2(-467.001, 425.999)
scale = Vector2(0.5, 0.5)
script = ExtResource("4_ut5xn")
NumberOfCardsBeingPlayed = [3, 5, 2, 4, 5, 1]
[node name="UseArea" type="Marker2D" parent="."]
position = Vector2(1011, 157.003)
[node name="DeckArea" type="Marker2D" parent="."]
position = Vector2(-470.001, 425.999)
[node name="DeckAmount" type="Label" parent="."]
offset_top = 409.0
offset_right = 92.0
offset_bottom = 539.0
theme = ExtResource("5_jbvlb")
text = "10"
horizontal_alignment = 1
vertical_alignment = 1
metadata/_edit_use_anchors_ = true
[node name="Button" type="Button" parent="."]
visible = false
offset_left = 198.999
offset_top = 493.0
offset_right = 246.999
offset_bottom = 524.0
text = "draw"
metadata/_edit_use_anchors_ = true
[node name="StealCardBoss" type="Node2D" parent="." groups=["StealCardBoss"]]
script = ExtResource("6_y5pe1")
[node name="Timer" type="Timer" parent="."]
[node name="Timer2" type="Timer" parent="."]
one_shot = true
[node name="CardHolder" parent="." instance=ExtResource("6_as26m")]
[connection signal="OnDraw" from="." to="CardsInPlayPlace" method="_on_players_deck_on_draw"]
[connection signal="StartThisUnitTurn" from="." to="CardsInHandHolder" method="FindCardstoUse"]
[connection signal="EndTurn" from="CardsInHandHolder" to="." method="EndTurn"]
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]
[connection signal="timeout" from="Timer" to="CardsInHandHolder" method="_on_timer_timeout"]
[connection signal="timeout" from="Timer2" to="." method="_on_timer_2_timeout"]