testing, but also adding player state machine
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
[gd_scene load_steps=37 format=3 uid="uid://drwae3loscbw7"]
|
||||
[gd_scene load_steps=38 format=3 uid="uid://drwae3loscbw7"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bieeh1iro4ji1" path="res://scripts/player.gd" id="1_x7wms"]
|
||||
[ext_resource type="Script" uid="uid://csju024nerln6" path="res://scripts/StateMachine.gd" id="2_irwor"]
|
||||
[ext_resource type="Script" uid="uid://s2nes6cthron" path="res://scripts/recoil.gd" id="3_405jc"]
|
||||
[ext_resource type="Texture2D" uid="uid://cknftvqq8rbrm" path="res://assets/Textures/Cookie_tutorial_texture_flashlight.png" id="4_x670l"]
|
||||
[ext_resource type="PackedScene" uid="uid://dqgtnykkbngem" path="res://assets/weapon_select.tscn" id="5_bvbcl"]
|
||||
@@ -134,6 +135,9 @@ script = ExtResource("1_x7wms")
|
||||
SENSITIVITY = 0.008
|
||||
weapon_holder = NodePath("Head/Recoil/Camera3D/WeaponHolder")
|
||||
|
||||
[node name="States" type="Node" parent="."]
|
||||
script = ExtResource("2_irwor")
|
||||
|
||||
[node name="HealthIndicator" type="ColorRect" parent="."]
|
||||
material = SubResource("CanvasItemMaterial_l5ga0")
|
||||
offset_right = 40.0
|
||||
|
||||
Reference in New Issue
Block a user