I have a question about the "sprite" (Sonic) sample that comes in SGDK.
in relation to frameChanged () and sprTileIndexes []. They load the enemy's sprites into VRAM, but when I create a wave of new enemies with
Code: Select all
e-> sprite = SPR_addSprite (& spr_enemy01, posX, posY, TILE_ATTR (PAL2, FALSE, FALSE, FALSE));