Carm3D Posted September 4, 2017 Share Posted September 4, 2017 Hello, I did a successful bit of animation in Leadwerks. I tried publishing it as a standalone but it does not resemble what I see when when running the "game" from Leadwerks. It just shows a black screen. I tried exporting to Steam Workshop and it gave the same result. Black screen. Any suggestions? Quote Link to comment Share on other sites More sharing options...
randomdude Posted September 4, 2017 Share Posted September 4, 2017 Have you changed the mapname in the menu.lua file? you need to set the name you have given your first map into the menu.lua at line 400-407. Quote Link to comment Share on other sites More sharing options...
tumira Posted September 4, 2017 Share Posted September 4, 2017 In menu.lua find text start.map and replace it with your map name Quote Link to comment Share on other sites More sharing options...
Carm3D Posted September 4, 2017 Author Share Posted September 4, 2017 I changed three instances of "start" (one starting with upper-case S) to begin. The game still runs fine in Leadwerks but publishes out to a black screen still. :/ Quote Link to comment Share on other sites More sharing options...
randomdude Posted September 4, 2017 Share Posted September 4, 2017 No man, only this one instance ":Load(Maps/begin.map.)" leave the rest as it was. Quote Link to comment Share on other sites More sharing options...
Carm3D Posted September 4, 2017 Author Share Posted September 4, 2017 2 minutes ago, randomdude said: No man, only this one instance ":Load(Maps/begin.map.)" leave the rest as it was. Hmm... I put the two other begins back to start. Still no good. All black. Not that there's anything wrong with black.. Black is beautiful. Quote Link to comment Share on other sites More sharing options...
randomdude Posted September 4, 2017 Share Posted September 4, 2017 The mapname needs to be correct with lower and upper cases. if self.newbutton:GetText()=="NEW GAME" then if Map:Load("Maps/begin.map") then prevmapname = "start" --Send analytics event Analytics:SendProgressEvent("Start",prevmapname) self.newbutton:SetText("RESUME GAME") end end This works for me. make a screenshot of your scene in LW. Quote Link to comment Share on other sites More sharing options...
Carm3D Posted September 4, 2017 Author Share Posted September 4, 2017 3 minutes ago, randomdude said: The mapname needs to be correct with lower and upper cases. Yeah... Mine looks just like that now. Here's the scene you requested: Quote Link to comment Share on other sites More sharing options...
randomdude Posted September 4, 2017 Share Posted September 4, 2017 Then I have no idea what for someone else. Quote Link to comment Share on other sites More sharing options...
Carm3D Posted September 4, 2017 Author Share Posted September 4, 2017 Just now, randomdude said: Then I have no idea what for someone else. Okay thanks for your time. 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.