Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Resizing Game Window Width (0.5/5)
#1
This super-noob tutorial made by a VB6 first-timer (me) will most likely help someone who's even more noobish changing the Games Window Width. So let's get started (no flame please, just move along if you are like this: :evil: at this tutorial).

Currently, no interface changes the Window Width, but I'll make that tomorrow. Right now, all you have to do, to change the windows width is going to modConstants and changing two variables, instead of seeking around in different sub-files. Which I think is quite useful.

Difficulty: 0.5 / 5

WIDTH_NOR is the normal width without the mapeditor open.
WIDTH_ADM is the broader (or thinner if you like) width with the mapeditor open.

:: Client ::
Open modConstants, and insert in top
Code:
' Window Width
Public Const WIDTH_ADM As String = "19830"
Public Const WIDTH_NOR As String = "15765"

Open modGameEditors, and find:
Code:
Public Sub MapEditorInit()

then, find:
Code:
.Width =

Replace the number there is by default with:
Code:
WIDTH_ADM

Stay in modGameEditors, and find:
Code:
Public Sub MapEditorCancel()

then, find:
Code:
.Width =

Replace the number there is by default with:
Code:
WIDTH_NOR

Open frmMirage, and find:
Code:
frmMirage.Width =

Replace the number there is by default with:
Code:
WIDTH_NOR
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)