Everyone,
First of all, thanks to Tobias Leech for so quickly answering my previous
question on alpha values.
Now, I'm trying to understand movement. I managed to hack together a simple,
choppy, movement by teleportation app in which one can use ASDW to move a
rectangle around in the screen.
Hi Jack,
The problem is that an SDL::Rect stores it's x and y coordinates as
integers. When you subtract a small value from the coordinate the new
coordinate is truncated, which is why you are able to move in negative
directions. When you add a small value the same thing happens, but the