Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating a pop-Up Menu
#1
Note that this will freeze the entire game, so it is highly recommended not to use it.

It's not too hard to make your own popup menu.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#2
It's fine on the server, but the client will freeze.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#3
Addon onto the tutorial
If you say it freezes your game you could always make a picture box and set it with visible = false. Then in the form_keypress and such add the code to make it visible and set the x and y for the picture box to show up were you pressed. Very easy, and also remember to add a code when you press on another place on the screen to make it visible = false.
Reply
#4
Magnus Wrote:Why will it freeze client side Maybe that is just an issue you have?
Never tried so I dunno, but I guess it will freeze the blitting as .show does.
Reply
#5
Magnus, there is no way in hell that having the game screen freeze when a command like that is called is simply "and issue I have".

It's the same if you use just a normal menu and if you call a form using .show or use the arrow buttons to scroll a textbox.

It's just something that happens.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#6
I'm sure there's another way to stop the game screen from freezing when you use a menu.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Reply
#7
Dont mean to necro post not quite sure where u mean to use this menu... but if your talking about a pop-up menu in game why not make a picture box visibility = false and vbkey that tells the game to check if the menu is already up if not then to bring it up if it is to close it? it wouldnt freeze the game while your playing and wala you can have a menu for options and to exit the game with.
Reply
#8
Zalos Wrote:Dont mean to necro post not quite sure where u mean to use this menu... but if your talking about a pop-up menu in game why not make a picture box visibility = false and vbkey that tells the game to check if the menu is already up if not then to bring it up if it is to close it? it wouldnt freeze the game while your playing and wala you can have a menu for options and to exit the game with.

First off, Welcome.

Second off, William already said that. Tongue

Third off, Voila*
Reply
#9
Perfekt Wrote:
Zalos Wrote:Dont mean to necro post not quite sure where u mean to use this menu... but if your talking about a pop-up menu in game why not make a picture box visibility = false and vbkey that tells the game to check if the menu is already up if not then to bring it up if it is to close it? it wouldnt freeze the game while your playing and wala you can have a menu for options and to exit the game with.

First off, Welcome.

Second off, William already said that. Tongue

Third off, Voila*

o lol XD i must of skipped over that post
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)