mirror of
https://git.kittycat.homes/zoe/pegchamp.git
synced 2024-08-15 03:15:39 +00:00
added cool animations
This commit is contained in:
parent
77ca16be36
commit
6cb03fda72
41 changed files with 569 additions and 19 deletions
|
|
@ -1,7 +1,22 @@
|
|||
[gd_scene load_steps=2 format=2]
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://Pegs/Yellow/PowerupCards.gd" type="Script" id=1]
|
||||
|
||||
[sub_resource type="Animation" id=1]
|
||||
resource_name = "Flyin"
|
||||
length = 0.5
|
||||
step = 0.01
|
||||
tracks/0/type = "bezier"
|
||||
tracks/0/path = NodePath("CenterContainer:rect_position:y")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/keys = {
|
||||
"points": PoolRealArray( 300, -0.25, 0, 0.25, 0, 0, -0.25, 0, 0.25, 0 ),
|
||||
"times": PoolRealArray( 0, 0.5 )
|
||||
}
|
||||
|
||||
[node name="PowerupCards" type="Node2D"]
|
||||
pause_mode = 2
|
||||
script = ExtResource( 1 )
|
||||
|
|
@ -11,6 +26,8 @@ script = ExtResource( 1 )
|
|||
[node name="CenterContainer" type="CenterContainer" parent="CanvasLayer"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_top = 50.0
|
||||
margin_bottom = 50.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
|
@ -23,3 +40,6 @@ margin_bottom = 108.0
|
|||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="CanvasLayer"]
|
||||
anims/Flyin = SubResource( 1 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue