ScratchData LogoScratchData
Back to ChuckSploder's profile

Advanced optimized tile renderer

CHChuckSploder•Created December 16, 2024
Advanced optimized tile renderer
9
7
98 views
View on Scratch

Description

WASD to move the camera. Use the CAM Z slider to zoom in or out. -XYZ camera support and 1000-color tile rendering. This version is optimized to completely skip the gaps between tiles. It also skips the empty areas above and below the map. This cuts the total loop length by around 50-80% in this demo. It also cuts out around 400 if statements depending on the camera zoom. -Fairly robust. Likely more robust than the unoptimized version. -At some zoom levels, you'll see gaps between the tiles. That's normal, and it's due to the relationship between stamps and vector costumes. -Yes, I'm probably gonna use this for another Compass game. I'm not sure how to optimize this further unless I add multi-layer support.

Project Details

Project ID1111145522
CreatedDecember 16, 2024
Last ModifiedDecember 16, 2024
SharedDecember 16, 2024
Visibilityvisible
CommentsAllowed