playMaker

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

HaraldsVeiss

  • Junior Playmaker
  • **
  • Posts: 66
    • View Profile
Basic iOS movement problems. [SOLVED]
« on: January 26, 2014, 03: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, 11:06:57 AM by HaraldsVeiss »

HaraldsVeiss

  • Junior Playmaker
  • **
  • Posts: 66
    • View Profile
Re: Basic iOS movement problems.
« Reply #1 on: January 27, 2014, 11:05:54 AM »
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: 12342
  • Official Playmaker Support
    • View Profile
Re: Basic iOS movement problems. [SOLVED]
« Reply #2 on: January 29, 2014, 12: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