GBA Programming: A Menu Screen

G

Guest

Guest
Archived from groups: alt.games.video.nintendo.gameboy.advance (More info?)

Ive read that to display a menu with highlighting, one approach is to
use 2 layers (1 for the text, the other for the highlighting).

Are there other approaches?

Im somewhat comfortable with the video modes, but Im not sure about
layers and
blending tiles.
 
Archived from groups: alt.games.video.nintendo.gameboy.advance (More info?)

Ben Nguyen wrote:

> Ive read that to display a menu with highlighting, one approach is to
> use 2 layers (1 for the text, the other for the highlighting).
>
> Are there other approaches?
>
> Im somewhat comfortable with the video modes, but Im not sure about
> layers and
> blending tiles.

could also use sprites, eg 1 sprite for each letter and a function to pad
them out as text, and either a bg layer or another sprite in the background
for the selector.

No need 2 blend tiles btw, that's what the gba hardware is for. just leave
bits transparent and the background will show through.

--
From Mr. Bogus (aka Paul) - hiding place reality.