MM_Unloader (unload from memory) (Plugins)

Discuss Scirra's 2D Asset Store

Post » Mon Aug 28, 2017 11:02 am

MM_Unloader (unload from memory) — Now for sale in the Scirra Store!

What you buy here?

  • MM_Unloader plugin for C2 (c2addon)
  • MM_Unloader plugin for C3 (c3addon)
  • Example capx download:

What is MM_Unloader?

With MM_Unloader you can release unused textures from memory at any time during gameplay.

Why do I need it?

Construct keeps textures of Sprites/SpriteFonts/etc. in memory even after all the instances got destroyed. This is in case you would want to create this object again.

So even if the object will not be created any more on this layout, it resides in memory. This is ok for most of projects, however there are certain projects/cases where you would like to clean up the RAM before the layout transition like open world games, single layout games, multi-sprite-background setup optimized with Paster plugin, etc. You can also just want to release the memory for other apps on the device in case of low RAM availability (on mobile for instance). There are probably hundreds of other reasons you would want to do it that I can't currently think of. After all - now it's possible with MM_Unloader.


  • Unload textures at any time you want,
  • Clean up action - release all unused textures of all objects,
  • Unload object - release texture of particular object,
  • Hard destroy - destroy all instances and unload texture of specified object,


This plugin is NOT a dangerous or unstable hack. It's fully compatible with C2/3 engine runtime and uses exactly the same techniques as native clean-up during layout transition. It's absolutely safe to use.

Want to be notified about updated?

Join my Discord server:

Use this topic to leave comments, ask questions and talk about MM_Unloader (unload from memory)
Posts: 1,106
Reputation: 50,658

Return to Scirra Store

Who is online

Users browsing this forum: No registered users and 0 guests