lexkymbeth Posted May 24, 2014 Author Share Posted May 24, 2014 **This is only client!**Since **785 (EO's Width)** is not divisible by any even number you must change the size of frmMain (800x600 is a good size) This will not be covered in this tutorialDerived from [Here](http://forums.codeguru.com/showthread.php?497248-VB6-How-Do-I-Change-The-Screen-Resolution-Only-For-My-Program), changed for easy implementation.**NOTE:** You may want to add an exit button to **frmMain** that calls **Unload Me** That is up to you to createAdd the file below to your project.**frmMain**, under **Private PresentY As Long** add.```Public OldX As LongPublic OldY As Long```**This next steps depends on what engine you use**, you need to fine the part where your engine starts and exitsFor EO 3 (Maybe others only tryed it with EO 3 so far, and with just an empty project)**modGeneral**, **GameInit**, under **frmMain.Show** add. Replace Width and Height with your current **frmMain's** res EO uses **785x****594 **THIS IS NOT DIVISIBLEby 12 you MUST change frmMain's size to be divisible by 12(Current bit per pix)```frmMain.OldX = Screen.Width / Screen.TwipsPerPixelXfrmMain.OldY = Screen.Height / Screen.TwipsPerPixelYChangeResolution ReplaceWithWidth, ReplaceWithHeight frmMain.WindowState = vbMaximized ' It fixes positioning on some monitors```**modGeneral**, **logoutGame**, under **Dim buffer As clsBuffer, i As Long** (For neatness, it can (Maybe) be placed anywhere) add.```ChangeResolution frmMain.OldX, frmMain.OldY```Last, open **frmMain's** visual editor change **frmMain's BorderStyle** to **none** Link to comment Share on other sites More sharing options...
Zamin Posted June 8, 2014 Share Posted June 8, 2014 Has anyone tried this?Can we see some screenshots? Link to comment Share on other sites More sharing options...
Jumbofile Posted June 8, 2014 Share Posted June 8, 2014 Screen shot.[attachment=1232:fullscreen.png] Link to comment Share on other sites More sharing options...
Zopto Posted June 11, 2014 Share Posted June 11, 2014 > Screen shot.> > ![](http://www.eclipseorigins.com/community/public/style_images/Eclipse_XGame_Images/attachicon.gif)[fullscreen.png](http://www.eclipseorigins.com/community/index.php?app=core&module=attach§ion=attach&attach_rel_module=post&attach_id=1232)tnx for using my custom engine xD Link to comment Share on other sites More sharing options...
Zopto Posted June 14, 2014 Share Posted June 14, 2014 nice tut ! Link to comment Share on other sites More sharing options...
Jumbofile Posted June 15, 2014 Share Posted June 15, 2014 If you are using a DX7 engine you will get that error. Link to comment Share on other sites More sharing options...
Zopto Posted June 16, 2014 Share Posted June 16, 2014 > If you are using a DX7 engine you will get that errori use dx8 lol and fixed :P Link to comment Share on other sites More sharing options...
Tic Tac 2 Posted October 8, 2014 Share Posted October 8, 2014 I get the error "Mode Not Supported"the window gets fullscreened, but the actual game remains in the top left corner. sadface Link to comment Share on other sites More sharing options...
Tic Tac 2 Posted October 8, 2014 Share Posted October 8, 2014 Also, i'm using DX8 Eclipse 3.0 Link to comment Share on other sites More sharing options...
deathtaker26 Posted October 8, 2014 Share Posted October 8, 2014 *slow claps for lex* Link to comment Share on other sites More sharing options...
IFX Posted January 13, 2015 Share Posted January 13, 2015 Okay, i know i'm a little on the late end of things, but i get a "variable not defined" on replacewithwidth. I'm using a vanilla copy of eo3 Link to comment Share on other sites More sharing options...
deathtaker26 Posted January 13, 2015 Share Posted January 13, 2015 > Okay, i know i'm a little on the late end of things, but i get a "variable not defined" on replacewithwidth. I'm using a vanilla copy of eo3"Replace Width and Height with your current **frmMain's** res EO uses **785x****594 **THIS IS NOT DIVISIBLEby 12 you MUST change frmMain's size to be divisible by 12"ReplacewithWidth and ReplaceWithHeight are not actual variables, you have to set their values. Link to comment Share on other sites More sharing options...
IFX Posted January 13, 2015 Share Posted January 13, 2015 OHHHHH!!!!Now that i read that i realize how dumb of a mistake that was. Way to go IFX.also. Thanks. *applauds your fantastic system* it works brilliantly now. Link to comment Share on other sites More sharing options...
IFX Posted January 13, 2015 Share Posted January 13, 2015 > "Replace Width and Height with your current **frmMain's** res EO uses **785x****594 **THIS IS NOT DIVISIBLE> by 12 you MUST change frmMain's size to be divisible by 12> "> > > > ReplacewithWidth and ReplaceWithHeight are not actual variables, you have to set their values.Is there any way to set that to be the users screen resolution? Link to comment Share on other sites More sharing options...
deathtaker26 Posted January 13, 2015 Share Posted January 13, 2015 > Is there any way to set that to be the users screen resolution?I dunno. But you know who might know? Google. Link to comment Share on other sites More sharing options...
IFX Posted January 13, 2015 Share Posted January 13, 2015 *slow clap* okay. i get it. I'm just going to go put that project on the back burner, and go do something else. Link to comment Share on other sites More sharing options...
lexkymbeth Posted January 20, 2015 Author Share Posted January 20, 2015 > I dunno. But you know who might know? Google.Google knows all :S Link to comment Share on other sites More sharing options...
Rob Janes Posted January 20, 2015 Share Posted January 20, 2015 I posted a method to do this in Eclipse Origins 3.0 hereIt allows full screen gameplay with a sizable window, so as you size the window, it'll size your display accordingly![http://www.eclipseorigins.com/community/index.php?/topic/135796-robs-feature-request-thread/?p=926234](http://www.eclipseorigins.com/community/index.php?/topic/135796-robs-feature-request-thread/?p=926234) Link to comment Share on other sites More sharing options...
ramoneknot Posted March 16, 2015 Share Posted March 16, 2015 and for DX7? 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