gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Coding > Loading 3 240*160 background

#8730 - jebba - Fri Jul 18, 2003 6:00 pm

Hi everyone,

I need to load 3 different background of 240*160 to make an horizontal scrolling. I'm a newbies and i haven't found how to do that with HAM Dev Kit. So if anyone as an aswer, it will be great.

Thanks

#8732 - night_ - Fri Jul 18, 2003 6:20 pm

Please make sure that you read the Pern Project Tutorial day 4 on Backgrounds (http://www.thepernproject.com/index2.htm). You will need to use tile graphics. Mode 0 or 1 will be suitable.
For maps that are larger than those supported by GBA hardware, you will have to write code to copy new lines (vertical scrolling) and columns (horizontal scrolling) into VRAM.

#8735 - jebba - Fri Jul 18, 2003 6:53 pm

yes, i forgot to say i want to use map in mode 0

thank you for your answer night_

#8748 - Maddox - Sat Jul 19, 2003 2:07 am

Isn't there a newbie section on this site!?!
_________________
You probably suck. I hope you're is not a game programmer.