Game Menu

Previous topic - Next topic

petermills

Hi,

I've started playing around with the demo version and have been able to make a splash screen disapear after a few seconds.

What I'm wanting to do is to create a game menu (e.g. start game, high scores, exit game) and display it after the splash screen disappears. At the moment I just have it loading another bmp file.

Can someone please point me in the right direction on how to do this. An example would be greatly appreciated.

Thanks
Peter

Hemlos

Setup MOUSESTATE first..

make some graphics for window and buttons, use BOXCOLL() to detect the collision with mouse

More sophisticated:
Theres also a working sample, DD_gui i think its called.
Bing ChatGpt is pretty smart :O

Kitty Hello

there is alos a pre-built menu addon, that in in the common folder of your samples. It's a menu that can work with ini files, and also configure your comtrols (key/joystick/mouse).
Very convenient. You can change the looks with a callback function.

petermills

Thanks guys. I'll have a look at your suggestions.