-
Notifications
You must be signed in to change notification settings - Fork 0
/
game.tscn
62 lines (50 loc) · 1.75 KB
/
game.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
[gd_scene load_steps=7 format=2]
[ext_resource path="res://Victory.tscn" type="PackedScene" id=1]
[ext_resource path="res://Defeat.tscn" type="PackedScene" id=2]
[ext_resource path="res://main.tscn" type="PackedScene" id=3]
[ext_resource path="res://game.gd" type="Script" id=4]
[ext_resource path="res://assets/Start.png" type="Texture" id=5]
[ext_resource path="res://assets/spellbook.png" type="Texture" id=6]
[node name="game" type="Node2D"]
script = ExtResource( 4 )
[node name="main" parent="." instance=ExtResource( 3 )]
z_index = -10
z_as_relative = false
[node name="menu" type="Node2D" parent="."]
z_index = 10
z_as_relative = false
[node name="Victory" parent="menu" instance=ExtResource( 1 )]
[node name="Defeat" parent="menu" instance=ExtResource( 2 )]
visible = false
[node name="banished" type="Label" parent="menu"]
margin_left = 37.0
margin_top = 285.0
margin_right = 170.0
margin_bottom = 299.0
rect_scale = Vector2( 1.5, 1.5 )
text = "Enemies banished: 143"
[node name="Start" type="Sprite" parent="menu"]
scale = Vector2( 0.5, 0.5 )
texture = ExtResource( 5 )
centered = false
[node name="Spellbook" type="Sprite" parent="menu"]
visible = false
scale = Vector2( 0.5, 0.5 )
texture = ExtResource( 6 )
centered = false
[node name="btnAgain" type="Button" parent="menu"]
margin_left = 95.0
margin_top = 354.0
margin_right = 140.0
margin_bottom = 374.0
rect_scale = Vector2( 2, 2 )
text = "again"
[node name="btnEndless" type="Button" parent="menu"]
margin_left = 97.0
margin_top = 420.0
margin_right = 200.0
margin_bottom = 440.0
rect_scale = Vector2( 2, 2 )
text = "endless mode"
[connection signal="pressed" from="menu/btnAgain" to="." method="_on_btnAgain_pressed"]
[connection signal="pressed" from="menu/btnEndless" to="." method="_on_btnEndless_pressed"]