Hi Xenon. Very good example. Works great.
I've been trying to use this for my game, but the character always starts at 32 pixels in X axis. If I change the vGrid value to anything but 32, nothing works anymore. Is there something i'm missing? I'm trying to make the player start at different areas depending on the level.