Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

You'll need to introduce indirection somehow.

One approach would be to write a routine that runs before level-drawing which copies a particular level's data into a working array. For example, perhaps something like:


The details will always be highly case-specific. For larger level data you probably need a loop for performing the copying, and you may need a different strategy for arriving at the base address of each level without overflow.

Thank you so much! it works!