feature/connect-level-and-reset-btn (#77)

Co-authored-by: VAILLANT Jeremy <vaillant.jeremy@dev-crea.com>
Reviewed-on: Athena/game-source#77
Co-authored-by: darknight <vaillant.jeremy@dev-crea.com>
Co-committed-by: darknight <vaillant.jeremy@dev-crea.com>
This commit is contained in:
darknight
2021-06-06 16:54:38 +02:00
parent d3ded14020
commit 1883355678
19 changed files with 376 additions and 532 deletions
+48 -50
View File
@@ -1,14 +1,46 @@
[gd_scene load_steps=10 format=2]
[gd_scene load_steps=8 format=2]
[ext_resource path="res://assets/ui/themes/UI-Button-ItemsList-first-hover.png" type="Texture" id=1]
[ext_resource path="res://assets/ui/themes/leather.theme" type="Theme" id=2]
[ext_resource path="res://assets/fonts/kirsty/kirsty_base.tres" type="DynamicFont" id=3]
[ext_resource path="res://assets/ui/icones/skull.png" type="Texture" id=4]
[ext_resource path="res://assets/ui/themes/UI-Button-ItemsList.png" type="Texture" id=5]
[ext_resource path="res://assets/ui/themes/UI-Button-ItemsList-last-hover.png" type="Texture" id=6]
[ext_resource path="res://assets/ui/themes/UI-Button-ItemsList-hover.png" type="Texture" id=7]
[ext_resource path="res://assets/ui/themes/UI-Button-ItemsList-last.png" type="Texture" id=8]
[ext_resource path="res://assets/ui/themes/UI-Button-ItemsList-first.png" type="Texture" id=9]
[sub_resource type="Animation" id=2]
resource_name = "ObjectFind"
tracks/0/type = "bezier"
tracks/0/path = NodePath("ListContainer/TextureButtonLast/Label:rect_position:x")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"points": PoolRealArray( 0, -0.25, 0, 0, 78.1, 34.9, -0.25, 0, 0, -66, 12.1, 0, 73.2, 0, -124.8, -41.9, -0.0948485, 109.2, 0.0619706, -58.8, 13.3, -0.187989, 93.6, 0.196425, 104.4, 0, -0.154843, -135.5, 0.25, 0 ),
"times": PoolRealArray( 0, 0.2, 0.4, 0.6, 0.8, 1 )
}
[sub_resource type="Animation" id=1]
resource_name = "ObjectFindAll"
tracks/0/type = "bezier"
tracks/0/path = NodePath("ListContainer/TextureButtonLast:rect_position:x")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"points": PoolRealArray( 0, -0.25, 0, 0.0305311, 190.492, 170, -0.349132, 2.57608, 0.25, 0 ),
"times": PoolRealArray( 0, 1 )
}
tracks/1/type = "bezier"
tracks/1/path = NodePath("ListContainer/TextureButtonLast:rect_position:y")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"points": PoolRealArray( ),
"times": PoolRealArray( )
}
[node name="Control" type="MarginContainer"]
anchor_left = 1.0
@@ -31,54 +63,14 @@ margin_bottom = 900.0
rect_min_size = Vector2( 196, 900 )
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/separation = -10
[node name="TextureButtonFirst" type="TextureButton" parent="ListContainer"]
visible = false
margin_right = 196.0
margin_bottom = 81.0
focus_mode = 0
texture_normal = ExtResource( 9 )
texture_hover = ExtResource( 1 )
texture_focused = ExtResource( 1 )
[node name="Label" type="Label" parent="ListContainer/TextureButtonFirst"]
anchor_right = 1.0
anchor_bottom = 1.0
custom_fonts/font = ExtResource( 3 )
text = "First Entry"
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TextureButtonMiddle" type="TextureButton" parent="ListContainer"]
visible = false
margin_top = 71.0
margin_right = 196.0
margin_bottom = 152.0
focus_mode = 0
texture_normal = ExtResource( 5 )
texture_hover = ExtResource( 7 )
texture_focused = ExtResource( 7 )
[node name="Label" type="Label" parent="ListContainer/TextureButtonMiddle"]
anchor_right = 1.0
anchor_bottom = 1.0
custom_fonts/font = ExtResource( 3 )
text = "Middle"
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
custom_constants/separation = -14
alignment = 1
[node name="TextureButtonLast" type="TextureButton" parent="ListContainer"]
visible = false
margin_top = 142.0
margin_top = 409.0
margin_right = 196.0
margin_bottom = 223.0
margin_bottom = 490.0
focus_mode = 0
texture_normal = ExtResource( 8 )
texture_hover = ExtResource( 6 )
@@ -97,8 +89,10 @@ __meta__ = {
}
[node name="HBoxContainer" type="HBoxContainer" parent="ListContainer"]
visible = false
margin_top = 419.0
margin_right = 196.0
margin_bottom = 128.0
margin_bottom = 547.0
alignment = 1
[node name="TextureButtonIndice" type="TextureButton" parent="ListContainer/HBoxContainer"]
@@ -106,3 +100,7 @@ margin_left = 34.0
margin_right = 162.0
margin_bottom = 128.0
texture_normal = ExtResource( 4 )
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/ObjectFind = SubResource( 2 )
anims/ObjectFindAll = SubResource( 1 )