This commit is contained in:
zoe 2021-10-18 11:27:04 +02:00
parent e08c2c3ef2
commit 7b67b3aef6
24 changed files with 238 additions and 167 deletions

View file

@ -1,15 +1,19 @@
[gd_scene load_steps=4 format=2]
[gd_scene load_steps=5 format=2]
[ext_resource path="res://Pegs/Yellow/Powerups/Spring/Spring.tscn" type="PackedScene" id=1]
[ext_resource path="res://Pegs/Yellow/Powerups/Spring/Springs.gd" type="Script" id=2]
[sub_resource type="RectangleShape2D" id=1]
[sub_resource type="PhysicsMaterial" id=1]
bounce = 1.0
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 192, 16 )
[node name="Springs" type="StaticBody2D"]
z_index = -24
collision_layer = 8
collision_mask = 0
physics_material_override = SubResource( 1 )
script = ExtResource( 2 )
[node name="Spring" parent="." instance=ExtResource( 1 )]
@ -49,10 +53,10 @@ position = Vector2( 352, 0 )
[node name="CollisionShape2D2" type="CollisionShape2D" parent="."]
position = Vector2( 192, 16 )
shape = SubResource( 1 )
shape = SubResource( 2 )
[node name="DeathTimer" type="Timer" parent="."]
wait_time = 0.24
wait_time = 0.1
one_shot = true
[connection signal="timeout" from="DeathTimer" to="." method="explode"]