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
74
scenes/title.tscn
Normal file
74
scenes/title.tscn
Normal file
|
@ -0,0 +1,74 @@
|
|||
[gd_scene load_steps=6 format=2]
|
||||
|
||||
[ext_resource path="res://styles/theme.tres" type="Theme" id=1]
|
||||
[ext_resource path="res://nodes/head.svg" type="Texture" id=2]
|
||||
[ext_resource path="res://scenes/title.gd" type="Script" id=3]
|
||||
[ext_resource path="res://fonts/big.tres" type="DynamicFont" id=4]
|
||||
[ext_resource path="res://fonts/default.tres" type="DynamicFont" id=5]
|
||||
|
||||
[node name="Title" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
theme = ExtResource( 1 )
|
||||
script = ExtResource( 3 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
color = Color( 0, 0, 0, 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
margin_left = 854.463
|
||||
margin_top = 234.592
|
||||
margin_right = 1034.46
|
||||
margin_bottom = 290.592
|
||||
custom_fonts/font = ExtResource( 4 )
|
||||
text = "git-hydra"
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Label2" type="Label" parent="."]
|
||||
margin_left = 774.698
|
||||
margin_top = 297.059
|
||||
margin_right = 1115.7
|
||||
margin_bottom = 353.059
|
||||
custom_fonts/font = ExtResource( 5 )
|
||||
custom_colors/font_color = Color( 0.533333, 0.392157, 0.392157, 1 )
|
||||
text = "by bleeptrack & blinry"
|
||||
align = 1
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="head" type="Sprite" parent="."]
|
||||
position = Vector2( 946.624, 163.148 )
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
margin_left = 772.095
|
||||
margin_top = 394.369
|
||||
margin_right = 1124.09
|
||||
margin_bottom = 577.369
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Button" type="Button" parent="VBoxContainer"]
|
||||
margin_right = 352.0
|
||||
margin_bottom = 39.0
|
||||
text = "Levels"
|
||||
|
||||
[node name="Button2" type="Button" parent="VBoxContainer"]
|
||||
margin_top = 44.0
|
||||
margin_right = 352.0
|
||||
margin_bottom = 83.0
|
||||
text = "Quit"
|
||||
[connection signal="pressed" from="VBoxContainer/Button" to="." method="levels"]
|
||||
[connection signal="pressed" from="VBoxContainer/Button2" to="." method="quit"]
|
Loading…
Add table
Add a link
Reference in a new issue