Devlog 2
1 - Added gamepad and mouse/touch controls.
Here is a gif of playing with the mouse:
I think I will add a possibility to just click on one side of the screen to move instead of swiping.
2 - I also started using variables instead of checking for a specific button every time. For example:
menu_button = keyboard_check_pressed(vk_escape) || gamepad_connected && gamepad_button_check_pressed(pad,gp_start);
And then:
if (menu_button) {
game_pause_toggle();
}
It makes the code much easier to manage.