-
Notifications
You must be signed in to change notification settings - Fork 11
/
main_menu.tscn
81 lines (63 loc) · 2.1 KB
/
main_menu.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
[gd_scene load_steps=8 format=1]
[ext_resource path="res://main_menu.gd" type="Script" id=1]
[ext_resource path="res://assets/bg/bg_2.png" type="Texture" id=2]
[ext_resource path="res://assets/fonts/amaranth_128_black.fnt" type="BitmapFont" id=3]
[ext_resource path="res://assets/misc/main_menu.png" type="Texture" id=4]
[ext_resource path="res://assets/icons/attack.png" type="Texture" id=5]
[ext_resource path="res://assets/misc/logo.png" type="Texture" id=6]
[ext_resource path="res://assets/fonts/amaranth_32_real_black.fnt" type="BitmapFont" id=7]
[node name="main_menu" type="Node2D"]
script/script = ExtResource( 1 )
[node name="bg" type="Sprite" parent="."]
transform/pos = Vector2( 640, 360 )
texture = ExtResource( 2 )
[node name="high_score" type="Label" parent="."]
focus/ignore_mouse = true
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 0
margin/left = 845.0
margin/top = 35.0
margin/right = 1221.0
margin/bottom = 172.0
custom_fonts/font = ExtResource( 3 )
text = "0"
align = 2
valign = 1
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[node name="mighty_knight" type="Sprite" parent="."]
transform/pos = Vector2( 248.117, 340.391 )
texture = ExtResource( 4 )
[node name="play" type="TextureButton" parent="."]
focus/ignore_mouse = false
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 2
margin/left = 1112.0
margin/top = 552.0
margin/right = 1240.0
margin/bottom = 680.0
toggle_mode = false
enabled_focus_mode = 2
shortcut = null
textures/normal = ExtResource( 5 )
[node name="logo" type="Sprite" parent="."]
transform/pos = Vector2( 801.765, 385.503 )
texture = ExtResource( 6 )
[node name="Label" type="Label" parent="."]
focus/ignore_mouse = true
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 0
margin/left = 605.0
margin/top = 562.0
margin/right = 878.0
margin/bottom = 670.0
custom_fonts/font = ExtResource( 7 )
text = "For Desktop:\nJump - Arrow Up\nAttack - Left CTRL"
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[connection signal="button_down" from="play" to="." method="_on_play_button_down"]