mirror of
https://git.kittycat.homes/zoe/pegchamp.git
synced 2024-08-15 03:15:39 +00:00
added springs
This commit is contained in:
parent
62762082f7
commit
e08c2c3ef2
19 changed files with 201 additions and 16 deletions
30
Pegs/Yellow/Powerups/Spring/Spring.tscn
Normal file
30
Pegs/Yellow/Powerups/Spring/Spring.tscn
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
[gd_scene load_steps=4 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]
|
||||
|
||||
[sub_resource type="Animation" id=1]
|
||||
resource_name = "Spring"
|
||||
step = 0.01
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath(".:frame")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/keys = {
|
||||
"times": PoolRealArray( 0, 0.01, 0.02, 0.03, 0.04, 0.05, 0.06 ),
|
||||
"transitions": PoolRealArray( 1, 1, 1, 1, 1, 1, 1 ),
|
||||
"update": 1,
|
||||
"values": [ 0, 4, 6, 8, 6, 2, 0 ]
|
||||
}
|
||||
|
||||
[node name="Sprite" type="Sprite"]
|
||||
texture = ExtResource( 1 )
|
||||
centered = false
|
||||
hframes = 9
|
||||
region_rect = Rect2( 0, 0, 32, 32 )
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
anims/Spring = SubResource( 1 )
|
||||
Loading…
Add table
Add a link
Reference in a new issue