Description

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.

  • Now supports bounding box generation and modification.
  • Custom texture groups for easier organisation and memory management.
  • Easy texture page creation via an algorithm that places everything neatly on the texturepage, you simply have to specify what to load.
  • Now supports bounding box generation and modification.
  • Supports adding sprites from sheets, subimage files, strips and the internet.
  • Custom texture groups for easier organisation and memory management.
  • Easy texture page creation via an algorithm that does everything, you simply have to specify what to load.
  • Image caches for storing, faster loading and sending texture groups via networking.
  • Functions that can be used the same as the GM sprite functions.
  • All GM built in sprite system drawing functionalities and more.
  • Support for async loading.

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.

Documentation

Old GMC Topic

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.

End User Licence Agreement (EULA).

Age Rating: 4+

Version

GMS1 - Version 2.9.0. Published July 23, 2018

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

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait

Back to Top