Collision, movement, gravity
Move sprites with joystick input and screen boundary clamping. Handle the VIC-II's 9-bit X coordinate.
Move an entity on a grid with boundary checking. Prevents moving outside the play area.
Move sprites with D-pad input and screen boundary clamping. Essential for player-controlled objects.
Move sprites with joystick input and play area boundary clamping. Foundation for player control.
Axis-Aligned Bounding Box collision — fast rectangle overlap test for sprites and objects.
Fractional values without floating point. Essential for smooth movement and physics on 8/16-bit CPUs.