Hi,
I'm trying to get my head around how to structure the code of my game. It is a puzzle game that runs in a window and is written in BlitzPlus. It uses just 2D graphics and no Windows GUI features.
I have the main part of the game in place. The game works but I'm not sure how to start doing the start menu, game over bits etc. What do you guys recommend?
I mean, do people have a seperate loop for each section of the whole app and a seperate update/render function for each part? Do you load all the game graphics in at the start or load the game files in at the start of the actual game part? Should I put each part in its own file (I am using Protean BTW).
Sorry if this makes no sense.. I shall try to elaborate in the morning! |-)
Any help / guidance would be appreciated!
Pete
I'm trying to get my head around how to structure the code of my game. It is a puzzle game that runs in a window and is written in BlitzPlus. It uses just 2D graphics and no Windows GUI features.
I have the main part of the game in place. The game works but I'm not sure how to start doing the start menu, game over bits etc. What do you guys recommend?
I mean, do people have a seperate loop for each section of the whole app and a seperate update/render function for each part? Do you load all the game graphics in at the start or load the game files in at the start of the actual game part? Should I put each part in its own file (I am using Protean BTW).
Sorry if this makes no sense.. I shall try to elaborate in the morning! |-)
Any help / guidance would be appreciated!
Pete