Added basic jumping
This commit is contained in:
@ -59,6 +59,7 @@ class Game is Ready {
|
||||
var input = Transform.local_vector_to_world(camera, right + left, 0, fore + back)
|
||||
input.y = 0
|
||||
Math.normalize(input)
|
||||
input.y = Input.event_began("jump", "game") ? 2 : 0
|
||||
|
||||
Character3D.set.input(_player, input)
|
||||
}
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
modules = {
|
||||
camera = "1.0.6"
|
||||
func_luxe = "dev"
|
||||
luxe = "2025.6.3"
|
||||
luxe = "2025.6.4"
|
||||
debug = "dev"
|
||||
} // modules
|
||||
|
||||
@ -12,8 +12,7 @@ input = {
|
||||
down = { keys = ["key_s", "down"] }
|
||||
|
||||
jump = {
|
||||
keys = ["key_x", "up", "key_w", "space"]
|
||||
mouse = ["left"]
|
||||
keys = ["space"]
|
||||
gamepad = [0]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user