jordy205 Posted April 25, 2013 Author Share Posted April 25, 2013 I want to change the resolution of the game but is directx 8 and it dont have picscreen i have change in the server and in client the map constants' Map constantsPublic Const MAX_MAPS As Long = 500Public Const MAX_MAPX As Byte = 31Public Const MAX_MAPY As Byte = 24But [http://gyazo.com/6c0…77e91c9174e2c51](http://gyazo.com/6c0c8a3dc1bc29cee77e91c9174e2c51)only i change the map i need teh screen :SRegards Link to comment Share on other sites More sharing options...
boyesjs03 Posted April 25, 2013 Share Posted April 25, 2013 Now just resize your form "frmMain" to the suitable size. Link to comment Share on other sites More sharing options...
jordy205 Posted April 26, 2013 Author Share Posted April 26, 2013 > Now just resize your form "frmMain" to the suitable size.I have change it but it = [http://gyazo.com/77e1a330eb80199ca610cea806ada910](http://gyazo.com/77e1a330eb80199ca610cea806ada910) Link to comment Share on other sites More sharing options...
boyesjs03 Posted April 26, 2013 Share Posted April 26, 2013 But what? If those dialogue boxes are show just send them to back/not visible. Link to comment Share on other sites More sharing options...
jordy205 Posted April 26, 2013 Author Share Posted April 26, 2013 How ? Explain me please Link to comment Share on other sites More sharing options...
zomb88 Posted April 26, 2013 Share Posted April 26, 2013 i take it your using one of the engines on the forums.Look in clsDirectx8 class and then goto the function of InitD3DDevice and change the 2 values up the topScreenWidth = 800ScreenHeight = 600This is in pixels Link to comment Share on other sites More sharing options...
jordy205 Posted April 26, 2013 Author Share Posted April 26, 2013 Ok i will try qhen i arrrive home THnks Link to comment Share on other sites More sharing options...
jordy205 Posted April 26, 2013 Author Share Posted April 26, 2013 It does not change the screen S: [http://gyazo.com/eca6a843fdf99581a2cfb8cf6bbc011f](http://gyazo.com/eca6a843fdf99581a2cfb8cf6bbc011f) Any can help me? Link to comment Share on other sites More sharing options...
santa-clause Posted April 26, 2013 Share Posted April 26, 2013 use my tutorial ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png)[http://www.touchofdeathforums.com/community/index.php?/topic/131122-ea-fullscreen-mode/](http://www.touchofdeathforums.com/community/index.php?/topic/131122-ea-fullscreen-mode/) Link to comment Share on other sites More sharing options...
jordy205 Posted April 26, 2013 Author Share Posted April 26, 2013 I dont want to have the full scren, i want to change the gui and the size but not the fullscreen Link to comment Share on other sites More sharing options...
santa-clause Posted April 26, 2013 Share Posted April 26, 2013 Please be more precise becuz now i don't understand what you actually wantSo for short MORE INFO NEEDED Link to comment Share on other sites More sharing options...
jordy205 Posted April 26, 2013 Author Share Posted April 26, 2013 > Please be more precise becuz now i don't understand what you actually want> > So for short MORE INFO NEEDEDI want to change like these [http://oi48.tinypic.com/33cra4w.jpg](http://oi48.tinypic.com/33cra4w.jpg)the left image ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png)i want to make more biger the game but not fullscreen :S Link to comment Share on other sites More sharing options...
santa-clause Posted April 26, 2013 Share Posted April 26, 2013 Then just change the frmMain to a bigger width and height and also follow my tutorials but skip the set to maximized step.and also change :Public Const MAX_MAPX As Byte = 31Public Const MAX_MAPY As Byte = 24To:Public Const MAX_MAPX As Byte = ((frmMain.width /32 )-1)Public Const MAX_MAPY As Byte = ((frmMain.height /32) -1)(change frmMain£.height with the height of the frmMain and frmMain.width with the width of frmMain) Link to comment Share on other sites More sharing options...
jordy205 Posted April 26, 2013 Author Share Posted April 26, 2013 > Then just change the frmMain to a bigger width and height and also follow my tutorials but skip the set to maximized step.> > and also change :> > Public Const MAX_MAPX As Byte = 31> > Public Const MAX_MAPY As Byte = 24> > To:> > Public Const MAX_MAPX As Byte = ((frmMain.width /32 )-1)> > Public Const MAX_MAPY As Byte = ((frmMain.height /32) -1)> > (change frmMain£.height with the height of the frmMain and frmMain.width with the width of frmMain)When i try to copile is say copile error Constant expression required:Public Const MAX_MAPX As Byte = ((frmMain.Width / 32) - 1) <–-----------------------Public Const MAX_MAPY As Byte = ((frmMain.Height / 32) - 1) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now