mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-05-07 05:02:04 +02:00
Simple title screen and level select menu
This commit is contained in:
parent
2e6d30134c
commit
8bfba3f0aa
8 changed files with 225 additions and 46 deletions
scenes
45
scenes/level_select.tscn
Normal file
45
scenes/level_select.tscn
Normal file
|
@ -0,0 +1,45 @@
|
|||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://styles/theme.tres" type="Theme" id=1]
|
||||
[ext_resource path="res://scenes/level_select.gd" type="Script" id=2]
|
||||
|
||||
[node name="LevelSelect" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
theme = ExtResource( 1 )
|
||||
script = ExtResource( 2 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="ScrollContainer" type="ScrollContainer" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="ScrollContainer"]
|
||||
margin_right = 1920.0
|
||||
margin_bottom = 1080.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
custom_constants/margin_right = 600
|
||||
custom_constants/margin_left = 600
|
||||
|
||||
[node name="Levels" type="VBoxContainer" parent="ScrollContainer/MarginContainer"]
|
||||
margin_left = 600.0
|
||||
margin_right = 1320.0
|
||||
margin_bottom = 1080.0
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="Button" type="Button" parent="."]
|
||||
margin_left = 61.0902
|
||||
margin_top = 59.0538
|
||||
margin_right = 126.09
|
||||
margin_bottom = 98.0538
|
||||
text = "Back"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
[connection signal="pressed" from="Button" to="." method="back"]
|
Loading…
Add table
Add a link
Reference in a new issue