itch.io is community of indie game creators and players

Devlogs

memcpy legacy

Luala
A downloadable game for Windows, macOS, and Linux

i had performance issues setting too many pixels per frame, so i decided to memcpy screen memory around and only update the pixels that changed.

this drastically improved performance. however, since memcpy only moves around 8-bit chunks (not 4-bit pixels), the camera moves in the x direction by increments of 2 pixels. it's an interesting artifact of TIC-80's technical limitations.

Download Luala
Leave a comment