What is wrong

XxKxXXxKxX Member Posts: 9
edited July 2012 in Working with GS (Mac)
Hey

I have a problem, with the game i try to make to iPhone, the problem is that, I have made 2 actors with will move a figure op and down, but when i touch e.g. op it continues op, and I have to press down to make it stop again, but then the figure can't move op or down, and I don't know what I have to do, so the figure goes op and down then you press the button, and stops when you don't hold you finger down on the button anymore. I hope you can help me?

From Emil

Best Answer

  • UtopianGamesUtopianGames Posts: 5,692
    edited July 2012 Accepted Answer
    What are you using to move the actors, move to, interpolate, accelerate?

    Sounds like you need a boolean in the up and down buttons...make a game.boolean called up and also one called down then in the up button have a rule if touch is pressed and down is false change attribute game.up to true then in the otherwise do a change attribute game.up to false.

    Now in the actor do if up = true move up.

    Darren.

Answers

  • XxKxXXxKxX Member Posts: 9
    I am using Move :)
  • XxKxXXxKxX Member Posts: 9
    but what would you say is the best way to do what i am trying to do, So get a character to move up and down :)
Sign In or Register to comment.