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?

Author
Message
intfloatbool
User Offline
Joined: 7th Dec 2017
Location:
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:
+ Code Snippet

Sub mainmenu + CheckButton sub for main Loop

+ Code Snippet

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


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

HELP PLS

Login to post a reply

Server time is: 2017-12-16 13:11:10
Your offset time is: 2017-12-16 13:11:10