What is the best practice when designing your code.
I have wrote a little game where things drop from the top and you have to catch them at the bottom. I did not think about adding a game menu when I started writing.
How do you structure your code?
Most games I've seen written in Blitzmax just use while not keyhit(KEY_ESCAPE) around the whole code.
How would I incorporate a game menu with the ability to pause a game, start a new one and exit (using the exit button, not pressing escape).
Anyone know any tutorials on menu creation and code structure.
Thanks in advance.
Mark
I have wrote a little game where things drop from the top and you have to catch them at the bottom. I did not think about adding a game menu when I started writing.
How do you structure your code?
Most games I've seen written in Blitzmax just use while not keyhit(KEY_ESCAPE) around the whole code.
How would I incorporate a game menu with the ability to pause a game, start a new one and exit (using the exit button, not pressing escape).
Anyone know any tutorials on menu creation and code structure.
Thanks in advance.
Mark