added phase 1 of gameplay and ui buttons
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://b4ot3p50x08po"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://b4ot3p50x08po"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cuqeg7u667dw6" path="res://Blends/Room/room.gltf" id="1_jjgbg"]
|
||||
[ext_resource type="PackedScene" uid="uid://j06vthscroca" path="res://Scenes/bullet.tscn" id="3_8gbba"]
|
||||
[ext_resource type="PackedScene" uid="uid://bge7npb7b1y6x" path="res://Scenes/revolver.tscn" id="4_jjvhh"]
|
||||
[ext_resource type="Script" uid="uid://dcmqt4341kxem" path="res://Scripts/bullet_stack.gd" id="4_kry3j"]
|
||||
[ext_resource type="PackedScene" uid="uid://bueqdw22nl501" path="res://Scenes/AI.tscn" id="5_kry3j"]
|
||||
[ext_resource type="PackedScene" uid="uid://cbr3e8xsfwyhf" path="res://Scenes/main_game_ui.tscn" id="6_21xkr"]
|
||||
|
||||
[node name="Node3D" type="Node3D"]
|
||||
|
||||
@@ -26,7 +27,7 @@ transform = Transform3D(-0.1, -8.74228e-09, 0, 8.74228e-09, -0.1, 0, 0, 0, 0.1,
|
||||
is_player_revolver = true
|
||||
|
||||
[node name="BulletStack" type="Node3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.09463, 3.35364, -0.941887)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.39969, 3.35364, -0.941887)
|
||||
script = ExtResource("4_kry3j")
|
||||
|
||||
[node name="bullet2" parent="BulletStack" instance=ExtResource("3_8gbba")]
|
||||
@@ -47,10 +48,33 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.126874, -0.00966144, 0.1641
|
||||
[node name="bullet6" parent="BulletStack" instance=ExtResource("3_8gbba")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.300729, -0.0193229, 0.207828)
|
||||
|
||||
[node name="bullet7" parent="BulletStack" instance=ExtResource("3_8gbba")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0812991, -0.0193229, 0.241967)
|
||||
|
||||
[node name="bullet8" parent="BulletStack" instance=ExtResource("3_8gbba")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.000887632, -0.00966144, 0.23783)
|
||||
|
||||
[node name="bullet9" parent="BulletStack" instance=ExtResource("3_8gbba")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.172968, -0.0193229, 0.281501)
|
||||
|
||||
[node name="bullet10" parent="BulletStack" instance=ExtResource("3_8gbba")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.20906, -0.0193229, 0.401988)
|
||||
|
||||
[node name="bullet11" parent="BulletStack" instance=ExtResource("3_8gbba")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.126874, -0.00966144, 0.397851)
|
||||
|
||||
[node name="bullet12" parent="BulletStack" instance=ExtResource("3_8gbba")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.300729, -0.0193229, 0.441522)
|
||||
|
||||
[node name="bullet13" parent="BulletStack" instance=ExtResource("3_8gbba")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.162003, -0.0193229, 0.00827265)
|
||||
|
||||
[node name="person3" parent="." instance=ExtResource("5_kry3j")]
|
||||
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0.0599972, 3.68584, -2.25251)
|
||||
|
||||
[node name="enemy_revolver" parent="." instance=ExtResource("4_jjvhh")]
|
||||
transform = Transform3D(0.1, 0, 0, 0, -0.1, -8.74228e-09, 0, 8.74228e-09, -0.1, 0.354285, 4.2476, -0.496572)
|
||||
|
||||
[node name="MainGame" parent="." instance=ExtResource("6_21xkr")]
|
||||
|
||||
[editable path="revolver"]
|
||||
|
||||
35
Scenes/main_game_ui.tscn
Normal file
35
Scenes/main_game_ui.tscn
Normal 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"
|
||||
Reference in New Issue
Block a user