By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
There is a new version of the forums ready for testing. Please post here if you're willing to help test! We could also use the help of coders!
It's a shame that you can't generate dynamic arrays of Dynamic Sprite pointers, as that's what I'd prefer
DynamicSprite *Sprites[];int SpriteCount = 0;void spr_free() { SpriteCount = 0; Sprites = null;}void spr_alloc(int count) { if ((count <= 0) || (count > 1000000)) { spr_free(); return; } SpriteCount = count; Sprites = new DynamicSprite[count];}
Also, at present you can create arrays of basic types (int, char, etc) and of built-in types (String, Character, etc) but not of custom structs.