Real layout preloading with % progress

  • 4 favourites



3,345 visits, 5,170 views



This tutorial hasn't been translated.


This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.


This tutorial includes the use of a paid plugin from Scirra Store.

In my previous tutorial for this topic I showed how to trick/mask the lag that occurs while switching between layouts.

In this tutorial, there will be no tricks. I'll show you how to make a real preloading with MM_Preloader plugin.

The problem

A lot happens during transition from one layout to another. Objects have to be loaded, instances have to be created, sprite images have to be loaded, engine has to release old data from the memory, etc.

From all those operations, the most heavy one is loading sprite's image. The engine has to read the PNG/JPG file, decompress it to bitmap and place in memory. The more images and the bigger images are there on the next layout, the bigger the lag is.

The solution is in the MM_Preloader plugin.


  • Order by
Want to leave a comment? Login or Register an account!