#66601 - Rinky - Thu Jan 12, 2006 10:37 am
Can anyone point me in the direction of the simple source code to display sprites - built on libnds code?
I can not get these things working. Can't figure out why; and can't find suitable code to copy or analyse. There's no point posting my program because it's been messed on with so much that its probably a million miles away from working.
Just a little piece of demo code would be greatly appreciated right now.
#66620 - Jasper_M - Thu Jan 12, 2006 2:54 pm
devKitPro comes with some examples. This one seems to be simple even, but I think you should also read a GBA sprite tutorial if it seems hard to understand. So on your hard drive, in the location where you put devkitpro:
\devkitPro\examples\nds\Graphics\2D\Sprite_Bitmap\
#66627 - Rinky - Thu Jan 12, 2006 3:32 pm
I don't seem to have the examples!??! And I've not been able to find them on the devKitPro site.
Have you got a link to where I can download them?
#66629 - SeanMon - Thu Jan 12, 2006 3:36 pm
I think it is in
\devkitPro\devkitARM\examples
#66635 - Jasper_M - Thu Jan 12, 2006 4:02 pm
That's the exact folder where they are in... But here's a CVS link if you don't for some reason have them:
http://cvs.sourceforge.net/viewcvs.py/devkitpro/examples/nds/Graphics/2D/Sprite_Bitmap/
#66636 - Rinky - Thu Jan 12, 2006 4:05 pm
Didn't have that either.
But I've just found them on the devKitPro SourceForge site (thanks to Jasper and a very well timed post). Didn't see them before because I was only looking at the Latest File Releases section.
My own fault for not reading the web page properly.