123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- [gd_scene load_steps=10 format=2]
- [ext_resource path="res://icon.png" type="Texture" id=1]
- [ext_resource path="res://labs/cascade/arena1.png" type="Texture" id=2]
- [ext_resource path="res://labs/factory/component/arena/tiny-gray-tiles.png" type="Texture" id=3]
- [ext_resource path="res://menu/button/select/SelectButton.tscn" type="PackedScene" id=4]
- [ext_resource path="res://menu/thumbnail/Thumbnail.gd" type="Script" id=5]
- [ext_resource path="res://menu/button/start/StartButton.gd" type="Script" id=6]
- [ext_resource path="res://labs/cascade/Arena1.tscn" type="PackedScene" id=7]
- [ext_resource path="res://labs/factory/Factory.tscn" type="PackedScene" id=8]
- [ext_resource path="res://debug/TreeNotifier.gd" type="Script" id=9]
- [node name="Menu" type="Control"]
- anchor_right = 1.0
- anchor_bottom = 1.0
- script = ExtResource( 9 )
- [node name="Title" type="Label" parent="."]
- anchor_top = 0.1
- anchor_right = 1.0
- anchor_bottom = 0.1
- text = "Godot Lab"
- align = 1
- __meta__ = {
- "_edit_use_anchors_": false
- }
- [node name="SettingsButton" type="Button" parent="."]
- margin_left = 10.0
- margin_top = 10.0
- margin_right = 12.0
- margin_bottom = 20.0
- text = "Settings"
- [node name="Logo" type="TextureRect" parent="."]
- anchor_left = 0.2
- anchor_top = 0.2
- anchor_right = 0.8
- anchor_bottom = 0.4
- margin_bottom = -10.0
- texture = ExtResource( 1 )
- stretch_mode = 6
- [node name="LabSelector" type="Control" parent="."]
- anchor_top = 0.4
- anchor_right = 0.3
- anchor_bottom = 1.0
- margin_left = 10.0
- margin_top = 10.0
- margin_right = -10.0
- margin_bottom = -10.0
- [node name="Lab1" parent="LabSelector" instance=ExtResource( 4 )]
- text = "Cascade"
- [node name="Lab2" parent="LabSelector" instance=ExtResource( 4 )]
- margin_top = 50.0
- margin_bottom = 80.0
- text = "Factory"
- index = 1
- [node name="LabLauncher" type="Control" parent="."]
- anchor_left = 0.3
- anchor_top = 0.4
- anchor_right = 1.0
- anchor_bottom = 1.0
- margin_left = 10.0
- margin_top = 10.0
- margin_right = -10.0
- margin_bottom = -10.0
- [node name="Thumbnail" type="TextureRect" parent="LabLauncher"]
- anchor_right = 1.0
- anchor_bottom = 1.0
- margin_left = 20.0
- margin_top = 10.0
- margin_right = -20.0
- margin_bottom = -60.0
- texture = ExtResource( 2 )
- stretch_mode = 6
- script = ExtResource( 5 )
- __meta__ = {
- "_edit_use_anchors_": false
- }
- pictures = [ ExtResource( 2 ), ExtResource( 3 ) ]
- [node name="StartButton" type="Button" parent="LabLauncher"]
- anchor_top = 1.0
- anchor_right = 1.0
- anchor_bottom = 1.0
- margin_left = 10.0
- margin_top = -40.0
- margin_right = -10.0
- margin_bottom = -10.0
- text = "Start"
- script = ExtResource( 6 )
- __meta__ = {
- "_edit_use_anchors_": false
- }
- scenes = [ ExtResource( 7 ), ExtResource( 8 ) ]
- [connection signal="lab_selected" from="LabSelector/Lab1" to="LabLauncher/Thumbnail" method="_on_lab_selected"]
- [connection signal="lab_selected" from="LabSelector/Lab1" to="LabLauncher/StartButton" method="_on_lab_selected"]
- [connection signal="lab_selected" from="LabSelector/Lab2" to="LabLauncher/Thumbnail" method="_on_lab_selected"]
- [connection signal="lab_selected" from="LabSelector/Lab2" to="LabLauncher/StartButton" method="_on_lab_selected"]
- [connection signal="pressed" from="LabLauncher/StartButton" to="LabLauncher/StartButton" method="_on_self_pressed"]
|