I'm new and need a little help

Post Reply
solano
Posts: 9
Joined: Fri Oct 15, 2010 8:45 am

I'm new and need a little help

Post by solano » Fri Oct 15, 2010 9:54 am

I have been looking at the examples but some of the code doesn't make any sence to me and I can't figure out how it work.For example how are the man and woman loaded into memory from the animated sprites example.Is there a wiki or some documentation that I can read.That's all I need for now.

azenris
Posts: 16
Joined: Thu Nov 26, 2009 5:44 pm

Re: I'm new and need a little help

Post by azenris » Fri Oct 15, 2010 3:48 pm

Dunno if this is what you mean: http://dev-scene.com/NDS/Tutorials_Animation

relminator
Posts: 84
Joined: Sun Apr 11, 2010 10:43 am

Re: I'm new and need a little help

Post by relminator » Fri Oct 15, 2010 4:04 pm

Those sprites are first converted by GRIT into 8x8 chunks. There are 2 ways the example is handling the animation. One is preloaded into vram and just being referenced by state * numframes and the other is loaded on the fly via DMA.

The OAM is kinda tricky to figure out but once you figure it out, it's not too hard. Try to read up on some of tutorials from coranac.com.

If you want to code sprites like you used to in the PC you could use the 3d hardware to blit 2d sprites:

http://rel.betterwebber.com/junk.php?id=112

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 0 guests