Touch and Hold Direction Movement

Get help using Construct 2

Post » Sat Apr 04, 2015 10:03 pm

Hey guys!
I'm developing a small adventure game for iPad. Currently most of the main logic is programmed, except the main character movement.
I wanted the character movement in a similar way to this game (except that it will be in 2D): Jacob Jones and the Bigfoot Mystery (see it on the App Store/Youtube please, I can't paste URL's yet)

Things that I pretending to do:
1. The character must move only horizontally;
2. The character will move only if the user is swiping left or right;

Could someone please help me with it? Maybe explaining me the logic or supplying me a .CAPX?
I'm a Illustrator/Graphic Designer, and this is my first game. I still learning programming :-)

Thanks for any help and sorry for any English mistakes.

Posts: 11
Reputation: 247

Post » Sun Apr 05, 2015 5:12 am

Use 8-direction movement behavior and change its properties (in layout view when sprite w/ behavior attached is selected) to left/right. Now simply have the swipe event (see fruit ninja tutorial for swiping) "simulate control" move left/right.
Check out my completed games on the Arcade! Capt. Doe Save the Universe! & Clicker Wizard!
Posts: 629
Reputation: 9,269

Return to How do I....?

Who is online

Users browsing this forum: Aquanex2, tarek2 and 1 guest