memcpy legacy


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.

Get Luala

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.