diff options
| author | iamcheeseman <[email protected]> | 2026-03-13 19:42:48 -0400 |
|---|---|---|
| committer | iamcheeseman <[email protected]> | 2026-03-13 19:42:48 -0400 |
| commit | e09caf3cf41ac3e3ea7ec252a21a7ac5b7fbb52c (patch) | |
| tree | 7053899ad3c29d1483661af224bb3edb8c48b9cb /src/init.lua | |
| parent | 6d5e3252b51b096f88945cdb77f46d1128801d1f (diff) | |
Side scrolling controller
Diffstat (limited to 'src/init.lua')
| -rw-r--r-- | src/init.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/init.lua b/src/init.lua index 246147a..18299fd 100644 --- a/src/init.lua +++ b/src/init.lua @@ -10,12 +10,13 @@ require "src.room_editor" SCR_WIDTH = 320 SCR_HEIGHT = 180 +GRAVITY = 1000 +TERMINAL_VELOCITY = 900 WindowScale = 1 register_input("Left", {{"key", "left"}, {"key", "a"}}) register_input("Right", {{"key", "right"}, {"key", "d"}}) -register_input("Down", {{"key", "down"}, {"key", "s"}}) -register_input("Up", {{"key", "up"}, {"key", "w"}}) +register_input("Jump", {{"key", "space"}}) register_input("Right_Click", {{"mouse", 2}}) register_input("Left_Click", {{"mouse", 1}}) |
