-
Notifications
You must be signed in to change notification settings - Fork 0
/
screen.tscn
104 lines (85 loc) · 2.42 KB
/
screen.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
97
98
99
100
101
102
[gd_scene load_steps=5 format=1]
[ext_resource path="res://screen.gd" type="Script" id=1]
[ext_resource path="res://food.tscn" type="PackedScene" id=2]
[ext_resource path="res://snake.gd" type="Script" id=3]
[ext_resource path="res://font.tres" type="DynamicFont" id=4]
[node name="screen" type="Polygon2D"]
polygon = Vector2Array( -75, -55, 75, -55, 75, 55, -75, 55 )
uv = Vector2Array( )
color = Color( 0.87451, 0.972549, 0.811765, 1 )
vertex_colors = ColorArray( )
offset = Vector2( 0, 0 )
texture/texture = null
texture/offset = Vector2( 0, 0 )
texture/scale = Vector2( 1, 1 )
texture/rotation = 0.0
invert/enable = false
invert/border = 100.0
script/script = ExtResource( 1 )
mirror = null
color_1 = Color( 0.23, 0.49, 0.35, 1 )
color_2 = Color( 0.19, 0.41, 0.31, 1 )
[node name="food" parent="." instance=ExtResource( 2 )]
visibility/visible = false
[node name="ghost" type="Node2D" parent="."]
script/script = ExtResource( 3 )
[node name="snake" type="Node2D" parent="."]
script/script = ExtResource( 3 )
[node name="score" type="Label" parent="."]
focus/ignore_mouse = true
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 0
margin/left = -75.0
margin/top = 55.0
margin/right = 75.0
margin/bottom = 65.0
custom_fonts/font = ExtResource( 4 )
text = "Score: 0"
align = 1
valign = 2
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[node name="bottom" type="Label" parent="."]
focus/ignore_mouse = true
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 0
margin/left = -75.0
margin/top = 65.0
margin/right = 75.0
margin/bottom = 75.0
custom_fonts/font = ExtResource( 4 )
align = 1
valign = 2
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[node name="top" type="Label" parent="."]
focus/ignore_mouse = true
focus/stop_mouse = true
size_flags/horizontal = 2
size_flags/vertical = 0
margin/left = -75.0
margin/top = -65.0
margin/right = 75.0
margin/bottom = -55.0
custom_fonts/font = ExtResource( 4 )
align = 1
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[node name="overlay" type="Polygon2D" parent="."]
visibility/visible = false
polygon = Vector2Array( -75, -55, 75, -55, 75, 55, -75, 55 )
uv = Vector2Array( )
color = Color( 1, 1, 1, 0.6 )
vertex_colors = ColorArray( )
offset = Vector2( 0, 0 )
texture/texture = null
texture/offset = Vector2( 0, 0 )
texture/scale = Vector2( 1, 1 )
texture/rotation = 0.0
invert/enable = false
invert/border = 100.0