trautmen Posted August 8, 2010 Author Share Posted August 8, 2010 Hi, This is a tutorial to change screen size :)follow instruction step by step :)Now how to do..Go to frmMainGame and search picScreen_MouseDown.. and put this code:```picScreen.width = 800 ' Width in tiles * 32picScreen.height = 608 ' Height in tiles * 32```and then go to Form_Load in frmMainGame..search this code:```Me.width = 10545```and remove it.Now one click on the picscreen and in properties change Width=800 Height=608oh :P now go to modConstants and search ' Map constants and search this code:```Public Const MAX_MAPX As Byte =Public Const MAX_MAPY As Byte =```and copy it to:```Public Const MAX_MAPX As Byte = 24Public Const MAX_MAPY As Byte = 18```:D and woala :) Link to comment Share on other sites More sharing options...
Robin Posted August 8, 2010 Share Posted August 8, 2010 Short and sweet. I like it. Link to comment Share on other sites More sharing options...
Tyr Posted August 8, 2010 Share Posted August 8, 2010 @trautmen:> Go to frmMainGame and search picScreen_MouseDown.. and put this code:> ```> picScreen.width = 800 ' Width in tiles * 32> picScreen.height = 608 ' Height in tiles * 32> ```Place it under Form_Load, otherwise it will only change size when you click the screen.Tested it, works fine. Link to comment Share on other sites More sharing options...
Robin Posted August 8, 2010 Share Posted August 8, 2010 Place it in Main. Link to comment Share on other sites More sharing options...
Dennys Posted August 8, 2010 Share Posted August 8, 2010 how about instead of only showing how to do for 800x600 you could show people how they can have any size they want? instead of```picScreen.width = 800 ' Width in tiles * 32picScreen.height = 608 ' Height in tiles * 32 ```do something like```picScreen.width = (any number that is divisible by 32\. lets call that number X)picScreen.height = (any number that is divisible by 32\. Lets call this number Y)```and instead of```Public Const MAX_MAPX As Byte = 24Public Const MAX_MAPY As Byte = 18```put```Public Const MAX_MAPX As Byte = (X / 32 - 1)Public Const MAX_MAPY As Byte = (Y / 32 - 1)```and then use the 800x600 as an example. Link to comment Share on other sites More sharing options...
damian666 Posted August 8, 2010 Share Posted August 8, 2010 cool, this was one of the last things i wanted to see in EO before i would use it xDNice short tut :)dami Link to comment Share on other sites More sharing options...
Kiliage Posted August 11, 2010 Share Posted August 11, 2010 Thx man,thats really great Link to comment Share on other sites More sharing options...
DiezeltJ Posted August 15, 2010 Share Posted August 15, 2010 Hi,I Have a problem…I Can´t get is Larger then this and I can walk out of the screen:![](http://img84.imageshack.us/img84/9726/sdc.png)Please help..-DiezeL Link to comment Share on other sites More sharing options...
Ertzel Posted August 16, 2010 Share Posted August 16, 2010 @DiezeltJ:> Hi,> > I Have a problem…> > I Can´t get is Larger then this and I can walk out of the screen:Seems you forgot this step..@trautmen:> and then go to Form_Load in frmMainGame..search this code:> ```> Me.width = 10545> ```and remove it. Link to comment Share on other sites More sharing options...
Valon328 Posted August 19, 2010 Share Posted August 19, 2010 @Ertzel:> @DiezeltJ:> > > Hi,> > > > I Have a problem…> > > > I Can´t get is Larger then this and I can walk out of the screen:> > Seems you forgot this step..> > @trautmen:> > > and then go to Form_Load in frmMainGame..search this code:> > ```> > Me.width = 10545> > ```and remove it.Wait I have the same problem but I already did that part :O Link to comment Share on other sites More sharing options...
pryicx Posted August 20, 2010 Share Posted August 20, 2010 Been testing this over and over but dont seem it wanna work for me :( still have it as a small screen :sad:Anyone able to aid ? Link to comment Share on other sites More sharing options...
gordofatal Posted August 22, 2010 Share Posted August 22, 2010 How i can change de size screen, in project vertigo? Link to comment Share on other sites More sharing options...
Icie Juicy Posted September 7, 2010 Share Posted September 7, 2010 Hmmm, this edit does look very short and sweet. However I'm stilling having a little trouble with it. I'm thinking I have all of the code in properly except for the part below and a little confused how to get the properties changed.This is what my code looks like> Private Sub picScreen_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)> picScreen.width = 800 ' Width in tiles * 32> picScreen.height = 608 ' Height in tiles * 32Let me know if that's right, I think that may be where I messed up the code.And as for the "Now one click on the picscreen and in properties change Width=800 Height=608". I believe I did this correct, though that may be the problem. Currently the code isn't working and I've spent a decent amount of time playing with it. I know the code works, the error is on my part.I'd really appreciate a little additional guidance on what I may have done wrong. Thanks! Link to comment Share on other sites More sharing options...
Ertzel Posted September 7, 2010 Share Posted September 7, 2010 @Icie:> And as for the "Now one click on the picscreen and in properties change Width=800 Height=608". I believe I did this correct, though that may be the problem. Currently the code isn't working and I've spent a decent amount of time playing with it. I know the code works, the error is on my part.The problem is, you don't double click on picscreen and write the code in…Click on picscreen ONCE, then look at the properties window to the right in vb6, find Height and Width in there and change those to 800 and 608. Link to comment Share on other sites More sharing options...
Icie Juicy Posted September 7, 2010 Share Posted September 7, 2010 @Ertzel:> @Icie:> > > And as for the "Now one click on the picscreen and in properties change Width=800 Height=608". I believe I did this correct, though that may be the problem. Currently the code isn't working and I've spent a decent amount of time playing with it. I know the code works, the error is on my part.> > The problem is, you don't double click on picscreen and write the code in…> > Click on picscreen ONCE, then look at the properties window to the right in vb6, find Height and Width in there and change those to 800 and 608.Thanks for the fast reply. I was able to get to the "picscren properties" window and find "picscreen Picturebox" which is where I changed the height and width to the above. I was assuming this was what was referred to, though it is not directly stated in there. If that is where those changes need to be made, apparently I've done those right. If not, this may be the problem. Link to comment Share on other sites More sharing options...
Ertzel Posted September 7, 2010 Share Posted September 7, 2010 Its this.>! ![](http://www.freemmorpgmaker.com/files/imagehost/pics/f1a6c9247332fff9ce4d1350537e0a67.png)Then at the bottom of the properties window is Width.**[Edit]**Oh wait lol, didn't read the tutorial, this isn't what I was thinking.You have to put your code in Form_Load in frmMainGame, not picScreen_MouseDownand remove Me.width = 10545Then it should work.Although u could just do what I said and change the screen size ahead of time and avoid the whole need for thepicScreen.width = 800 ' Width in tiles * 32picScreen.height = 608 ' Height in tiles * 32stuff Link to comment Share on other sites More sharing options...
Icie Juicy Posted September 7, 2010 Share Posted September 7, 2010 Well I've done both setting the width and height in the properties (as you posted). I also posted it in the Sub Form_Load in frmMainGame (below), neither have worked for me at this point. I've changed the max of x/y both to what was listed in the original tutorial. Still something I'm missing… :sad:> Private Sub Form_Load()> picScreen.width = 800> picScreen.height = 608> picAdmin.Left = 10> picCurrency.Left = txtMyChat.Left> picCurrency.Top = txtMyChat.Top> End Sub Link to comment Share on other sites More sharing options...
Murdoc Posted September 15, 2010 Share Posted September 15, 2010 I used this to change the screen size to 517x323, with the code:``` picScreen.width = 517 ' Width in tiles * 32 picScreen.height = 323 ' Height in tiles * 32```But for some reason my map editor is making my tile placer box (the dotted line box) is not under the mouse when i place tiles. It's more like up and to the right. And, I can't place tiles two spaces up from the bottom.What did I do wrong? Link to comment Share on other sites More sharing options...
Robin Posted September 15, 2010 Share Posted September 15, 2010 Did you not bother to follow the tutorial at all? Link to comment Share on other sites More sharing options...
Murdoc Posted September 15, 2010 Share Posted September 15, 2010 @Robin:> Did you not bother to follow the tutorial at all?Well, once I realized that to have maps indivisible by 32 was not gonna work lol, then I solved the problem with it never lining up. I only have one thing to say at this point:![](http://images.picturesdepot.com/photo/h/homer_simpson_doh-11214.jpg) Link to comment Share on other sites More sharing options...
Ixxangelxxl Posted October 30, 2010 Share Posted October 30, 2010 I did it right lol! Great tutorial only took me a couple mins to figure out what i was doing wrong. Thanks guys Link to comment Share on other sites More sharing options...
quintensky Posted August 9, 2011 Share Posted August 9, 2011 first1 the:picScreen.width = 800 ' Width in tiles * 32picScreen.height = 608 ' Height in tiles * 32where do i put it im picscreen_mousedown?top? bottom? random?i know this is a very very old topic but does it still work? Link to comment Share on other sites More sharing options...
andy200129 Posted June 15, 2012 Share Posted June 15, 2012 yea ok i instaled it all correctly but yet when i fill or design map it only fills old gap pluss..i cant walk out onto new bit still the same of being in the same area…..>! ![](http://www.freemmorpgmaker.com/files/imagehost/pics/22cd3ee3b995e38e1c027f89feec6aca.png)I know the game looks abit every where but its because its under making :) Link to comment Share on other sites More sharing options...
Growlith1223 Posted June 15, 2012 Share Posted June 15, 2012 delete your maps -_- Link to comment Share on other sites More sharing options...
Kemerd Posted June 24, 2012 Share Posted June 24, 2012 Try going on the map editor, and onto properties, and increase map size.500th Post! Woot! 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