Version 1.2: Major improvements to performance


Hello, I came back to this after like 4 years.

It turns out that using GameMaker’s collision system makes the whole thing MUCH faster than it was previously. The GML version is now fast enough that VM vs YYC doesn’t actually make that much of a difference anymore (although it still does make some difference).

The DLL version is now much more spatially efficient than it used to be. It’s also been sped up considerably.

See the attached charts for comparisons between the old and new versions.

The demo now reports how spatially efficient the packing was (we’ll call 80% an acceptable figure). For reference, the old DLL version averaged something like 25% efficient.

I’ve also made the packing stride and “force power of two” options that you can decide for yourself in both the GML and DLL versions.

A few other minor issues have been fixed.

Files

Packing-YYC.zip 3.8 MB
13 hours ago
spritepacking.yymps 59 kB
13 hours ago

Get Sprite Atlas for GameMaker

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.