From be1608b24f195249463b40f87991e0602a524caa Mon Sep 17 00:00:00 2001 From: Brody Brooks Date: Fri, 20 Jun 2025 22:11:48 -0700 Subject: [PATCH] Added basic jumping --- game.wren | 1 + luxe.project/modules.lx | 3 ++- outline/inputs.input.lx | 3 +-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/game.wren b/game.wren index 847c8fd..8ccac49 100644 --- a/game.wren +++ b/game.wren @@ -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) } diff --git a/luxe.project/modules.lx b/luxe.project/modules.lx index 20e7e79..c361d81 100644 --- a/luxe.project/modules.lx +++ b/luxe.project/modules.lx @@ -1,5 +1,6 @@ modules = { camera = "1.0.6" func_luxe = "dev" - luxe = "2025.6.3" + luxe = "2025.6.4" + debug = "dev" } // modules diff --git a/outline/inputs.input.lx b/outline/inputs.input.lx index 54cfcec..2643a2c 100644 --- a/outline/inputs.input.lx +++ b/outline/inputs.input.lx @@ -12,8 +12,7 @@ input = { down = { keys = ["key_s", "down"] } jump = { - keys = ["key_x", "up", "key_w", "space"] - mouse = ["left"] + keys = ["space"] gamepad = [0] } }