added most player movement states and started work on 'on foot'
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
[gd_scene load_steps=38 format=3 uid="uid://drwae3loscbw7"]
|
||||
[gd_scene load_steps=39 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="Script" uid="uid://o7g6oowyn6pe" path="res://scripts/player_on_foot.gd" id="3_ib4e7"]
|
||||
[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"]
|
||||
[ext_resource type="PackedScene" uid="uid://br882tlh3cfwu" path="res://hud.tscn" id="5_yenaw"]
|
||||
@@ -135,8 +136,28 @@ script = ExtResource("1_x7wms")
|
||||
SENSITIVITY = 0.008
|
||||
weapon_holder = NodePath("Head/Recoil/Camera3D/WeaponHolder")
|
||||
|
||||
[node name="States" type="Node" parent="."]
|
||||
[node name="States" type="Node" parent="." node_paths=PackedStringArray("player_character", "initial_state")]
|
||||
script = ExtResource("2_irwor")
|
||||
player_character = NodePath("..")
|
||||
initial_state = NodePath("On Foot")
|
||||
|
||||
[node name="On Foot" type="Node" parent="States"]
|
||||
script = ExtResource("3_ib4e7")
|
||||
metadata/_custom_type_script = "uid://dk0vg5btak80a"
|
||||
|
||||
[node name="Crouched" type="Node" parent="States"]
|
||||
|
||||
[node name="Jumping" type="Node" parent="States"]
|
||||
|
||||
[node name="Wall Running" type="Node" parent="States"]
|
||||
|
||||
[node name="Ground Pound" type="Node" parent="States"]
|
||||
|
||||
[node name="Knocked" type="Node" parent="States"]
|
||||
|
||||
[node name="Stunned" type="Node" parent="States"]
|
||||
|
||||
[node name="On Ladder" type="Node" parent="States"]
|
||||
|
||||
[node name="HealthIndicator" type="ColorRect" parent="."]
|
||||
material = SubResource("CanvasItemMaterial_l5ga0")
|
||||
|
||||
Reference in New Issue
Block a user