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.

Cheers,
GuiReis.
B
5
S
1
Posts: 11
Reputation: 397

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!
B
66
S
17
G
8
Posts: 637
Reputation: 9,370


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, marcinkowski, Shenkai the ssj and 20 guests