-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPowerUpTripleBlue.tscn
More file actions
60 lines (51 loc) · 1.6 KB
/
PowerUpTripleBlue.tscn
File metadata and controls
60 lines (51 loc) · 1.6 KB
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
[gd_scene load_steps=7 format=2]
[ext_resource path="res://powerupBlue_star.png" type="Texture" id=1]
[ext_resource path="res://PowerUpTripleBlue.gd" type="Script" id=2]
[ext_resource path="res://pickup.wav" type="AudioStream" id=3]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 18.5, 18 )
[sub_resource type="Animation" id=2]
length = 0.001
tracks/0/type = "value"
tracks/0/path = NodePath("PowerupBlueStar: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 ),
"transitions": PoolRealArray( 1 ),
"update": 0,
"values": [ -15.0 ]
}
[sub_resource type="Animation" id=3]
resource_name = "swing"
length = 2.0
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("PowerupBlueStar:rotation_degrees")
tracks/0/interp = 2
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": [ -15.0, 15.0, -15.0 ]
}
[node name="PowerUpTripleBlue" type="Area2D"]
collision_layer = 17
script = ExtResource( 2 )
[node name="PowerupBlueStar" type="Sprite" parent="."]
rotation = -0.261799
texture = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( -0.5, 0 )
shape = SubResource( 1 )
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource( 3 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "swing"
anims/RESET = SubResource( 2 )
anims/swing = SubResource( 3 )