added phase 1 of gameplay and ui buttons

This commit is contained in:
Nikolai Fesenko
2025-08-29 14:31:49 +02:00
parent 98dfdfd77e
commit fbd75b3397
25 changed files with 1044 additions and 13 deletions

35
Scenes/main_game_ui.tscn Normal file
View File

@@ -0,0 +1,35 @@
[gd_scene load_steps=2 format=3 uid="uid://cbr3e8xsfwyhf"]
[ext_resource type="Script" uid="uid://2ktulh0d67v0" path="res://Scripts/player_choice_box.gd" id="1_mx1e2"]
[node name="MainGame" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="HBoxContainer" type="HBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -86.5
offset_top = -125.08
offset_right = 86.5
offset_bottom = -94.08
grow_horizontal = 2
grow_vertical = 0
script = ExtResource("1_mx1e2")
[node name="Button" type="Button" parent="HBoxContainer"]
layout_mode = 2
text = "Shoot him
"
[node name="Button2" type="Button" parent="HBoxContainer"]
layout_mode = 2
text = "Shoot me"