basic player movement

This commit is contained in:
Alexey 2025-07-15 20:14:27 +03:00
commit 2ce0a460ac
4 changed files with 58 additions and 7 deletions

View file

@ -11,7 +11,7 @@ config_version=5
[application]
config/name="Revenge of the Red Dragon Pon of the Red Dragon Pon of the Red Dragon Pon"
run/main_scene="uid://bxf4x8hp870i6"
run/main_scene="uid://d23028pr0jahr"
config/features=PackedStringArray("4.4", "Forward Plus")
config/icon="res://icon.svg"
@ -19,6 +19,34 @@ config/icon="res://icon.svg"
project/assembly_name="Revenge of the Red Dragon Pon of the Red Dragon Pon of the Red Dragon Pon"
[input]
move_forward={
"deadzone": 0.2,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":119,"location":0,"echo":false,"script":null)
]
}
move_backward={
"deadzone": 0.2,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":115,"location":0,"echo":false,"script":null)
]
}
move_left={
"deadzone": 0.2,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":97,"location":0,"echo":false,"script":null)
]
}
move_right={
"deadzone": 0.2,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":100,"location":0,"echo":false,"script":null)
]
}
[layer_names]
3d_physics/layer_1="Static Environment"
3d_physics/layer_2="Entities"
[rendering]
textures/canvas_textures/default_texture_filter=0