mirror of
https://git.kittycat.homes/zoe/pegchamp.git
synced 2024-08-15 03:15:39 +00:00
more sfx
This commit is contained in:
parent
e08c2c3ef2
commit
7b67b3aef6
24 changed files with 238 additions and 167 deletions
|
|
@ -1,7 +1,39 @@
|
|||
[gd_scene load_steps=4 format=2]
|
||||
[gd_scene load_steps=6 format=2]
|
||||
|
||||
[ext_resource path="res://Pegs/Yellow/Powerups/Spring/spring-Sheet.png" type="Texture" id=1]
|
||||
[ext_resource path="res://Pegs/Yellow/Powerups/Spring/Spring.gd" type="Script" id=2]
|
||||
[ext_resource path="res://SFX/popup.wav" type="AudioStream" id=3]
|
||||
|
||||
[sub_resource type="Animation" id=2]
|
||||
resource_name = "Spawn"
|
||||
length = 0.25
|
||||
step = 0.025
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath(".:offset")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/keys = {
|
||||
"times": PoolRealArray( 0, 0.25 ),
|
||||
"transitions": PoolRealArray( 1, 1 ),
|
||||
"update": 0,
|
||||
"values": [ Vector2( 0, 32 ), Vector2( 0, 0 ) ]
|
||||
}
|
||||
tracks/1/type = "audio"
|
||||
tracks/1/path = NodePath("AudioStreamPlayer2D")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/keys = {
|
||||
"clips": [ {
|
||||
"end_offset": 0.0,
|
||||
"start_offset": 0.0,
|
||||
"stream": ExtResource( 3 )
|
||||
} ],
|
||||
"times": PoolRealArray( 0 )
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id=1]
|
||||
resource_name = "Spring"
|
||||
|
|
@ -22,9 +54,15 @@ tracks/0/keys = {
|
|||
[node name="Sprite" type="Sprite"]
|
||||
texture = ExtResource( 1 )
|
||||
centered = false
|
||||
offset = Vector2( 0, 32 )
|
||||
hframes = 9
|
||||
region_rect = Rect2( 0, 0, 32, 32 )
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
anims/Spawn = SubResource( 2 )
|
||||
anims/Spring = SubResource( 1 )
|
||||
|
||||
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
|
||||
stream = ExtResource( 3 )
|
||||
bus = "SFX"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue