You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
105 lines
2.6 KiB
105 lines
2.6 KiB
[gd_scene load_steps=6 format=2] |
|
|
|
[ext_resource path="res://Player.tscn" type="PackedScene" id=1] |
|
[ext_resource path="res://gfx/cursor.png" type="Texture" id=2] |
|
[ext_resource path="res://Block.tscn" type="PackedScene" id=3] |
|
[ext_resource path="res://Game.cs" type="Script" id=4] |
|
[ext_resource path="res://Cursor.cs" type="Script" id=5] |
|
|
|
[node name="Game" type="Node"] |
|
script = ExtResource( 4 ) |
|
Player = ExtResource( 1 ) |
|
Block = ExtResource( 3 ) |
|
|
|
[node name="Cursor" type="Node2D" parent="."] |
|
z_index = 4096 |
|
script = ExtResource( 5 ) |
|
__meta__ = { |
|
"_edit_group_": true |
|
} |
|
|
|
[node name="Sprite" type="Sprite" parent="Cursor"] |
|
texture = ExtResource( 2 ) |
|
|
|
[node name="HUD" type="CanvasLayer" parent="."] |
|
|
|
[node name="Menu" type="CenterContainer" parent="HUD"] |
|
visible = false |
|
anchor_right = 1.0 |
|
anchor_bottom = 1.0 |
|
__meta__ = { |
|
"_edit_use_anchors_": false |
|
} |
|
|
|
[node name="Panel" type="PanelContainer" parent="HUD/Menu"] |
|
margin_left = 633.0 |
|
margin_top = 353.0 |
|
margin_right = 647.0 |
|
margin_bottom = 367.0 |
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="HUD/Menu/Panel"] |
|
margin_left = 7.0 |
|
margin_top = 7.0 |
|
margin_right = 175.0 |
|
margin_bottom = 113.0 |
|
__meta__ = { |
|
"_edit_use_anchors_": false |
|
} |
|
|
|
[node name="Label" type="Label" parent="HUD/Menu/Panel/VBoxContainer"] |
|
margin_right = 168.0 |
|
margin_bottom = 14.0 |
|
text = "Menu" |
|
align = 1 |
|
__meta__ = { |
|
"_edit_use_anchors_": false |
|
} |
|
|
|
[node name="HSeparator" type="HSeparator" parent="HUD/Menu/Panel/VBoxContainer"] |
|
margin_top = 18.0 |
|
margin_right = 168.0 |
|
margin_bottom = 22.0 |
|
|
|
[node name="StartServer" type="Button" parent="HUD/Menu/Panel/VBoxContainer"] |
|
margin_top = 26.0 |
|
margin_right = 168.0 |
|
margin_bottom = 46.0 |
|
text = "Start Server" |
|
__meta__ = { |
|
"_edit_use_anchors_": false |
|
} |
|
|
|
[node name="HBoxContainer2" type="HBoxContainer" parent="HUD/Menu/Panel/VBoxContainer"] |
|
margin_top = 50.0 |
|
margin_right = 168.0 |
|
margin_bottom = 74.0 |
|
|
|
[node name="Address" type="LineEdit" parent="HUD/Menu/Panel/VBoxContainer/HBoxContainer2"] |
|
margin_right = 100.0 |
|
margin_bottom = 24.0 |
|
rect_min_size = Vector2( 100, 0 ) |
|
caret_blink = true |
|
|
|
[node name="Connect" type="Button" parent="HUD/Menu/Panel/VBoxContainer/HBoxContainer2"] |
|
margin_left = 104.0 |
|
margin_right = 168.0 |
|
margin_bottom = 24.0 |
|
text = "Connect" |
|
|
|
[node name="Disconnect" type="Button" parent="HUD/Menu/Panel/VBoxContainer"] |
|
visible = false |
|
margin_top = 78.0 |
|
margin_right = 168.0 |
|
margin_bottom = 98.0 |
|
text = "Disconnect" |
|
|
|
[node name="HSeparator2" type="HSeparator" parent="HUD/Menu/Panel/VBoxContainer"] |
|
margin_top = 78.0 |
|
margin_right = 168.0 |
|
margin_bottom = 82.0 |
|
|
|
[node name="BackToGame" type="Button" parent="HUD/Menu/Panel/VBoxContainer"] |
|
margin_top = 86.0 |
|
margin_right = 168.0 |
|
margin_bottom = 106.0 |
|
text = "Back to Game"
|
|
|