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

Changin the resolution of the game


jordy205
 Share

Recommended Posts

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 constants

Public Const MAX_MAPS As Long = 500

Public Const MAX_MAPX As Byte = 31

Public Const MAX_MAPY As Byte = 24

But [http://gyazo.com/6c0…77e91c9174e2c51](http://gyazo.com/6c0c8a3dc1bc29cee77e91c9174e2c51)

only i change the map i need teh screen :S

Regards
Link to comment
Share on other sites

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

> Please be more precise becuz now i don't understand what you actually want
>
> So for short MORE INFO NEEDED

I 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

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)
Link to comment
Share on other sites

> 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

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...