#165470 - Tommmie - Mon Dec 22, 2008 11:34 am
sorry for my noobish question, but i'm switching over from palib to ndslib. i read the tutorial and i think it's clear for me. but when i tried to make a simple & efficient functions to load sprite it goes wrong. because the original code in the tutorial was very long, i wanted to make it shorter something like this:
but i can't get it to work, when the code compiles there shows only one sprite up(i wanted to create two moon sprites)
Last edited by Tommmie on Wed Dec 24, 2008 7:31 pm; edited 1 time in total
Code: |
void initSprites(OAMTable * oam, SpriteInfo *spriteInfo, int spritenumber) |
but i can't get it to work, when the code compiles there shows only one sprite up(i wanted to create two moon sprites)
Last edited by Tommmie on Wed Dec 24, 2008 7:31 pm; edited 1 time in total