Ninjadoodle Posted April 25, 2018 Share Posted April 25, 2018 Hi @enpu I've broken up my images into 3x 2048x2048 atlases. I have a long animation that spans a couple of atlases. When creating the animation from the class - there is a slight pause as its first being created. In a past post, you said that this was a limitation of js and loading large files. I've tried to make the atlases smaller (instead of 4096x4096), but still cant get rid of the pause. You've also put in a pre render setting in order to cause this pause while loading, instead of mid-level. Is there anything I can do while still being able to use an anim of this size and get rid of this pause - should the atlases be even smaller? Quote Link to comment Share on other sites More sharing options...
enpu Posted April 25, 2018 Share Posted April 25, 2018 So is your problem now that your game is doing small pause while it's loading? Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted April 25, 2018 Author Share Posted April 25, 2018 Nope, actually I'm trying to get rid of the pause completely - I've noticed that making the atlases 1024x1024 seems to get rid of it. I however end up with about 6 atlases instead of 3. Quote Link to comment Share on other sites More sharing options...
enpu Posted April 25, 2018 Share Posted April 25, 2018 Well you seem to have solved the problem yourself Personally i would not consider that as a problem, more like a normal behaviour when loading assets. No matter what game engine, JavaScript or any other. There is always some sort of pause when loading assets to memory. How notable that is, really depends on how big the asset is, what device/computer are you using etc.. Quote Link to comment Share on other sites More sharing options...
Ninjadoodle Posted April 25, 2018 Author Share Posted April 25, 2018 @enpu - Thanks! I kinda feel that I don't really know what I'm doing half the time lol. I'm just making sure that my solution is valid and possibly see whether you or other Panda devs might have some trick up your sleeves 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.