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.

Features:

  • 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.

  • Supports loading images using async functions from the internet or anywhere else.

  • Image caches for storing, faster loading and sending texture groups via networking.

  • Functions that can be used exactly the same as the GM sprite functions, except the collision specific functions.

  • All GM built in sprite system drawing functionalities and more.

Issues & Limitations:

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. This is pure GML so it had to use backgrounds. this means that the memory usage is two times higher than regular sprites. But thanks to the ability to reload and unload anything any time it's quite okay.

Documentation

Old GMC Topic

If you find any possible issues please report them either in the reviews or by contacting me.

Special thanks to to Sal (Garrett Roberts), he created the image_stream_finish_clamp

End User Licence Agreement (EULA).

Changes in 2.8.0

  • Fixed texture offset/separation not applying to texturepage edges in image_stream_start
  • Added image_stream_finish_clamp(group) - Gets rid of transparent edges on sprites in memory, not suggested for sprites that require the empty space or are used in shaders.

Special thanks to to Sal (Garrett Roberts), he created the image_stream_finish_clamp

Version 2.8.0. Published February 7, 2017

Created with GameMaker: Studio v1.4.1763

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

Anonymous 17 July 2017

only supports single row sprite strips

this is an awesome extension but sadly you can only import single row images as sprite strips.


Gravatar

Taylor D 08 February 2017

please add a paid version

I said this on the old GMC and I'll say it again - this adds vital functionality to Gamemaker. Let me give you some dosh for it. =P


Gravatar

Anonymous 06 February 2017

files are missing.

I can confirm that only docx file is in this extension. loaded it in GMS2 GMS1 from directory and from the marketplace library inside the GM GUI.

I gave it a 5 still because I know it is good... But please do fix.

This review was left for a previous version of this asset.

Logo

Braffolk (Publisher) 07 February 2017

Fixed.


Gravatar

Thiago D 21 February 2017

This is great

But there are missing files, only the documentation is present
To download the actual Extension, go to the Old GMC Forum Post: gmc . yoyogames . com / index . php?showtopic=669935

Logo

Braffolk (Publisher) 07 February 2017

Fixed, sorry for the issue. Haven't checked for awhile.


Gravatar

Arash M 21 February 2017

Great!

(Updated) It was missing files before. Working pretty well now!

Logo

Braffolk (Publisher) 07 February 2017

Fixed, sorry for the issue. Haven't checked for awhile.


Gravatar

tales d 08 December 2016

a docx file? :P

using 1.4.1763 standart edition.

oh dude, how i needed this framework

This review was left for a previous version of this asset.

Logo

Braffolk (Publisher) 07 February 2017

Fixed, sorry for the issue. Haven't checked for awhile.


Gravatar

deciia w 25 October 2016

I like it.

Very usefull scripts.

This review was left for a previous version of this asset.


Gravatar

Anonymous 05 March 2017

good tools

it's a very very good tools for memory manage

Logo

Braffolk (Publisher) 07 February 2017

Fixed, sorry for the issue. Haven't checked for awhile.

Package contents

Total size 11.1 KB

Custom Sprite Framework.extension.gmx 4.93 KB Custom Sprite Framework
Assets
Scripts
draw_image.gml 434 Bytes draw_image_ext.gml 810 Bytes draw_image_general.gml 606 Bytes draw_image_part.gml 457 Bytes draw_image_part_ext.gml 527 Bytes draw_image_pos.gml 1.06 KB draw_image_pos_ext.gml 1.88 KB draw_image_pos_general.gml 1.9 KB draw_image_stretched.gml 519 Bytes draw_image_stretched_ext.gml 546 Bytes draw_image_tiled.gml 768 Bytes draw_image_tiled_area.gml 2.45 KB draw_image_tiled_area_ext.gml 2.83 KB draw_image_tiled_ext.gml 976 Bytes image_cache_create.gml 3.51 KB image_cache_delete.gml 280 Bytes image_cache_load.gml 1.43 KB image_cache_save.gml 499 Bytes image_cache_unpack.gml 3.91 KB image_exists.gml 243 Bytes image_get_filename.gml 118 Bytes image_get_height.gml 87 Bytes image_get_identifier.gml 91 Bytes image_get_number.gml 87 Bytes image_get_texture.gml 205 Bytes image_get_texturepage.gml 183 Bytes image_get_uvs.gml 550 Bytes image_get_width.gml 86 Bytes image_get_xoffset.gml 87 Bytes image_get_yoffset.gml 87 Bytes image_group_clear.gml 905 Bytes image_group_create.gml 727 Bytes image_group_destroy.gml 1.69 KB image_group_exists.gml 86 Bytes image_group_find_image.gml 951 Bytes image_save.gml 576 Bytes image_save_strip.gml 660 Bytes image_set_offset.gml 138 Bytes image_stream_add.gml 966 Bytes image_stream_add_3d.gml 980 Bytes image_stream_finish.gml 8.89 KB image_stream_finish_clamp.gml 9.18 KB image_stream_is_active.gml 110 Bytes image_stream_is_received.gml 281 Bytes image_stream_progress.gml 346 Bytes image_stream_receive.gml 2.93 KB image_stream_start.gml 1.32 KB image_system_cleanup.gml 488 Bytes image_system_init.gml 102 Bytes

What is the issue?

Back to Top