How do I add touch controls to flappy bird game for android

Get help using Construct 2

Post » Sun May 11, 2014 8:05 pm

Hi, I've created the flappy bird game using Tutorial how to create Flappy bird in 10 minutes. I am stuck now on how to add touch controls and how to add screen size so that it can work on android device. I am a totally newbie so i've created this game using tutorial as there was screenshots of everything there. And it was a lot helpful. So please anyone help me now how i can resolve this problem for this particular game. Please please help me.

Thanks in advance
B
3
Posts: 6
Reputation: 187

Post » Tue May 13, 2014 12:41 pm

Dont quote me on this because im new to construct 2 as well, but most phones and tablets process a mouse click as a touch, thats how I made games in game maker. Also in theexample projects on the construct 2 start menu I vaguely remeber seeing something that used a touch behavior.
B
12
S
2
Posts: 57
Reputation: 799

Post » Tue May 13, 2014 1:18 pm

Thanks for the help. Thank you
B
3
Posts: 6
Reputation: 187

Post » Wed May 14, 2014 4:13 am

No prob, hopefully you get it working how you want it!
B
12
S
2
Posts: 57
Reputation: 799

Post » Wed May 14, 2014 5:07 am

To export to android you should:
- Fullscreen in browser : Scale outer for Cocoonjs
- Fullscreen in browser: LetterBox for Intel XDK
- Event Touch -> Is touching object -> action 1, action 2, ...
B
157
S
27
G
17
Posts: 912
Reputation: 32,602

Post » Wed May 14, 2014 8:39 am

iceangel wrote:To export to android you should:
- Fullscreen in browser : Scale outer for Cocoonjs
- Fullscreen in browser: LetterBox for Intel XDK
- Event Touch -> Is touching object -> action 1, action 2, ...


Hi Thanks for your response. But i understand all the above points but except last one. For this Touch event what will be the actions. So if you can explain it little bit more then it would be great as i am totally newbie.

Thanks
B
3
Posts: 6
Reputation: 187

Post » Wed May 14, 2014 8:49 am

Yoy have to be more explicit and say you want to do when touch screen item :)
example
I want the menu button and return to the main menu ...
B
157
S
27
G
17
Posts: 912
Reputation: 32,602


Return to How do I....?

Who is online

Users browsing this forum: kalibark2 and 28 guests