gui updated
This commit is contained in:
parent
c1f9f61b0c
commit
0c9ea6ed0f
14 changed files with 124 additions and 24 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=11 format=3 uid="uid://cfnmspei3k4p7"]
|
||||
[gd_scene load_steps=14 format=3 uid="uid://cfnmspei3k4p7"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://ky35veswaytr" path="res://scenes/gui/sun_counter.tscn" id="1_le3od"]
|
||||
[ext_resource type="Theme" uid="uid://b8l285cjcgeyi" path="res://resources/GameStyle.tres" id="1_xf6ra"]
|
||||
|
|
@ -18,6 +18,42 @@ texture_margin_right = 4.0
|
|||
texture_margin_bottom = 4.0
|
||||
axis_stretch_horizontal = 1
|
||||
|
||||
[sub_resource type="Animation" id="Animation_ffxdv"]
|
||||
resource_name = "flash"
|
||||
length = 0.3
|
||||
step = 0.1
|
||||
tracks/0/type = "bezier"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:color:a")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"handle_modes": PackedInt32Array(0, 0),
|
||||
"points": PackedFloat32Array(0.25, -0.25, 0, 0, 0.00399721, 0, -0.2, 0.0038315, 0.25, 0),
|
||||
"times": PackedFloat32Array(0, 0.3)
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id="Animation_c8fnk"]
|
||||
length = 0.001
|
||||
tracks/0/type = "bezier"
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/path = NodePath(".:color:a")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/keys = {
|
||||
"handle_modes": PackedInt32Array(0),
|
||||
"points": PackedFloat32Array(0, -0.25, 0, 0.25, 0),
|
||||
"times": PackedFloat32Array(0)
|
||||
}
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_myv2j"]
|
||||
_data = {
|
||||
"RESET": SubResource("Animation_c8fnk"),
|
||||
"flash": SubResource("Animation_ffxdv")
|
||||
}
|
||||
|
||||
[node name="RuntimeGUI" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
|
|
@ -84,8 +120,26 @@ layout_mode = 2
|
|||
size_flags_horizontal = 1
|
||||
size_flags_vertical = 4
|
||||
|
||||
[node name="FastForwardButton" parent="Hotbar" instance=ExtResource("4_66uy4")]
|
||||
[node name="FastForwardButton" parent="Hotbar" node_paths=PackedStringArray("flashAnimator") instance=ExtResource("4_66uy4")]
|
||||
layout_mode = 2
|
||||
flashAnimator = NodePath("../../FastForwardEffect/AnimationPlayer")
|
||||
|
||||
[node name="PauseButton" parent="Hotbar" instance=ExtResource("5_jyq78")]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="FastForwardEffect" type="ColorRect" parent="."]
|
||||
z_index = 1
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
color = Color(0.000150553, 0.938204, 0.707471, 0)
|
||||
metadata/_edit_lock_ = true
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="FastForwardEffect"]
|
||||
libraries = {
|
||||
"": SubResource("AnimationLibrary_myv2j")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue