Jump to content

Windowed/Fullscreen with MaxGui


Brian
 Share

Recommended Posts

Hello,

 

Following this tutorial (thanks macklebee) :

http://www.leadwerks.com/werkspace/page/Documentation/LE2/tutorials/_/programming/bmx/applications-with-maxgui-and-le-r44

 

How can I make it switch from the windowed mode to fullscreen and vice-versa ?

 

In the repeat, if I use

 

if KeyHit(KEY_SPACE)

Graphics (800,600,32)

End If

 

it crashes at the fw.render

 

Thanks

Link to comment
Share on other sites

in the example you link to in your post, the graphics context is not by the LE Graphics() command but rather a maxgui canvas on a maxgui window... so you would have to resize the window. the best option then is to set the canvas size as a relationship to whatever the size the window is currently... if you search the Blitz forums for 'fullscreen' there are several examples and ways found there to do this with maxgui commands...

Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590

LE / 3DWS / BMX / Hexagon

macklebee's channel

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...