Move player character script
This commit is contained in:
parent
dceb654a6b
commit
07415e31c2
|
|
@ -1,7 +1,7 @@
|
||||||
[gd_scene format=3 uid="uid://dwxpt0s7vn36k"]
|
[gd_scene format=3 uid="uid://dwxpt0s7vn36k"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://br1dfd4fltlef" path="res://game/player/StateMachine/player_character.gd" id="1_lg056"]
|
|
||||||
[ext_resource type="PackedScene" uid="uid://b2gh50nogfllj" path="res://game/player/Camera/CameraHolder.tscn" id="1_obar5"]
|
[ext_resource type="PackedScene" uid="uid://b2gh50nogfllj" path="res://game/player/Camera/CameraHolder.tscn" id="1_obar5"]
|
||||||
|
[ext_resource type="Script" uid="uid://br1dfd4fltlef" path="res://game/player/player_character.gd" id="1_pj0hh"]
|
||||||
[ext_resource type="Script" uid="uid://c8vfvcjtsb220" path="res://game/player/InputManagementComponent/InputManagementComponent.gd" id="2_r5dqo"]
|
[ext_resource type="Script" uid="uid://c8vfvcjtsb220" path="res://game/player/InputManagementComponent/InputManagementComponent.gd" id="2_r5dqo"]
|
||||||
[ext_resource type="Script" uid="uid://dy4wrpvpep1jq" path="res://game/player/StateMachine/StateMachine.gd" id="3_o4naa"]
|
[ext_resource type="Script" uid="uid://dy4wrpvpep1jq" path="res://game/player/StateMachine/StateMachine.gd" id="3_o4naa"]
|
||||||
[ext_resource type="Script" uid="uid://bf6hjwfa74ttj" path="res://game/player/StateMachine/IdleState.gd" id="4_38lxl"]
|
[ext_resource type="Script" uid="uid://bf6hjwfa74ttj" path="res://game/player/StateMachine/IdleState.gd" id="4_38lxl"]
|
||||||
|
|
@ -40,7 +40,7 @@ size = Vector3(0.1484375, 0.1640625, 0.907959)
|
||||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_3agn1"]
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_3agn1"]
|
||||||
|
|
||||||
[node name="PlayerCharacter" type="CharacterBody3D" unique_id=1830301535]
|
[node name="PlayerCharacter" type="CharacterBody3D" unique_id=1830301535]
|
||||||
script = ExtResource("1_lg056")
|
script = ExtResource("1_pj0hh")
|
||||||
nb_jumps_in_air_allowed = 0
|
nb_jumps_in_air_allowed = 0
|
||||||
in_air_move_speed = Array[Curve]([SubResource("Curve_kxr4l"), SubResource("Curve_j4mf1")])
|
in_air_move_speed = Array[Curve]([SubResource("Curve_kxr4l"), SubResource("Curve_j4mf1")])
|
||||||
in_air_accel = Array[Curve]([SubResource("Curve_6abew"), SubResource("Curve_mi63v")])
|
in_air_accel = Array[Curve]([SubResource("Curve_6abew"), SubResource("Curve_mi63v")])
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue