Game Maker creates an extra texture page for every sprite and subimage that the user loads into their game using the function sprite_add, this often results in terrible performance issues due to hundreds or sometimes even thousands of texture swaps. This collection of scripts is meant to fix this problem by giving full control over custom texture pages, groups and memory management.
This is optimised for YYC and will be pretty much as fast as built in sprite functionality, however, on the regular windows export it will be still be way faster than sprites that were imported using sprite_add but will be a bit slower than built in sprites. The extension only uses GML. The images refer to texture pages that are stored in backgrounds. As expected, backgrounds & sprites added with background_add or sprite_add take up around two times more memory than a built-in ones would, hence custom texture pages too take more memory than built-in ones.
If you find any possible issues please report them either in the reviews or on the github.
Special thanks to to Sal (Garrett Roberts), he created the clamping functionality in streams.
NOTE: This is a major update. Backup your project before updating. The internal algorithms and the outer scripts have been changed and may potentially cause unintended behaviour - if you find a bug, please report it. Read the changes carefully and update your implementations accordingly.
READ THE CHANGELOG HERE: https://github.com/GameMakerDiscord/custom-sprite-framework/wiki