Gamer4Life Posted February 13, 2016 Share Posted February 13, 2016 I attempted to publish a game to by selecting file/publish/stand and downloaded/compressed the file into a folder. For some reason when I run the .exe file it only shows 1% roughly of the stuff that is in the game. The game launches and has a small part but almost nothing in it. Is there something I did wrong? Quote Link to comment Share on other sites More sharing options...
extenz Posted February 13, 2016 Share Posted February 13, 2016 The first map after you run your game will always be "start.map" so make sure you map's name is "start.map" Quote Link to comment Share on other sites More sharing options...
Haydenmango Posted February 13, 2016 Share Posted February 13, 2016 Try un-checking "Only include used files" when you publish your game. Quote Check out my game Rogue Snowboarding- https://haydenmango.itch.io/roguesnowboarding Link to comment Share on other sites More sharing options...
Undac Posted February 13, 2016 Share Posted February 13, 2016 Well, we'd need more details. What can you see in debug mode, but not in release: maps or events and objects from maps? Do you have multiple maps? If so, is there a method to swap between maps? Are you using cpp, lua or both? etc Quote Link to comment Share on other sites More sharing options...
Rick Posted February 13, 2016 Share Posted February 13, 2016 To elaborate on Haydenmango's comment, which is probably right, if you load a lot of assets via code only (ie those assets are not in the map file) then the engine doesn't know you want those assets as it doesn't seem to go through your code to see what assets you need but just looks at the map file. 1 Quote Link to comment Share on other sites More sharing options...
Josh Posted February 13, 2016 Share Posted February 13, 2016 The editor actually does scan Lua and CPP files looking for file names. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Rick Posted February 13, 2016 Share Posted February 13, 2016 Interesting. A few months ago when we would check the box to only include used files we were getting similar errors this guy did and we were loading a fair amount of stuff via code. We unchecked that box and it would work. When we would look at the log it wasn't loading some resources that only got loaded via code so we made this conclusion. Might be a bug (or maybe you fixed/changed this in the last few months?). Quote Link to comment Share on other sites More sharing options...
Josh Posted February 13, 2016 Share Posted February 13, 2016 If the name of the file is procedurally created it won't be included. The file name has to be in the code. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
AggrorJorn Posted February 14, 2016 Share Posted February 14, 2016 I was helping someone were vegetation that was painted via the terrein editor, didnt end up in the Publishers game. Does the publishing add those vegeations Models too? I would just include everything to be sure. Once your game gets to the finale release you can start dumping assets you no longer need. Quote Link to comment Share on other sites More sharing options...
Gamer4Life Posted February 14, 2016 Author Share Posted February 14, 2016 The cause to this was that the wrong start file loaded so i deleted all the extra ones i had and changed the one I wanted to the default start map name. 1 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.