Optimized rendering for @MrMcScratchFace (I made it something like 250-500x faster, no joke) @xXName77Xx's even faster version: https://scratch.mit.edu/projects/1251346057 A pen-based tile engine that uses number strings to render textures, instead of using sprite stamping. MAYBE USE TURBOWARP!! https://turbowarp.org/1250897432 All you had to do was pre-process the textures with indices to tell the renderer where each texture starts. You have less room for textures now, but it's still on the scale of hundreds or thousands of textures so I think you're fine. I don't think there any bugs with my code, but your textures themselves might be buggy? 513 seems like a weird pixel amount for a square texture.