Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Windows / How realize the menu-system in my game?

Years of Service
User Offline
Joined: 7th Dec 2017
Posted: 7th Dec 2017 12:31
I making simple game which have 2 buttons at menu , but when i click some button its seem like actions(button pressed) to be late for main loop. If you cant understand my bad english, look at code:

Main loop:

Sub mainmenu + CheckButton sub for main Loop

My code is working correctly, but the screen blinks, the buttons sometimes do not wor!

Or easier : How realize dynamic actions like "Button Pressed() " ?


Login to post a reply

Server time is: 2020-08-09 22:13:08
Your offset time is: 2020-08-09 22:13:08