-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathFood.tscn
57 lines (47 loc) · 1.59 KB
/
Food.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
[gd_scene load_steps=6 format=2]
[ext_resource path="res://Food.gd" type="Script" id=1]
[ext_resource path="res://assets/triangle_food.png" type="Texture" id=2]
[ext_resource path="res://assets/animations/Appear.tres" type="Animation" id=3]
[ext_resource path="res://assets/audio/appear.ogg" type="AudioStream" id=4]
[sub_resource type="Animation" id=1]
resource_name = "rotate"
length = 2.0
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("Sprite:rotation_degrees")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 1, 2 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ 0.0, 180.0, 360.0 ]
}
[node name="Food" type="Node2D"]
script = ExtResource( 1 )
[node name="Sprite" type="Sprite" parent="."]
rotation = 3.14159
scale = Vector2( 0.8, 0.8 )
texture = ExtResource( 2 )
[node name="SpriteEffect" type="Sprite" parent="."]
self_modulate = Color( 1, 1, 1, 0.833333 )
rotation = 6.28319
scale = Vector2( 1.08333, 1.08333 )
texture = ExtResource( 2 )
[node name="SpriteEffect2" type="Sprite" parent="."]
self_modulate = Color( 1, 1, 1, 0.5 )
rotation = 6.28319
scale = Vector2( 3.12, 3.12 )
texture = ExtResource( 2 )
[node name="SpriteEffect3" type="Sprite" parent="."]
self_modulate = Color( 1, 1, 1, 0.2 )
rotation = 6.28319
scale = Vector2( 1.5, 1.5 )
texture = ExtResource( 2 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/appear = ExtResource( 3 )
anims/rotate = SubResource( 1 )
[node name="Appear" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 4 )