Homebrew Project Questions

WinterMute
Site Admin
Posts: 2003
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: Homebrew Project Questions

Post by WinterMute » Tue Mar 23, 2010 10:33 pm

Palette index 0 is transparent.
Help keep devkitPro toolchains free, Donate today

Personal Blog

Tron
Posts: 15
Joined: Wed Jan 20, 2010 1:01 pm
Location: USA
Contact:

Re: Homebrew Project Questions

Post by Tron » Thu Mar 25, 2010 2:05 am

WinterMute wrote:Palette index 0 is transparent.
Ah, I should've guessed.

9. Can hardware scrolling be done on tiled backgrounds, and if so, does it move by pixel or by tile width (8 pixels) and how is it done?

coreyh2
Posts: 33
Joined: Tue Feb 02, 2010 12:43 am

Re: Homebrew Project Questions

Post by coreyh2 » Thu Mar 25, 2010 8:38 am

the example all_in_one has code for regular scrolling and scrolling with a smaller hardware tilemap and a larger tilemap stored in memory. Also many other things. Its a great example.

devkitPro\examples\nds\Graphics\Backgrounds\all_in_one

User avatar
Izhido
Posts: 107
Joined: Fri Oct 19, 2007 10:57 pm
Location: Costa Rica
Contact:

Re: Homebrew Project Questions

Post by Izhido » Wed Mar 31, 2010 5:44 pm

Actually, the DS hardware is the one to blame in this 1 vs 2 - 4-byte copy conundrum. It seems to be designed that way.

See the Notes below the tables here: http://nocash.emubase.de/gbatek.htm#dsmemorycontrolvram

Post Reply

Who is online

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