YoSniper
Member
Hello everyone.
So I am very green when it comes to developing a game for a mobile device.
I already have a game that is mostly done, but it would only work on a PC, with either a keyboard or a connected game controller.
To create a mobile version, what I have thought to do would be to create icons of buttons on the sides of the screen, and if the mobile device detects a tap or a hold within any of those regions represented by the icons, that would count as a game input.
The problem is that often times, the game may expect more than one input at a time (such as attacking while running.) But I believe I'm limited to a single mouse input even though the user may have two or more fingers pressing the screen.
How do I detect for multiple touchscreen presses? Does it involve functions similar to mouse_check_button and keywords like mb_left?
The manual does not make this clear from what I searched.
So I am very green when it comes to developing a game for a mobile device.
I already have a game that is mostly done, but it would only work on a PC, with either a keyboard or a connected game controller.
To create a mobile version, what I have thought to do would be to create icons of buttons on the sides of the screen, and if the mobile device detects a tap or a hold within any of those regions represented by the icons, that would count as a game input.
The problem is that often times, the game may expect more than one input at a time (such as attacking while running.) But I believe I'm limited to a single mouse input even though the user may have two or more fingers pressing the screen.
How do I detect for multiple touchscreen presses? Does it involve functions similar to mouse_check_button and keywords like mb_left?
The manual does not make this clear from what I searched.