In a game I'm working on, the player can do something that lets them move left or right until they bump into a wall. That's easy enough, but how do I make them stop moving when they bump into the edge of the screen? The only thing I can think of is to make a completely black object and surround the game maps with it. But is there some kind of variable that I can use to make something happen when the player bumps into the edge of the screen?
You received this message because you are subscribed to the Google Groups "PuzzleScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puzzlescript...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/puzzlescript/6b24522c-891e-4925-a8a3-2dc35063068en%40googlegroups.com.