Jump to content
  • Advertisement
Sign in to follow this  
TaeKwonDo

game building question

This topic is 4170 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Alright so ive decided to actualy build a game instead of just small useless projects. Anyway iv'e got my main menu for the most part setup and I want to go to a different function called New_Game(). for now i just want it so when new game option is selected the screen jus goes black and stays there (I want to finish up the menu more before I continue). the problem is when I press enter the screen goes black for a second then returns to the main menu. I was wondering if I should be using something other then a function for this or am I just missing something. If you need the code to check just tell me and i'll post it up for you thanks

Share this post


Link to post
Share on other sites
Advertisement
There's not enough context to really understand what your problem is. Generally, you can just draw a black quad across the screen, update the screen once, and then not update it until you are done loading whatever you want to load. At this point you also need to remove the menu from the "render list" or wherever else you are keeping it.

Share this post


Link to post
Share on other sites
Yea sorry for being alittle vauge it hard to explain but I figured it out, I was just updating to quickly and had to adjust it a bit.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!