playMaker

Author Topic: Basic iOS movement problems. [SOLVED]  (Read 3218 times)

HaraldsVeiss

  • Junior Playmaker
  • **
  • Posts: 68
Basic iOS movement problems. [SOLVED]
« 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
« Last Edit: January 27, 2014, 01:06:57 PM by HaraldsVeiss »

HaraldsVeiss

  • Junior Playmaker
  • **
  • Posts: 68
Re: Basic iOS movement problems.
« Reply #1 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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Basic iOS movement problems. [SOLVED]
« Reply #2 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