santa-clause Posted December 26, 2012 Author Share Posted December 26, 2012 Hello,I made a tutorial so if you press the maximize button the screen expands and the buttons still work.All Client side.Open the picture below to know what to change for borderstyle resizable:>! ![](http://www.freemmorpgmaker.com/files/imagehost/pics/643e633c37a54152e7c54e6f7870adb5.png) In modgraphicsIn Public Sub Render_Graphics()Replace:```Direct3D_Device.Present srcRect, ByVal 0, 0, ByVal 0```Whit this:```Direct3D_Device.Present ByVal 0, ByVal 0, 0, ByVal 0```In modinputIn Public Sub HandleMouseMoveReplace:```GlobalX = XGlobalY = YGlobalX_Map = GlobalX + (TileView.Left * PIC_X) + Camera.LeftGlobalY_Map = GlobalY + (TileView.Top * PIC_Y) + Camera.Top```Whit this:```GlobalX = (ScreenWidth / frmMain.ScaleWidth) * XGlobalY = (ScreenHeight / frmMain.ScaleHeight) * YGlobalX_Map = GlobalX + (TileView.Left * PIC_X) + Camera.LeftGlobalY_Map = GlobalY + (TileView.Top * PIC_Y) + Camera.Top```In The same subReplace:```CurX = TileView.Left + ((X + Camera.Left) \ PIC_X)CurY = TileView.Top + ((Y + Camera.Top) \ PIC_Y)```Whit this```CurX = TileView.Left + ((GlobalX + Camera.Left) \ PIC_X)CurY = TileView.Top + ((GlobalY + Camera.Top) \ PIC_Y)``` Link to comment Share on other sites More sharing options...
hedgy Posted December 26, 2012 Share Posted December 26, 2012 Thanks, many players from my game asked for this.Doesn't look too great it my opinion, but it does the job for people that likes it maximized.You forgot to add you also should put the maxButton property at frmMain to true. Link to comment Share on other sites More sharing options...
santa-clause Posted December 27, 2012 Author Share Posted December 27, 2012 Ok i added that they have to change the maxbutton thing Link to comment Share on other sites More sharing options...
WiseRock Posted December 28, 2012 Share Posted December 28, 2012 did I do something wrong?![](http://i47.tinypic.com/anng9x.png)Everything just maxmizes. The every thing the chatboxes, the Health Bars and the buttons Link to comment Share on other sites More sharing options...
Aleano Posted December 28, 2012 Share Posted December 28, 2012 > did I do something wrong?> > Everything just maxmizes. The every thing the chatboxes, the Health Bars and the buttonsNope you did it correctly, thats how it works. Link to comment Share on other sites More sharing options...
WiseRock Posted December 28, 2012 Share Posted December 28, 2012 thanks Link to comment Share on other sites More sharing options...
santa-clause Posted December 28, 2012 Author Share Posted December 28, 2012 No problem ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) Link to comment Share on other sites More sharing options...
BluBear Posted December 28, 2012 Share Posted December 28, 2012 Yeah , now if you can make it so that the window would keep the screen ratio that would help people with a widescreen too. Link to comment Share on other sites More sharing options...
WiseRock Posted December 29, 2012 Share Posted December 29, 2012 > Yeah , now if you can make it so that the window would keep the screen ratio that would help people with a widescreen too.'We should like make a screen resolution changerExample1920 × 10801280 x 720and etcSuch a good tutorial all its missing are the resolution ratios Link to comment Share on other sites More sharing options...
santa-clause Posted December 31, 2012 Author Share Posted December 31, 2012 > '> > We should like make a screen resolution changer> > Example> > 1920 × 1080> > 1280 x 720> > and etc> > Such a good tutorial all its missing are the resolution ratiosWorking on that Link to comment Share on other sites More sharing options...
teamokell Posted January 2, 2013 Share Posted January 2, 2013 Do it for EO ![:)](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/smile.png) Link to comment Share on other sites More sharing options...
santa-clause Posted January 3, 2013 Author Share Posted January 3, 2013 Isn't possible for EO can only be done for dx8 and everything has to be rendered to frmMain Link to comment Share on other sites More sharing options...
MadalinV Posted January 3, 2013 Share Posted January 3, 2013 Când this be done for ER? And can you make the GUI have the same size while maximising only the windows? of view? Link to comment Share on other sites More sharing options...
WiseRock Posted January 4, 2013 Share Posted January 4, 2013 > Când this be done for ER? And can you make the GUI have the same size while maximising only the windows? of view?Yes but you really dont need to do any code changes as for the form I am not sure. Link to comment Share on other sites More sharing options...
santa-clause Posted January 11, 2013 Author Share Posted January 11, 2013 > Când this be done for ER? And can you make the GUI have the same size while maximising only the windows? of view?This is already inplented in ER ![-_-](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/sleep.png)You just need to change the form state to resizable Link to comment Share on other sites More sharing options...
WiseRock Posted January 12, 2013 Share Posted January 12, 2013 Check out how Robin does on CyrstalShire ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png) Link to comment Share on other sites More sharing options...
santa-clause Posted January 17, 2013 Author Share Posted January 17, 2013 > Check out how Robin does on CyrstalShire ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png)I'll do that ![:D](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/biggrin.png) Link to comment Share on other sites More sharing options...
Eaglefly-NL Posted January 23, 2013 Share Posted January 23, 2013 is there anywhere on this site a beginners tutorial vb6 i dont find screen_state and form_state Link to comment Share on other sites More sharing options...
santa-clause Posted January 26, 2013 Author Share Posted January 26, 2013 Eaglefly i'll add screenshots for that =P Link to comment Share on other sites More sharing options...
Eaglefly-NL Posted January 26, 2013 Share Posted January 26, 2013 ok thx Link to comment Share on other sites More sharing options...
santa-clause Posted January 26, 2013 Author Share Posted January 26, 2013 NP Link to comment Share on other sites More sharing options...
DarkDino Posted June 12, 2013 Share Posted June 12, 2013 How to use this in EO 3.0 :(? Link to comment Share on other sites More sharing options...
santa-clause Posted July 21, 2013 Author Share Posted July 21, 2013 > How to use this in EO 3.0 :(?You first have to render everything to frmmain before you can actually use this in EO 3.0 and that's what thomas actually did in Eclipse Advanced.He rendered everything to frmMain.Use [this](http://www.eclipseorigins.com/community/index.php?/topic/127753-eo-event-system-30-resolution-changer/) for fullscreen in EO3.0 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