Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Full Screen Map From Menu Button(Auto Buffers)


whittenator
 Share

Recommended Posts

Alright, so I have created my full screen button on my menu. Now I am trying to code in when a person clicks on this button there game will go into full screen mode. Menu and Main!! I also want it to buffer to the players screen size as for not every player has the same screen size. Could anyone guide me in the right direction in terms of mods, form, etc. Code? 
                                                                            Thanks
Link to comment
Share on other sites

to make it Full-screen you would have to get their screen size to do it that way. The you would have to write some calculations for where yo move the GUI parts and how much to stretch the screen.

use something like
```
' Resize form to the screen size
    frmMain.Height = Screen.Height
    frmMain.Width = Screen.With

```
this is a pseudo full screen but it might help if you try using it to get the numbers to calculate the new positions and size of the game screen.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...