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 > pictures in mode 1

#672 - whodoo - Thu Jan 09, 2003 5:44 pm

I got a questions since Im a newbie and havent been down with GBA-programming for long.. I?ve created a snake game..in MODE_1... I also read a tutorial where they explaned how to show a picture in MODE_4....well, I wanna show a "title-screen" in my game with a big picture..is the best way to set MODE_4 and show the title, and change the graphicsmode to MODE_1 when beginning to play? Or can I display a picture(not of tiles) in MODE_4? Just a picture..

#673 - lgalea - Thu Jan 09, 2003 5:50 pm

As a newbie as well, I've wondered if you can switch modes that easily..

That aside, I know that gfx2gba has an option to split an image into a tileset and map.. so that would work if you wanted to stick with your mode.

#681 - Lord Graga - Thu Jan 09, 2003 6:33 pm

First you shoud go to mode 4, then draw the screen, and then wait for a key to be pressed. Then go to mode 0 and do stuff!
You can switch between the modes real-time.

#691 - whodoo - Thu Jan 09, 2003 7:18 pm

thanks :) works fine