mirror of
https://git.kittycat.homes/zoe/pegchamp.git
synced 2024-08-15 03:15:39 +00:00
added basic level selection menu
This commit is contained in:
parent
8639876921
commit
2637008a33
54 changed files with 756 additions and 32 deletions
|
@ -1,9 +1,13 @@
|
|||
[gd_scene load_steps=6 format=2]
|
||||
[gd_scene load_steps=10 format=2]
|
||||
|
||||
[ext_resource path="res://Menu/MenuPage.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://Menu/Buttons/RestartButton.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://Menu/Theme.tres" type="Theme" id=3]
|
||||
[ext_resource path="res://Menu/WinScreen.gd" type="Script" id=4]
|
||||
[ext_resource path="res://Menu/Buttons/LevelSelectIconButton.tscn" type="PackedScene" id=5]
|
||||
[ext_resource path="res://Menu/Icons/Home/homeIcon1.png" type="Texture" id=6]
|
||||
[ext_resource path="res://Menu/Icons/Home/homeIcon2.png" type="Texture" id=7]
|
||||
[ext_resource path="res://Menu/Icons/Home/homeIcon3.png" type="Texture" id=8]
|
||||
|
||||
[sub_resource type="Animation" id=1]
|
||||
resource_name = "win"
|
||||
|
@ -36,15 +40,25 @@ script = ExtResource( 4 )
|
|||
visible = false
|
||||
|
||||
[node name="GridContainer" parent="Control/Panel/CenterContainer" index="0"]
|
||||
margin_top = 49.0
|
||||
margin_bottom = 103.0
|
||||
margin_top = 55.0
|
||||
margin_bottom = 109.0
|
||||
|
||||
[node name="ButtonRow" parent="Control/Panel/CenterContainer/GridContainer" index="1"]
|
||||
margin_bottom = 54.0
|
||||
|
||||
[node name="RestartButton" parent="Control/Panel/CenterContainer/GridContainer/ButtonRow" index="0" instance=ExtResource( 2 )]
|
||||
margin_left = 9.0
|
||||
margin_right = 41.0
|
||||
margin_bottom = 32.0
|
||||
|
||||
[node name="LevelSelectIconButton" parent="Control/Panel/CenterContainer/GridContainer/ButtonRow" index="1" instance=ExtResource( 5 )]
|
||||
margin_left = 45.0
|
||||
margin_right = 77.0
|
||||
margin_bottom = 32.0
|
||||
texture_normal = ExtResource( 6 )
|
||||
texture_pressed = ExtResource( 8 )
|
||||
texture_hover = ExtResource( 7 )
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="." index="1"]
|
||||
anims/win = SubResource( 1 )
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue