playMaker

Author Topic: iTween Move Add issue  (Read 1786 times)

merde10

  • Playmaker Newbie
  • *
  • Posts: 46
  • new user of playmaker :)
iTween Move Add issue
« on: October 29, 2016, 02:30:35 PM »
Hello guys,

i'm working on a new game app, but i had some issues using iTween Move Add.

To resume, when the player swipes up on his device, a gameobject moves up, and when he swipes down, the gameobject moves down.

So i came up with this FSM (see the picture below), and i have no error. The swipes are detected, but the problem is that the gameobject doesn't move.

When i add an iTween rotate Add, the GameObject rotates.

I don't know why i have this issues.

Any help?

Thanks a lot :)


merde10

  • Playmaker Newbie
  • *
  • Posts: 46
  • new user of playmaker :)
Re: iTween Move Add issue
« Reply #1 on: October 31, 2016, 07:14:18 AM »
any ideas why i had this? :$

dudebxl

  • Hero Member
  • *****
  • Posts: 602
Re: iTween Move Add issue
« Reply #2 on: October 31, 2016, 10:18:07 AM »
It looks wrong. It should be a switch style. If swipe up go to A, if swipe down, go to B.

merde10

  • Playmaker Newbie
  • *
  • Posts: 46
  • new user of playmaker :)
Re: iTween Move Add issue
« Reply #3 on: October 31, 2016, 11:12:54 AM »
how can i make that?

To move to point A to B ?