DudeAwesome Posted January 15, 2014 Share Posted January 15, 2014 It would be awesome when the engine allow us to prepare and change the map when we want to do it, to create some kind of background loading. (when using threads) For now a map will be loaded and changed with Map:Load() thats not optimal in my opinion because the map will be prepared and loaded with one function. But I would like to have a api function that allow me to trigger a prepareLoad() function that stores the mapfile in the RAM and a api function like Map:PushChangeMap() that allow me to do the mapload once the map was prepared. That would be great so we can use a CollisionTrigger (Like the last room in the Level) to do a Map:PrepareLoad(). And the Player dont know that the map is loaded in the Background. With an other CollisionTrigger (Like the last door in the room that give access to next level) I wanna push the Mapload (obviously the map was prepared before) with Map:PushChangeMap(). I think this would increase the mapload a lot and give the player an other game experience than always see a loading screen. 2 Quote It doesn´t work... why? mhmmm It works... why? Link to comment Share on other sites More sharing options...
Rick Posted January 15, 2014 Share Posted January 15, 2014 This should be for Lua as well. All Leadwerks Lua is doing is calling C++ code anyway. I don't know what the best way to do this would be though. I haven't thought about it all that much, but it would be nice. 1 Quote Link to comment Share on other sites More sharing options...
DudeAwesome Posted April 4, 2014 Author Share Posted April 4, 2014 yep lua also Quote It doesn´t work... why? mhmmm It works... why? 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.