A downloadable asset pack

Buy Now$1.00 USD or more

Here a small pack of basic shaders for Game Maker Studio 2. There is also scripts for free-to-use. Scripts has full documentation for understand how it works.

There is just 4, but i think its most popular ones. I want to make more, but i don't know when. 


1. draw_sprite_solidcolor(sprite_index, image_index, x, y, color,  image_xscale, image_yscale,  image_angle,  image_alpha)

Shader that make sprite drawn by one color. 

---------------------------------------------------------------------------------------------------


2.  draw_sprite_outline_auto(sprite_index, image_index, x, y, outline_color, outline_size, outline_alpha , image_xscale, image_yscale,  image_angle,  image_blend,   image_alpha)

Its making outline on sprite. Fully customizable. 

!! YOU DONT HAVE TO UNCHECK AUTO CROP, OR MAKING MORE SPACE IN SPRITES  !! THIS METHOD DOESN'T REQUIRE THAT !!

---------------------------------------------------------------------------------------------------

3. shader_set_extractcolor(color, alpha, treshold , smooth)

This shader extract color from sprites/surfaces and make other on grayscale

---------------------------------------------------------------------------------------------------


4. draw_sprite_greyscale(sprite_index, image_index, x, y, color_strong, gray_strong, image_xscale,  image_yscale,  image_angle,  image_alpha)

Draw sprite in grayscale

---------------------------------------------------------------------------------------------------


For example, you can make cool effect of deathscreen. When your player gets hp lower, the screen will turn gray in addition to the red color.


For every script is manual in code



In package you obtain:
- shaders
- scripts

Credits (for assets):
https://0x72.itch.io
https://arks.itch.io/dino-characters
https://bitvillain.itch.io
https://shubibubi.itch.io

Purchase

Buy Now$1.00 USD or more

In order to download this asset pack you must purchase it at or above the minimum price of $1 USD. You will get access to the following files:

jShaders_gms2.yymps 15 kB
extrat_color.shader 2.2 kB
GameMakerScripts.txt 10 kB
greyscale.shader 628 bytes
outline.shader 1.1 kB
solid_color.shader 254 bytes
[USE ANY TEXT EDITOR TO SEE THE SHADER CODE].txt 17 bytes

Leave a comment

Log in with itch.io to leave a comment.