highonpaint Posted October 16, 2012 Author Share Posted October 16, 2012 Hey guys I have changed the res of my screen and changed the positioning of the interface but cant work out what this is, any idears?[http://gyazo.com/66c…08b03e9b73a4f29](http://gyazo.com/66c1b266f1ee87de908b03e9b73a4f29)Im using E.A 3.0.15 Link to comment Share on other sites More sharing options...
Growlith1223 Posted October 16, 2012 Share Posted October 16, 2012 lawl, Look in DrawGUI then look for the GUI number for those shadow thingys, modify the positions and change the width and it should be fixed Link to comment Share on other sites More sharing options...
tslusny Posted October 16, 2012 Share Posted October 16, 2012 change width to frmMain.scalewidth (there is 800 now) Link to comment Share on other sites More sharing options...
highonpaint Posted October 16, 2012 Author Share Posted October 16, 2012 > change width to frmMain.scalewidth (there is 800 now)that made no sense to me soz Link to comment Share on other sites More sharing options...
Growlith1223 Posted October 16, 2012 Share Posted October 16, 2012 what is the size of the new screen?number 1.Change the width of the shadows to use the frmMain.ScaleWidthand change the positions to move with the screen, it's a better way to use it. Link to comment Share on other sites More sharing options...
highonpaint Posted October 16, 2012 Author Share Posted October 16, 2012 the new size is 1024 by 768 and tbh mate idk how Link to comment Share on other sites More sharing options...
Growlith1223 Posted October 16, 2012 Share Posted October 16, 2012 ok Go into ModGraphics or whatever the hell it's named and look for a sub called DrawGUIin that sub at the very top should be 2 lines that renders``` RenderTexture Tex_GUI(32), 0, 0, 0, 0, 800, 64, 1, 64 RenderTexture Tex_GUI(31), 0, 600 - 64, 0, 0, 800, 64, 1, 64```Replace it with``` RenderTexture Tex_GUI(32), 0, 0, 0, 0, frmMain.ScaleWidth, 64, 1, 64 RenderTexture Tex_GUI(31), 0, frmMain.ScaleHeight - 64, 0, 0, frmMain.ScaleWidth, 64, 1, 64``` Link to comment Share on other sites More sharing options...
highonpaint Posted October 16, 2012 Author Share Posted October 16, 2012 I have this insteadDim i As Long, X As Long, Y As LongDim Width As Long, Height As Long Link to comment Share on other sites More sharing options...
highonpaint Posted October 16, 2012 Author Share Posted October 16, 2012 I I done it and got unrecoverable dx8 error Link to comment Share on other sites More sharing options...
Growlith1223 Posted October 16, 2012 Share Posted October 16, 2012 could you post the code for that sub or somethin? xD Link to comment Share on other sites More sharing options...
highonpaint Posted October 16, 2012 Author Share Posted October 16, 2012 ```Public Sub DrawGUI()Dim i As Long, X As Long, Y As LongDim Width As Long, Height As Long' render shadow'EngineRenderRectangle Tex_GUI(27), 0, 0, 0, 0, 800, 64, 1, 64, 800, 64'EngineRenderRectangle Tex_GUI(26), 0, 600 - 64, 0, 0, 800, 64, 1, 64, 800, 64RenderTexture Tex_GUI(32), 0, 0, 0, 0, frmMain.ScaleWidth, 64, 1, 64RenderTexture Tex_GUI(31), 0, frmMain.ScaleHeight - 64, 0, 0, frmMain.ScaleWidth, 64, 1, 64' render chatboxIf Not inChat ThenIf chatOn ThenWidth = 412Height = 145RenderTexture Tex_GUI(1), GUIWindow(GUI_CHAT).X, GUIWindow(GUI_CHAT).Y, 0, 0, Width, Height, Width, HeightRenderText Font_Default, RenderChatText & chatShowLine, GUIWindow(GUI_CHAT).X + 38, GUIWindow(GUI_CHAT).Y + 126, White' draw buttonsFor i = 34 To 35' set co-ordinateX = GUIWindow(GUI_CHAT).X + Buttons(i).XY = GUIWindow(GUI_CHAT).Y + Buttons(i).YWidth = Buttons(i).WidthHeight = Buttons(i).Height' check for stateIf Buttons(i).state = 2 Then' we're clicked boyo'EngineRenderRectangle Tex_Buttons_c(Buttons(i).PicNum), x, y, 0, 0, width, height, width, height, width, heightRenderTexture Tex_Buttons_c(Buttons(i).PicNum), X, Y, 0, 0, Width, Height, Width, HeightElseIf (GlobalX >= X And GlobalX <= X + Buttons(i).Width) And (GlobalY >= Y And GlobalY <= Y + Buttons(i).Height) Then' we're hoverin''EngineRenderRectangle Tex_Buttons_h(Buttons(i).PicNum), x, y, 0, 0, width, height, width, height, width, heightRenderTexture Tex_Buttons_h(Buttons(i).PicNum), X, Y, 0, 0, Width, Height, Width, Height' play sound if neededIf Not lastButtonSound = i ThenPlaySound Sound_ButtonHover, -1, -1lastButtonSound = iEnd IfElse' we're normal'EngineRenderRectangle Tex_Buttons(Buttons(i).PicNum), x, y, 0, 0, width, height, width, height, width, heightRenderTexture Tex_Buttons(Buttons(i).PicNum), X, Y, 0, 0, Width, Height, Width, Height' reset sound if neededIf lastButtonSound = i Then lastButtonSound = 0End IfNextElseRenderTexture Tex_GUI(1), GUIWindow(GUI_CHAT).X, GUIWindow(GUI_CHAT).Y + 123, 0, 123, 412, 22, 412, 22End IfRenderChatTextBufferElseIf GUIWindow(GUI_CURRENCY).visible Then DrawCurrencyIf GUIWindow(GUI_EVENTCHAT).visible Then DrawEventChatEnd IfDrawGUIBarsDrawMapName' render menuIf GUIWindow(GUI_MENU).visible Then DrawMenu' render hotbarIf GUIWindow(GUI_HOTBAR).visible Then DrawHotbar' render menusIf GUIWindow(GUI_INVENTORY).visible Then DrawInventoryIf GUIWindow(GUI_SPELLS).visible Then DrawSkillsIf GUIWindow(GUI_CHARACTER).visible Then DrawCharacterIf GUIWindow(GUI_OPTIONS).visible Then DrawOptionsIf GUIWindow(GUI_PARTY).visible Then DrawPartyIf GUIWindow(GUI_SHOP).visible Then DrawShopIf GUIWindow(GUI_BANK).visible Then DrawBankIf GUIWindow(GUI_TRADE).visible Then DrawTradeIf GUIWindow(GUI_DIALOGUE).visible Then DrawDialogue' Drag and dropDrawDragItemDrawDragSpell' DescriptionsDrawInventoryItemDescDrawCharacterItemDescDrawPlayerSpellDescDrawBankItemDescDrawTradeItemDescEnd Sub``` Link to comment Share on other sites More sharing options...
highonpaint Posted October 16, 2012 Author Share Posted October 16, 2012 this is also the eroor I get[http://gyazo.com/50e…cba503179117bcf](http://gyazo.com/50e826d3f1d0034a2cba503179117bcf) Link to comment Share on other sites More sharing options...
highonpaint Posted October 16, 2012 Author Share Posted October 16, 2012 Ok I may be wrong But I think it has something to do with the shadow screen in the pic, so if anyone knows how to alter it i will try it thanks[http://gyazo.com/c1748afd9ffe3d809055fa714756c8a3](http://gyazo.com/c1748afd9ffe3d809055fa714756c8a3) Link to comment Share on other sites More sharing options...
Mumzy Posted October 18, 2012 Share Posted October 18, 2012 I have Elipse Origons couldn't veiw the entire event system page. The rest of the game was a little to big as well. Therefore I changed the resolution settings, as a result I got this: [http://i47.tinypic.com/2yy42ld.jpg](http://i47.tinypic.com/2yy42ld.jpg) (it's a jpg so the pixels suck.)Everything is misplaced I turned it all the settings back to default, restarted PC and still looks like crap. It's clearly not even functional. Now I would just ber happy to have it back to the original size! I've searched a lot for any fixes and this thread is all I found. I feel your pain Highonpaint! 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