Still a newbie, tried looking up references to this, but couldn’t find so apologies in advance!
I’m looking to have a block move back and forth on the screen, so if it’s position is < or = to say, 40, change velocity to move right according to game.speed
Then the other way, if it’s position is > or = to 600, change the velocity to the left, so it’s moving back and forth on screen between those parameters
What would be the best way to implement this?
Thank you!
-Jenny [import]uid: 63661 topic_id: 12118 reply_id: 312118[/import]
