- improving textures
- adding coins (no shop jet) - adding skin changing [no gui jet - fixing loops for deleting stuff]
This commit is contained in:
parent
45193fc27f
commit
dd5b4bcae5
45 changed files with 547 additions and 382 deletions
12
scenes/ui/animation.gd
Normal file
12
scenes/ui/animation.gd
Normal file
|
@ -0,0 +1,12 @@
|
|||
extends AnimationPlayer
|
||||
|
||||
func pop_in():
|
||||
play_backwards("out-in")
|
||||
$"../../../Audio/Gui-in".play()
|
||||
get_parent().show()
|
||||
|
||||
func pop_out():
|
||||
play("out-in")
|
||||
$"../../../Audio/Gui-out".play()
|
||||
await animation_finished
|
||||
get_parent().hide()
|
33
scenes/ui/animation.tscn
Normal file
33
scenes/ui/animation.tscn
Normal file
|
@ -0,0 +1,33 @@
|
|||
[gd_scene load_steps=5 format=3 uid="uid://dm307sj4nenjt"]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/ui/animation.gd" id="1_43757"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_hmob6"]
|
||||
length = 0.001
|
||||
|
||||
[sub_resource type="Animation" id="Animation_wgvxk"]
|
||||
resource_name = "out-in"
|
||||
length = 0.5
|
||||
tracks/0/type = "bezier"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:position:y")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"handle_modes": PackedInt32Array(0, 0, 0),
|
||||
"points": PackedFloat32Array(-67, -0.25, 0, 0.0666667, 0.981804, -56, -0.1, -0.683014, 0.0666667, 1.36603, -250, -0.133333, -1.11485, 0.15, 0),
|
||||
"times": PackedFloat32Array(0, 0.133333, 0.5)
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_ur3ij"]
|
||||
_data = {
|
||||
"RESET": SubResource("Animation_hmob6"),
|
||||
"out-in": SubResource("Animation_wgvxk")
|
||||
}
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer"]
|
||||
libraries = {
|
||||
"": SubResource("AnimationLibrary_ur3ij")
|
||||
}
|
||||
script = ExtResource("1_43757")
|
15
scenes/ui/animation_logo.tscn
Normal file
15
scenes/ui/animation_logo.tscn
Normal file
|
@ -0,0 +1,15 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://yiu5npbi008a"]
|
||||
|
||||
[ext_resource type="Animation" uid="uid://dvpvbkqok645q" path="res://scenes/ui/out-in.res" id="1_mcm38"]
|
||||
[ext_resource type="Script" path="res://scenes/ui/animation.gd" id="1_urjt6"]
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_u5u2i"]
|
||||
_data = {
|
||||
"out-in": ExtResource("1_mcm38")
|
||||
}
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer"]
|
||||
libraries = {
|
||||
"": SubResource("AnimationLibrary_u5u2i")
|
||||
}
|
||||
script = ExtResource("1_urjt6")
|
BIN
scenes/ui/out-in.res
Normal file
BIN
scenes/ui/out-in.res
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue