SilentKillzr Posted July 11, 2012 Share Posted July 11, 2012 Okay so somewhere in between of me changing my game size, My hotbar F 11 Render text stopped work, I have been messing with it for hours. I cant seem to get those to display! Link to comment Share on other sites More sharing options...
Synergy Posted July 12, 2012 Share Posted July 12, 2012 I can't find:```Me.Width = xxx```Where is it? o.O Link to comment Share on other sites More sharing options...
dimx Posted July 12, 2012 Share Posted July 12, 2012 @Synergy:> I can't find:> > ```> Me.Width = xxx> ```> Where is it? o.OThis tutorial is a bit old so some parts might be outdated. I don't know which version you are using but in EOv2 that is not there. All you would need to do is. Just stretch the frmmain so it is a bigger to fit your new screen size.ThenFind```Public Sub Main()```Scroll down and find all the way on the bottom.``` frmLoad.Visible = False```under that add```Â Â frmMain.picScreen.width = 800 ' Width in tiles * 32Â Â frmMain.picScreen.height = 608 ' Height in tiles * 32```If you look in the above posts you can change those values to any number that is divided by 32 evenly.So 800 / 32 = 25 then you subtract 1 to get 24and 608 / 32 = 19 - 1 = 18Now find this in client and server side```Public Const MAX_MAPX As Byte = 14Public Const MAX_MAPY As Byte = 11```And change the values to the ones we calculated from above so it looks like this.```Public Const MAX_MAPX As Byte = 24Public Const MAX_MAPY As Byte = 18```That is just so when you make a new map it is automatically the screen size.Now you can eater delete all of the maps and let the server rebuild them which I recommend or you can edit them manually in the map properties / map editor.That is the easy part now you would need to edit the GUI to fit you new screen size. I think that is it. Link to comment Share on other sites More sharing options...
Synergy Posted July 12, 2012 Share Posted July 12, 2012 Yeah, I thought it might be due to the different versions.I'm actually using the Nightly release, which is DX8.. I tried this and it didn't work; I guess it's different with DX8? :/ Link to comment Share on other sites More sharing options...
Ruins of Hell Posted July 12, 2012 Share Posted July 12, 2012 @Synergy:> I guess it's different with DX8? :/Yep. The nightly release uses DX8 so the rendering system is different. Link to comment Share on other sites More sharing options...
dimx Posted July 12, 2012 Share Posted July 12, 2012 @Soul:> Yep. The nightly release uses DX8 so the rendering system is different.~~Oh yea, if you give me a day or two I can make you a tutorial to increase the screen size on dx8\. Ill pm you the post once I make it.~~ Link to comment Share on other sites More sharing options...
dimx Posted July 12, 2012 Share Posted July 12, 2012 Is this the dx8 version that you are referring to because I just checked the source and the above tutorial that I have should work with this as well.http://www.touchofdeathforums.com/smf2/index.php/topic,80930.0.htmlWhat is the result that you get?Also I forgot to mention above that you dont need to do this part```frmMain.picScreen.width = 800 ' Width in tiles * 32frmMain.picScreen.height = 608 ' Height in tiles * 32```If you stretch the picScreen manually to that size. Link to comment Share on other sites More sharing options...
Synergy Posted July 12, 2012 Share Posted July 12, 2012 Well, I want to make my screen 1024x768.When I change it, it doesn't actually change the screen's size, I just lose most of the GUI..It's quite confusing, because I can't work out what isn't happening right.. :p Link to comment Share on other sites More sharing options...
dimx Posted July 12, 2012 Share Posted July 12, 2012 That is what is supposed to happen. Now you would need to edit the GUI part manually stretch you frmmain and you need to move the all of the gui parts so that they are not under the screen.If you just wanted to change the form size then you would just need to stretch it to fit the size you want. Link to comment Share on other sites More sharing options...
Synergy Posted July 12, 2012 Share Posted July 12, 2012 @Slinky:> That is what is supposed to happen. Now you would need to edit the GUI part manually stretch you frmmain and you need to move the all of the gui parts so that they are not under the screen.> > If you just wanted to change the form size then you would just need to stretch it to fit the size you want.Ah, I see. Thanks for clearing that up. On another subject, how could I make the boxes have transparency? Similar to how CS:DE did it, only not bugged to high-heaven. :P Link to comment Share on other sites More sharing options...
dimx Posted July 13, 2012 Share Posted July 13, 2012 Ill show you if you make another post or keep the conversation in pm as that s off topic here. Link to comment Share on other sites More sharing options...
Jumbofile Posted July 13, 2012 Share Posted July 13, 2012 Nice tut and a good screen size but someones pic or siggy has virus. Link to comment Share on other sites More sharing options...
Synergy Posted July 13, 2012 Share Posted July 13, 2012 @Jumbofile:> Nice tut and a good screen size but someones pic or siggy has virus.I noticed that, it's only on the first page though.. Link to comment Share on other sites More sharing options...
SilentKillzr Posted July 16, 2012 Share Posted July 16, 2012 Interesting. This all worked very well minus the F1-F12 text appearing atop of the hotbar icons. Still trying to hunt down why. Box never changed size, box never changed name. Only thing different was top/left locations. Link to comment Share on other sites More sharing options...
Eevee204 Posted July 22, 2012 Share Posted July 22, 2012 Nice tutorial worked wondered for me. 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