grinseengel Posted January 7, 2019 Share Posted January 7, 2019 Hello, I am a total beginner and I have a question about publishing. I have uploaded a tutorial map (07-AI und events) and would like to publish it. However, I get as a result always only one level with two simple blocks. What am I doing wrong? Greetings Andreas Quote Link to comment Share on other sites More sharing options...
Solution AggrorJorn Posted January 7, 2019 Solution Share Posted January 7, 2019 When you play the game via the editor, your game starts with the currently opened map in the editor. When you publish a game, the main.lua file opens the map specified with Map:Load("Maps/start.map") If left unchanged this will be start.map which is the scene with the 2 boxes. Quote Link to comment Share on other sites More sharing options...
grinseengel Posted January 7, 2019 Author Share Posted January 7, 2019 Thanks for the quick help. ? Now I have another question. Which max resolution does the engine have? In the demo levels you can only set a maximum of 1280 pixels. Greetings Andreas Quote Link to comment Share on other sites More sharing options...
carlb Posted January 7, 2019 Share Posted January 7, 2019 https://www.leadwerks.com/learn?page=API-Reference_Object_System_GetGraphicsMode this show what support graphic mode you machine can do Quote Asus ROG STRIX B350-F GAMMING AMD Ryzen 7 1700x 32 gb ddr4 15 TB raid 5 HD Nvidia EVGA 1060GTX Win10 64bit Link to comment Share on other sites More sharing options...
grinseengel Posted January 7, 2019 Author Share Posted January 7, 2019 Ok, I have the possibility to get a 4k resolution. I have a Gforce 1070. In the script I find the following code: "local gfxmode = System: GetGraphicsMode (System: CountGraphicsModes () - 1) if System: GetProperty ("devmode") == "1" then gfxmode.x = math.min (1280, gfxmode.x) gfxmode.y = Math: Round (gfxmode.x * 9/16) windowstyle = Window.Titlebar " How can I change the resolution? Greetings Andreas Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.