Playmaker Forum

PlayMaker Help & Tips => iOS Help => Topic started by: HaraldsVeiss on January 26, 2014, 05:55:07 PM

Title: Basic iOS movement problems. [SOLVED]
Post by: HaraldsVeiss on January 26, 2014, 05:55:07 PM
Hello!

I recently started to make a new game.

Problem that I am having probably is very easy to sort out, but I can't wrap my head around it. I want my character to move when I swipe.

I will explain what I have set up at this time.

I have swipe gesture event, it is working as it should. The problem is with the movement, I can't figure out, how to make my character to move with constant speed up when player swipes up, when player swipes left character will change direction and moves left, in constant speed. Which event should I use for this kind of movement? Game is being made in 2D plus its iOS game.

Can someone help?

Best,
Haralds
Title: Re: Basic iOS movement problems.
Post by: HaraldsVeiss on January 27, 2014, 01:05:54 PM
Hi!

I already solved it, if someone has similar problem tell me. I will explain how I did it.

Best,
Haralds
Title: Re: Basic iOS movement problems. [SOLVED]
Post by: jeanfabre on January 29, 2014, 02:37:03 AM
Hi,

 Would be good to share this yes. I was about to reply that you should first make this work without any user input and simply use programmatic calls, using 4 events, if then that works, you can tie swipe gestures with these events.

bye,

 Jean