I'm trying to wrap my head around events.
Here's an example I'm working with. If the user clicks a mouse, I want ONE of two things to happen.
1. Mouse click - If there is NO wall to the player right, I want the player to move 32 pixels right.
2. Mouse click - If there is a wall to the player right, I want the player to move 32 pixels up.
The point of doing this is to have the player climb over blocks, but only blocks one 32x32 block high.
[attachment=0:abe90mzx][/attachment:abe90mzx]
But I have that nagging feeling that I could write these events another way. Any advice?