Xlithan Posted September 15, 2017 Author Share Posted September 15, 2017 Hi all. I'm trying to enlarge the screen, but I think I may be missing something when updating some of the sizes in the code. I get the larger screen, but the map doesn't stop scrolling, it keeps scrolling until about 4 tiles in, and then stops.What values do I need to update to get it to work properly with a larger screen? Thanks. Link to comment Share on other sites More sharing options...
Mohenjo Daro Posted September 15, 2017 Share Posted September 15, 2017 Try this https://archive.eclipseorigins.com/Thread-Rob-39-s-Feature-Request-Thread-33?pid=925656#pid925656 Link to comment Share on other sites More sharing options...
Xlithan Posted September 15, 2017 Author Share Posted September 15, 2017 That won't work for this engine. Link to comment Share on other sites More sharing options...
SolidLink Posted September 15, 2017 Share Posted September 15, 2017 @xlithan It works lol. I tested it :P Link to comment Share on other sites More sharing options...
Xlithan Posted September 15, 2017 Author Share Posted September 15, 2017 Either way this isn't what I wanted I just wanted to enlarge the screen. I've figured it out. After you've changed the values of Max_MapX, Max_MapY, and changed the twip values of frmMain.width/height, you need to go around and look for any 800x600 sizes relating to the interface. It's all good. Link to comment Share on other sites More sharing options...
Xlithan Posted September 15, 2017 Author Share Posted September 15, 2017 Can anybody tell me where the code is for drawing this shadow on the top and bottom of the screen?![shadow](https://i.snag.gy/gYhaQj.jpg) Link to comment Share on other sites More sharing options...
Xlithan Posted September 15, 2017 Author Share Posted September 15, 2017 Never mind found it. Link to comment Share on other sites More sharing options...
IGADarth Posted September 16, 2017 Share Posted September 16, 2017 @xlithan Hello, can you please post where you found it? Thank you in advance. Link to comment Share on other sites More sharing options...
Xlithan Posted September 16, 2017 Author Share Posted September 16, 2017 Public Sub DrawGUI() ' 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, 64 RenderTexture Tex_GUI(23), 0, 0, 0, 0, 1024, 64, 1, 64 RenderTexture Tex_GUI(22), 0, 768 - 64, 0, 0, 1024, 64, 1, 64Where I have 1024, that was 800. My screen is 1024x768 Link to comment Share on other sites More sharing options...
Mohenjo Daro Posted September 16, 2017 Share Posted September 16, 2017 You can always use RenderTexture Tex_GUI(22), 0, frmMain.ScaleHeight - 64, 0, 0, frmMain.ScaleWidth, 64, 1, 64Just make sure the form scalemode is Pixels and not Twips Link to comment Share on other sites More sharing options...
Xlithan Posted September 16, 2017 Author Share Posted September 16, 2017 That works too :) That would work good for if you had an option to select different screen sizes. 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