This script demonstrates how you can cut the number of objects in a room dramatically by "merging" them together to form larger ones. This is an ideal script for top down games and platform games, as it will permit more instances to be placed in a room, since it can lower your instance count by over 50% (as high as 80% in some cases).
Note that the scripts work by changing the sprite index, so you are advised to use TILES to draw the walls/platforms, then make the objects for collisions invisible and optimise them with this script.
You can find a companion script to add tiles to a room automatically based on the instances placed (also written by me) from the Marketplace here.
Version 1.0.0. Published July 4, 2014
Created with GameMaker: Studio v1.99.161
You can only review assets you've bought.
Simple and effective.
Simple and effective
I have just optimised the collision objects in my game. In a total of 24 game levels I have saved on average 85% of object usage. I can still use singular collision objects in room editing secure in the knowledge that they will be compressed flawlessly on level start. Truly a must have script and controller object. [Zingot]
Specially if your game uses auto tiling with invisible objects as walls. Just make sure to run it after the objects are laid out and you can even run it squeeze a bit more optimization.
Simple and effective. You need that one.
Clever, simple to use and super useful!
This is very effective and perfect for mobile games, because there is performance problem with mobile games. But with this script, the problem is fix'ed! :)
Thank you for this awesome script.
No fuss script that will instantly optimise your existing game.
Don't rearrange instances in your room to get the best performance, just run the script in the create event, point it to the object name and you're done! It's really that simple.