Water Reflections 2.1


Welcome to v2.1! 

Release Notes:

[ADDED] It is now possible to add your own reflection function.
[ADDED] "isReflective" option. Allows you to decide whether the water will reflect or just distort.
[FIXED] Alpha blending of reflective objects now works correctly.
[FIXED] Small fixes.

This is how you add the reflection code to the object:

// Create Event:
reflectionFunction = function(_x, _y, _yScale) {
    draw_sprite_ext(sprite_index, image_index, _x, _y, image_xscale, image_yscale*_yScale, -image_angle, image_blend, image_alpha);
}

Thanks for listening! Have a great day. =]

Files

WaterReflections_v2.1.yymps 142 kB
10 hours ago
WaterReflections_v2.1_Example.yyz 515 kB
10 hours ago

Get 2D Water Reflections [Top Down + Platformer]

Buy Now$10.00 USD or more

Leave a comment

Log in with itch.io to leave a comment.