-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathOrder.tscn
70 lines (60 loc) · 1.91 KB
/
Order.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
[gd_scene load_steps=11 format=2]
[ext_resource path="res://block_sprite.tscn" type="PackedScene" id=1]
[ext_resource path="res://OrderBlock.gd" type="Script" id=2]
[ext_resource path="res://assets/fonts/Xolonium-Regular.ttf" type="DynamicFontData" id=3]
[ext_resource path="res://Clock.tscn" type="PackedScene" id=4]
[ext_resource path="res://assets/postit2.png" type="Texture" id=5]
[ext_resource path="res://assets/postit1.png" type="Texture" id=6]
[ext_resource path="res://assets/postit3.png" type="Texture" id=7]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 226.42, 11.7046 )
[sub_resource type="DynamicFont" id=2]
size = 64
font_data = ExtResource( 3 )
[sub_resource type="SpriteFrames" id=3]
animations = [ {
"frames": [ ExtResource( 7 ) ],
"loop": true,
"name": "3",
"speed": 5.0
}, {
"frames": [ ExtResource( 5 ) ],
"loop": true,
"name": "2",
"speed": 5.0
}, {
"frames": [ ExtResource( 6 ) ],
"loop": true,
"name": "1",
"speed": 5.0
} ]
[node name="OrderBlock" type="Area2D"]
collision_layer = 2
script = ExtResource( 2 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 1 )
[node name="Serve" type="Button" parent="."]
margin_left = -103.238
margin_top = 145.664
margin_right = 105.762
margin_bottom = 229.664
custom_fonts/font = SubResource( 2 )
text = "Serve"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Clock" parent="." instance=ExtResource( 4 )]
position = Vector2( -41.0122, -152.736 )
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
position = Vector2( -2.57134, -3.8147e-06 )
scale = Vector2( 2, 2 )
z_index = -1
frames = SubResource( 3 )
animation = "3"
__meta__ = {
"_edit_lock_": true
}
[node name="Sprite" parent="." instance=ExtResource( 1 )]
position = Vector2( -0.300686, 32.1421 )
[connection signal="pressed" from="Serve" to="." method="_on_Serve_pressed"]
[connection signal="timer_done" from="Clock" to="." method="_on_Clock_timer_done"]