Description

Optimized Decals allows you to display thousands of sprites In the room if not hundreds of thousands. [Updates]

  • added argument to control initial alpha values of individual decals.

  • added an option for fading decals

  • added trails

  • added option for fading trails

  • reduced memory usage

This system allows for the decals to be placed anywhere in a room of any size. as it does not utilise surfaces, making it very memory efficient!

whether it is Bullet holes, Blood splatters, or even craters you want to have on your screen, Optimized Decals will allow you to easily create and display your decals with ease.

[Features]

  • Limitless room size (within f32 numbers)
  • Creation of Decals group with Automatic texturemap creation
  • one-line placement of decals
  • set dimensions, and rotation of decals
  • multiple textures for each decals to support normal maps, specular maps, etc
  • Automatic and custom drawing of decals

Code Example Create Event

OptimizedDecals_initialize();
decal_group = OptimizedDecals_create_group(sprite);

Create Decal

OptimizedDecals_add_decal(decal_group, 0, mouse_x, mouse_y, 64, 64, random(2 * pi));

End User Licence Agreement (EULA).

Changes in 1.1.61

fixed a bug where i left some code specific to non-existing assets.

Version 1.1.61. Published May 31, 2017

Created with GameMaker: Studio v1.4.1763

Age Rating: 4+

Average Rating

Your review

You can only review assets you've bought.


Gravatar

Rob Q 01 September 2017


Gravatar

Anonymous 26 January 2017

Works exactly as intended!

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


Gravatar

Jarin R 28 October 2015

Very Effective asset

Thank you for this asset, it make me for future.

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


Gravatar

Jeff J 14 June 2015

Effective, efficient and easy to use

This does exactly what it says - I've used it to add thousands and thousands of bloodsplatters around the map that can stay forever without making the computer cry.

One feature wish that would make this even better:
A function to add to a decal group with a certain alpha setting. I'm adding footprints that fades more and more for every step taken, so each footprint needs to decrease in alpha value. As it stands, I can either have fully opaque decals or I can fade them all within a set time. It would be very useful to be able to add a decal to a group with its own unique alpha setting.

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

Logo

GMWolf (Publisher) 15 June 2015

Thanks for the review.
i added an option to adjust the alpha of individual decals within a group.
hope you like the addition :)

GMWolf

Package contents

Total size 153 KB

Optimized Decals.extension.gmx 4.32 KB Optimized Decals
Assets
Backgrounds Objects Rooms Scripts Shaders Sprites

What is the issue?

Back to Top