Initial character select implementation
This commit is contained in:
@@ -1,17 +1,7 @@
|
||||
[gd_scene load_steps=7 format=3 uid="uid://b12gq4yqc3d8i"]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://b12gq4yqc3d8i"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/MainMenu.cs" id="1_6aikc"]
|
||||
[ext_resource type="PackedScene" uid="uid://cjl20bs56430j" path="res://UI/Animations/UIAnimations.tscn" id="2_erh7e"]
|
||||
[ext_resource type="Texture2D" uid="uid://haxbuoepqn2b" path="res://UI/LEVEL DROP 1.png" id="3_g1vq2"]
|
||||
[ext_resource type="Texture2D" uid="uid://dieoh0r7a5try" path="res://Textures/Portraits/Pisces.jpg" id="4_sm8v0"]
|
||||
|
||||
[sub_resource type="Animation" id="Animation_ptfpl"]
|
||||
resource_name = "Rollover"
|
||||
|
||||
[sub_resource type="AnimationLibrary" id="AnimationLibrary_05shj"]
|
||||
_data = {
|
||||
"Rollover": SubResource("Animation_ptfpl")
|
||||
}
|
||||
|
||||
[node name="MainMenu" type="Node2D"]
|
||||
script = ExtResource("1_6aikc")
|
||||
@@ -34,57 +24,7 @@ offset_bottom = 645.0
|
||||
text = "Play"
|
||||
|
||||
[node name="UIAnimations" parent="." instance=ExtResource("2_erh7e")]
|
||||
|
||||
[node name="CharacterSelect" type="Control" parent="."]
|
||||
visible = false
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="BG" type="TextureRect" parent="CharacterSelect"]
|
||||
layout_mode = 0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
texture = ExtResource("3_g1vq2")
|
||||
|
||||
[node name="P1_Portrait" type="TextureRect" parent="CharacterSelect"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = 24.0
|
||||
offset_top = 312.0
|
||||
offset_right = 1565.0
|
||||
offset_bottom = 1841.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
scale = Vector2(0.3, 0.3)
|
||||
texture = ExtResource("4_sm8v0")
|
||||
flip_h = true
|
||||
|
||||
[node name="P2_Portrait" type="TextureRect" parent="CharacterSelect"]
|
||||
layout_mode = 1
|
||||
anchors_preset = 6
|
||||
anchor_left = 1.0
|
||||
anchor_top = 0.5
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 0.5
|
||||
offset_left = 1444.0
|
||||
offset_top = 324.0
|
||||
offset_right = 2985.0
|
||||
offset_bottom = 1853.0
|
||||
grow_horizontal = 0
|
||||
grow_vertical = 2
|
||||
scale = Vector2(0.3, 0.3)
|
||||
texture = ExtResource("4_sm8v0")
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="CharacterSelect"]
|
||||
libraries = {
|
||||
"": SubResource("AnimationLibrary_05shj")
|
||||
}
|
||||
|
||||
[connection signal="IntroAnimationsCompleted" from="." to="." method="OnAllAnimationsFinished"]
|
||||
[connection signal="pressed" from="NewGame/Button" to="." method="OnStartButtonPressed"]
|
||||
|
||||
Reference in New Issue
Block a user