FPS Controller
This commit is contained in:
18
demo/scenes/system/main_scene.tscn
Normal file
18
demo/scenes/system/main_scene.tscn
Normal file
@@ -0,0 +1,18 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://cr520g4hcfp3l"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cfyv1loyjisg3" path="res://assets/scripts/system/game_manager.gd" id="1_qoi2i"]
|
||||
[ext_resource type="PackedScene" uid="uid://yr0ymw4fpseu" path="res://levels/prototype_level.tscn" id="1_rtgv3"]
|
||||
[ext_resource type="PackedScene" uid="uid://c01rcfr7mrcdx" path="res://scenes/system/user_interface.tscn" id="2_mgb3u"]
|
||||
|
||||
[node name="MainScene" type="Node"]
|
||||
|
||||
[node name="Managers" type="Node" parent="."]
|
||||
|
||||
[node name="GameManager" type="Node" parent="Managers"]
|
||||
script = ExtResource("1_qoi2i")
|
||||
|
||||
[node name="CurrentLevel" type="Node3D" parent="."]
|
||||
|
||||
[node name="PrototypeLevel" parent="CurrentLevel" instance=ExtResource("1_rtgv3")]
|
||||
|
||||
[node name="UserInterface" parent="." instance=ExtResource("2_mgb3u")]
|
||||
17
demo/scenes/system/user_interface.tscn
Normal file
17
demo/scenes/system/user_interface.tscn
Normal file
@@ -0,0 +1,17 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://c01rcfr7mrcdx"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://cx4s1t17mcui2" path="res://scenes/ui/reticle_draw.tscn" id="1_jqr8t"]
|
||||
|
||||
[node name="UserInterface" type="CanvasLayer"]
|
||||
|
||||
[node name="Reticle" type="CenterContainer" parent="."]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="ReticleDraw" parent="Reticle" instance=ExtResource("1_jqr8t")]
|
||||
layout_mode = 2
|
||||
gap_angle = 50.0
|
||||
segments = 1
|
||||
Reference in New Issue
Block a user