Added basic jumping

This commit is contained in:
2025-06-20 22:11:48 -07:00
parent 8f7114431c
commit be1608b24f
3 changed files with 4 additions and 3 deletions

View File

@ -59,6 +59,7 @@ class Game is Ready {
var input = Transform.local_vector_to_world(camera, right + left, 0, fore + back) var input = Transform.local_vector_to_world(camera, right + left, 0, fore + back)
input.y = 0 input.y = 0
Math.normalize(input) Math.normalize(input)
input.y = Input.event_began("jump", "game") ? 2 : 0
Character3D.set.input(_player, input) Character3D.set.input(_player, input)
} }

View File

@ -1,5 +1,6 @@
modules = { modules = {
camera = "1.0.6" camera = "1.0.6"
func_luxe = "dev" func_luxe = "dev"
luxe = "2025.6.3" luxe = "2025.6.4"
debug = "dev"
} // modules } // modules

View File

@ -12,8 +12,7 @@ input = {
down = { keys = ["key_s", "down"] } down = { keys = ["key_s", "down"] }
jump = { jump = {
keys = ["key_x", "up", "key_w", "space"] keys = ["space"]
mouse = ["left"]
gamepad = [0] gamepad = [0]
} }
} }