₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,330,786 members, 8,447,113 topics. Date: Friday, 17 July 2026 at 05:11 PM

Toggle theme

[GAME DEVELOPMENT] Switching Between Multiple Screens In A Processing Game - Programming - Nairaland

Nairaland ForumScience/TechnologyProgramming[GAME DEVELOPMENT] Switching Between Multiple Screens In A Processing Game (952 Views)

1 Reply

[GAME DEVELOPMENT] Switching Between Multiple Screens In A Processing Game by FincoApps(op): 2:54am On Mar 06, 2019
This post is a follow up to the tutorial I created a while back https://www.nairaland.com/2476424/how-create-simple-game-processing#36254749.

In this tutorial, we would be adding a Menu screen and a game over screen to the bouncing ball game that was created in the last tutorial. So make sure you download the .pde file from the last post.

Since Processing does not give any standard API for switching between scenes, we would need to improvise. The best way to conveniently transit from screen to screen is to use a variable to hold information about the current screen running.

For this example, we would create a String variable and call it currentScreen.

This tutorial contains some codes and we all know what Nairaland does to codes, so continue reading here: https://fincoapps.com/switching-between-multiple-screens/
Re: [GAME DEVELOPMENT] Switching Between Multiple Screens In A Processing Game by GadgetInstinct: 9:46am On Apr 09, 2019
Dragnet, May i please know why am being banned from Technology section. Because i can't really figure out where i got it wrong.
Re: [GAME DEVELOPMENT] Switching Between Multiple Screens In A Processing Game by FincoApps(op): 12:23am On Apr 19, 2019
GadgetInstinct:
Dragnet, May i please know why am being banned from Technology section. Because i can't really figure out where i got it wrong.
Ehyaa pele
1 Reply

Thinking Of Switching Into Tech In 2026? Let’s Talk HonestlyHow To Make Money In Game Development For Developers.Game Development Or App Development Which Career Is Better234

Drivermax Pro Full Version Free DownloadAdd Blinking Animation On Text In React NativeEmail Marketing Specialist Needed In Enugu, Nigeria.