GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Please Help - Basic Game Function, Need Assistance

brandonjabrbrandonjabr Posts: 9Member
edited January 2012 in Tech Support
I'm making a basic iPhone game in which you control a square that is moving right through a tunnel, and spikes are coming at you that you have to dodge.

Here's my problem:

I want to make it so (starting with the square on the bottom platform) when you press anywhere on the screen, he jumps quickly to the top platform and stays there

Then, when you press anywhere on the screen again, I want him to jump back down to the bottom platform and stay put

Now when I tried to use functions like "Move To", "Move", "Accelerate Toward" Etc, they always seem to glitch up, (ie. when I use two opposing "Move To" functions, the square will get stuck at the top)

What's a simple way I can implement this game feature?

Thanks a lot!

Comments

This discussion has been closed.