Problem with sprites when more than one
Posted: Fri Jan 29, 2010 7:08 am
Hello everyonne,
I'm new with ds programming and libnds. I try to make a little puzzlle game in 2d
i've followed the example http://www.devkitpro.org/libnds/a00006.html and when I have one sprite in the screen, it works peprfectly.
Now i try to put a second sprite on the same screen but when both are displayed, both have the same texture ( the texture from the first seems to be ovveriden by the second )
I follow the steps of the sample, and to verify i've done the same with this one, i've putted both sprite ( man and woman ) on the bottom screen, the same problem appear.
Does someone have a sourcecode where i can learn how to do, or can explain me what can be the problem ?
Thank You
ps: forgive my english, this is not my first language
ps2: i've searched, and didn't find anything, so my apologies if this problem have already be solved on an other topic
I'm new with ds programming and libnds. I try to make a little puzzlle game in 2d
i've followed the example http://www.devkitpro.org/libnds/a00006.html and when I have one sprite in the screen, it works peprfectly.
Now i try to put a second sprite on the same screen but when both are displayed, both have the same texture ( the texture from the first seems to be ovveriden by the second )
I follow the steps of the sample, and to verify i've done the same with this one, i've putted both sprite ( man and woman ) on the bottom screen, the same problem appear.
Does someone have a sourcecode where i can learn how to do, or can explain me what can be the problem ?
Thank You
ps: forgive my english, this is not my first language
ps2: i've searched, and didn't find anything, so my apologies if this problem have already be solved on an other topic