TGC Codebase Backup



Set to Fullscreen Mode by Antigroup

16th Jun 2008 20:16
Summary

This function is used to switch to fullscreen mode.



Description

This function is used to switch to fullscreen mode. This function was made in DarkGDK
but I converted it to DarkBasic. It was made for users of DarkGDK so that you could make it fullscreen because there are no settings like in DB Pro that let you make it start fullscreen. Also, with this, you can change the screen mode at the user's request.



Code
                                    ` This code was downloaded from The Game Creators
                                    ` It is reproduced here with full permission
                                    ` http://www.thegamecreators.com
                                    
                                    function setfullscreen(width,height)

set display mode width,height,32
set window layout 0,0,0
maximize window

endfunction