midori-school/levels/ui/newgame.tscn

89 lines
2.7 KiB
Text
Raw Normal View History

2024-11-07 21:39:59 +01:00
[gd_scene load_steps=9 format=2]
2024-04-23 00:19:53 +02:00
2024-11-07 21:39:59 +01:00
[ext_resource path="res://backgounds/night-sky-at-ceres.jpg" type="Texture" id=1]
[ext_resource path="res://levels/ui/newgame.gd" type="Script" id=2]
[ext_resource path="res://levels/bottomhud.tscn" type="PackedScene" id=3]
[ext_resource path="res://fonts/button1.tres" type="DynamicFont" id=4]
[ext_resource path="res://fonts/title.tres" type="DynamicFont" id=5]
2024-04-23 00:19:53 +02:00
2024-11-07 21:39:59 +01:00
[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 0, 0.8, 0, 1 )
2024-04-23 00:19:53 +02:00
2024-11-07 21:39:59 +01:00
[sub_resource type="StyleBoxFlat" id=2]
bg_color = Color( 0, 0.8, 0, 1 )
2024-04-23 00:19:53 +02:00
2024-11-07 21:39:59 +01:00
[sub_resource type="StyleBoxFlat" id=3]
bg_color = Color( 0, 0.8, 0, 1 )
2024-04-23 00:19:53 +02:00
2024-05-11 03:35:07 +02:00
[node name="Newgame" type="Control"]
2024-04-23 00:19:53 +02:00
anchor_right = 1.0
anchor_bottom = 1.0
2024-11-07 21:39:59 +01:00
script = ExtResource( 2 )
2024-04-23 00:19:53 +02:00
[node name="Night Sky" type="TextureRect" parent="."]
2024-11-07 21:39:59 +01:00
margin_right = 1280.0
margin_bottom = 720.0
texture = ExtResource( 1 )
2024-04-23 00:19:53 +02:00
[node name="Game name" type="Label" parent="."]
2024-11-07 21:39:59 +01:00
margin_top = 27.0
margin_right = 1280.0
margin_bottom = 157.0
custom_fonts/font = ExtResource( 5 )
2024-04-23 00:19:53 +02:00
text = "BUTTON_START"
2024-11-07 21:39:59 +01:00
align = 1
valign = 1
2024-04-23 00:19:53 +02:00
2024-11-07 21:39:59 +01:00
[node name="Bottomhud" parent="." instance=ExtResource( 3 )]
2024-04-23 00:19:53 +02:00
[node name="VBoxContainer" type="VBoxContainer" parent="."]
2024-11-07 21:39:59 +01:00
margin_left = 254.5
margin_top = 195.0
margin_right = 1036.5
margin_bottom = 711.0
2024-04-23 00:19:53 +02:00
[node name="Noob" type="Button" parent="VBoxContainer"]
2024-11-07 21:39:59 +01:00
margin_right = 785.0
margin_bottom = 100.0
custom_fonts/font = ExtResource( 4 )
custom_styles/focus = SubResource( 1 )
2024-04-23 00:19:53 +02:00
text = "START_NOOB"
[node name="Thisfirst" type="Button" parent="VBoxContainer"]
2024-11-07 21:39:59 +01:00
margin_top = 104.0
margin_right = 785.0
margin_bottom = 204.0
custom_fonts/font = ExtResource( 4 )
custom_styles/focus = SubResource( 2 )
2024-04-23 00:19:53 +02:00
text = "START_THISFIRST"
[node name="Challenge" type="Button" parent="VBoxContainer"]
2024-11-07 21:39:59 +01:00
margin_top = 208.0
margin_right = 785.0
margin_bottom = 308.0
custom_fonts/font = ExtResource( 4 )
custom_styles/focus = SubResource( 2 )
2024-04-23 00:19:53 +02:00
text = "START_CHALLENGE"
[node name="Maniac" type="Button" parent="VBoxContainer"]
2024-11-07 21:39:59 +01:00
margin_top = 312.0
margin_right = 785.0
margin_bottom = 412.0
custom_fonts/font = ExtResource( 4 )
custom_styles/focus = SubResource( 2 )
2024-04-23 00:19:53 +02:00
text = "START_MANIAC"
[node name="Exit" type="Button" parent="VBoxContainer"]
2024-11-07 21:39:59 +01:00
margin_top = 416.0
margin_right = 785.0
margin_bottom = 516.0
custom_fonts/font = ExtResource( 4 )
custom_styles/focus = SubResource( 3 )
2024-04-23 00:19:53 +02:00
text = "BUTTON_RETURN"
[connection signal="pressed" from="VBoxContainer/Noob" to="." method="_on_noob_pressed"]
[connection signal="pressed" from="VBoxContainer/Thisfirst" to="." method="_on_thisfirst_pressed"]
[connection signal="pressed" from="VBoxContainer/Challenge" to="." method="_on_challenge_pressed"]
[connection signal="pressed" from="VBoxContainer/Maniac" to="." method="_on_maniac_pressed"]
[connection signal="pressed" from="VBoxContainer/Exit" to="." method="_on_exit_pressed"]