View Single Post
GLaDOS

JCF Member

Joined: Aug 2010

Posts: 40

GLaDOS is doing well so far

Feb 13, 2013, 01:39 PM
GLaDOS is offline
Reply With Quote
So, I've been running into another problem... I need to set a bunch of tiles (the same pattern several times across the level, but independently controlled) in a foreground layer, but the "tile cache" is getting in the way. Is it technically possible to add the option to allocate additional tile cache entries that jjTileSet() will then use?
Perhaps adding a function like jjAddTileCacheEntry(uint8 layer, int xWord, int y) would be the most convenient way to do it. It would copy the cache entry into a newly allocated one and change the cache reference of the tile to the new entry. That is, if it is possible to increase the tile cache's size, either dynamically whenever the function is called, or, if that is not possible, by a predefined maximum number when loading the level.

EDIT in response to Violet:
A development blog with relatively condensed info about upcoming features would be nice (along with maybe a bug tracker and some place for suggesting stuff ), if it doesn't take away too much time from actual development.

Last edited by GLaDOS; Feb 13, 2013 at 02:22 PM. Reason: forgot to add a function parameter