hide unused attribute behind a macro for portability
implement pixel-based motion instead of tile-based
avoid duplication of the tile size constant
the position of the camera is in pixels now
turn two divisions into one to clarify calculations
remove all floats from a calculation
remove all floats from another calculation