DEADSOFTWARE

Add joystick touch controls
authorfredboy <fredboy@protonmail.com>
Wed, 8 May 2024 17:28:16 +0000 (00:28 +0700)
committerfredboy <fredboy@protonmail.com>
Wed, 8 May 2024 17:28:16 +0000 (00:28 +0700)
commit6b49d51c59f6d639d949d1e9c264f7f144a305ab
treec4b51bbda519fcbb6ad878edee63b8788db4f18c
parent13157246344c2b94d24354040f0f2d2fb5beb7ea
Add joystick touch controls
22 files changed:
android/assets/joy_background.png [new file with mode: 0644]
android/assets/joy_stick.png [new file with mode: 0644]
android/assets/json/touch_buttons.json
core/src/ru/deadsoftware/cavedroid/MainConfig.java
core/src/ru/deadsoftware/cavedroid/game/GameRenderer.java
core/src/ru/deadsoftware/cavedroid/game/input/Joystick.kt [new file with mode: 0644]
core/src/ru/deadsoftware/cavedroid/game/input/MouseInputHandlersModule.kt
core/src/ru/deadsoftware/cavedroid/game/input/action/keys/MouseInputActionKey.kt
core/src/ru/deadsoftware/cavedroid/game/input/handler/keyboard/MoveCursorControlsModeKeyboardInputHandler.kt
core/src/ru/deadsoftware/cavedroid/game/input/handler/mouse/CloseGameWindowMouseInputHandler.kt
core/src/ru/deadsoftware/cavedroid/game/input/handler/mouse/CreativeInventoryScrollMouseInputHandler.kt
core/src/ru/deadsoftware/cavedroid/game/input/handler/mouse/CursorMouseInputHandler.kt
core/src/ru/deadsoftware/cavedroid/game/input/handler/mouse/HotbarMouseInputHandler.kt
core/src/ru/deadsoftware/cavedroid/game/input/handler/mouse/SelectCraftingInventoryItemMouseInputHandler.kt
core/src/ru/deadsoftware/cavedroid/game/input/handler/mouse/SelectCreativeInventoryItemMouseInputHandler.kt
core/src/ru/deadsoftware/cavedroid/game/input/handler/mouse/SelectSurvivalInventoryItemMouseInputHandler.kt
core/src/ru/deadsoftware/cavedroid/game/input/handler/touch/JoystickInputHandler.kt [new file with mode: 0644]
core/src/ru/deadsoftware/cavedroid/game/input/mapper/MouseInputActionMapper.kt
core/src/ru/deadsoftware/cavedroid/game/mobs/Mob.java
core/src/ru/deadsoftware/cavedroid/game/mobs/player/Player.java
core/src/ru/deadsoftware/cavedroid/game/render/TouchControlsRenderer.kt
core/src/ru/deadsoftware/cavedroid/misc/Assets.java