New features and plenty of code still in testing. This includes a level select, basic inventory, and a basic HUD.
This commit is contained in:
74
GUI/Level Select Menu.tscn
Normal file
74
GUI/Level Select Menu.tscn
Normal file
@@ -0,0 +1,74 @@
|
||||
[gd_scene load_steps=8 format=2]
|
||||
|
||||
[ext_resource path="res://Levels/Level_3_Button_Normal.png" type="Texture" id=1]
|
||||
[ext_resource path="res://Levels/Level_1_Button_Normal.png" type="Texture" id=2]
|
||||
[ext_resource path="res://Levels/Level_4_Button_Normal.png" type="Texture" id=3]
|
||||
[ext_resource path="res://Levels/Level_2_Button_Normal.png" type="Texture" id=4]
|
||||
[ext_resource path="res://Levels/Level_5_Button_Normal.png" type="Texture" id=5]
|
||||
[ext_resource path="res://Levels/Hub_World_Button_Normal.png" type="Texture" id=6]
|
||||
[ext_resource path="res://GUI/Level Select Menu.gd" type="Script" id=7]
|
||||
|
||||
[node name="Level Select Menu" type="Node"]
|
||||
script = ExtResource( 7 )
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="."]
|
||||
margin_left = 10.0
|
||||
margin_top = 10.0
|
||||
margin_right = 310.0
|
||||
margin_bottom = 170.0
|
||||
rect_min_size = Vector2( 300, 160 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="CenterContainer" type="CenterContainer" parent="MarginContainer"]
|
||||
margin_right = 300.0
|
||||
margin_bottom = 160.0
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/CenterContainer"]
|
||||
margin_left = 20.0
|
||||
margin_top = 60.0
|
||||
margin_right = 280.0
|
||||
margin_bottom = 100.0
|
||||
|
||||
[node name="Hub World" type="TextureButton" parent="MarginContainer/CenterContainer/HBoxContainer"]
|
||||
margin_right = 40.0
|
||||
margin_bottom = 40.0
|
||||
texture_normal = ExtResource( 6 )
|
||||
|
||||
[node name="Level 1" type="TextureButton" parent="MarginContainer/CenterContainer/HBoxContainer"]
|
||||
margin_left = 44.0
|
||||
margin_right = 84.0
|
||||
margin_bottom = 40.0
|
||||
texture_normal = ExtResource( 2 )
|
||||
|
||||
[node name="Level 2" type="TextureButton" parent="MarginContainer/CenterContainer/HBoxContainer"]
|
||||
margin_left = 88.0
|
||||
margin_right = 128.0
|
||||
margin_bottom = 40.0
|
||||
texture_normal = ExtResource( 4 )
|
||||
|
||||
[node name="Level 3" type="TextureButton" parent="MarginContainer/CenterContainer/HBoxContainer"]
|
||||
margin_left = 132.0
|
||||
margin_right = 172.0
|
||||
margin_bottom = 40.0
|
||||
texture_normal = ExtResource( 1 )
|
||||
|
||||
[node name="Level 4" type="TextureButton" parent="MarginContainer/CenterContainer/HBoxContainer"]
|
||||
margin_left = 176.0
|
||||
margin_right = 216.0
|
||||
margin_bottom = 40.0
|
||||
texture_normal = ExtResource( 3 )
|
||||
|
||||
[node name="Level 5" type="TextureButton" parent="MarginContainer/CenterContainer/HBoxContainer"]
|
||||
margin_left = 220.0
|
||||
margin_right = 260.0
|
||||
margin_bottom = 40.0
|
||||
texture_normal = ExtResource( 5 )
|
||||
|
||||
[connection signal="pressed" from="MarginContainer/CenterContainer/HBoxContainer/Hub World" to="." method="_on_hub_world_button_pressed"]
|
||||
[connection signal="pressed" from="MarginContainer/CenterContainer/HBoxContainer/Level 1" to="." method="_on_level_1_button_pressed"]
|
||||
[connection signal="pressed" from="MarginContainer/CenterContainer/HBoxContainer/Level 2" to="." method="_on_level_2_button_pressed"]
|
||||
[connection signal="pressed" from="MarginContainer/CenterContainer/HBoxContainer/Level 3" to="." method="_on_level_3_button_pressed"]
|
||||
[connection signal="pressed" from="MarginContainer/CenterContainer/HBoxContainer/Level 4" to="." method="_on_level_4_button_pressed"]
|
||||
[connection signal="pressed" from="MarginContainer/CenterContainer/HBoxContainer/Level 5" to="." method="_on_level_5_button_pressed"]
|
Reference in New Issue
Block a user