Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (19 sloc) 1.77 KB

dynamic_distortion_shader_effect

A dynamic shader to use from Godot Engine projects

Usage

Put the /effect01 on your project, and append to distortion.scn to you 2D or 3D nodes.

Commands:

add( sprite,time_out,fade_time,[x=0],[y=0])

Add a sprite to life for time_out and after it, fade to die in fade_time. All in secconds. x,y cordinates are optional. Using float values (-1.0 ~1.0) result in a proportional posiotion. Using integers is absolute position

remove(sprite)

Remove a sprite, without call queue_free()

add_effect(name)

Add an effect from list: . "rain" - rain effect

remove_effect(name)

Remove an effect from previus list.

Effect in action

The effect can be view at Youtube

Legal

Creative Commons License
Wild Witch Project by Marcos Augusto Bitetti is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Based on a work at http://www.wildwitchproject.com/.
Permissions beyond the scope of this license may be available at http://www.wildwitchproject.com/p/direitos-da-obra.html.