Init the godot project
- Add a first-view controller and a bunch of things - First shooting implementation - Remove heavy models and clean the project up
This commit is contained in:
31
scenes/utils/Menu.tscn
Normal file
31
scenes/utils/Menu.tscn
Normal file
@ -0,0 +1,31 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://da7ymbxyg7miy"]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/utils/menu.gd" id="1_5mxqd"]
|
||||
|
||||
[node name="Menu" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_5mxqd")
|
||||
|
||||
[node name="Host" type="Button" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = 113.0
|
||||
offset_top = 66.0
|
||||
offset_right = 223.0
|
||||
offset_bottom = 141.0
|
||||
text = "Host"
|
||||
|
||||
[node name="Join" type="Button" parent="."]
|
||||
layout_mode = 0
|
||||
offset_left = 115.0
|
||||
offset_top = 148.0
|
||||
offset_right = 224.0
|
||||
offset_bottom = 220.0
|
||||
text = "Join"
|
||||
|
||||
[connection signal="pressed" from="Host" to="." method="_on_host_pressed"]
|
||||
[connection signal="pressed" from="Join" to="." method="_on_join_pressed"]
|
Reference in New Issue
Block a user