Gameboy Development Forum

Discussion about software development for the old-school Gameboys, ranging from the "Gray brick" to Gameboy Color
(Launched in 2008)

You are not logged in.

#1 2020-01-16 22:48:45

JibepGomis
New member
Registered: 2020-01-16
Posts: 1

How can I create the basic options in Splashscreens?

How can I add the "new game", "continue" "settings" options in 'Splashscreens'?
as well as to detect when A is pressed to access the option and press B to go back. I have this doubt for quite some time and I think it could make my game more attractive.

Offline

 

#2 2020-01-17 10:00:31

Ardis
Member
From: USA
Registered: 2019-06-06
Posts: 58
Website

Re: How can I create the basic options in Splashscreens?

If you're using GBDK, then I might have a solution. I haven't gotten to that point with my game yet, but I have some ideas on what I might do. You can probably make an integer keep track of the cursor position and make it so up and down adds, or subtracts, one from it. Then use a switch statement to set the cursor's position. Use another switch statement off that vlue when A is pressed to determine what screen to go to.

Last edited by Ardis (2020-01-17 10:00:53)


Also known as Arvex in other places.

Interceptor (Demo)
https://arvex.itch.io/interceptor

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson