Efficient Spriting v2.0

zardOz2 - Custom level - Aug 25, 2014 from Android
Revision #2, updated Jan 1, 1970
Play Edit 19 players liked this.

In this level I made an example out of my efficiency testing using blocks from Super Mario overworld.

v2.0 World Width and World Height settings and Set a list of gaps in the floor that will redraw automatically. Sets 3 types of end steps design and redraws the steps + flag + castle + final pipe depending on your World Width setting.

Zoom in and out as you scroll the level to see how only the nearby sprites are drawn, this is to lower the stress on the program.

The draw sprite lines at the bottom of the code use several complex and simple methods of restricting the draw area.

P.S. I took me awhile to figure out the perfect equation to draw the end steps in a single line, Im taking that to my grave!

Downloads: 643 - Level ID: 10225