Just made a new example demo for using shadow trails re-wrote OX's script using local variables but some global variables had to be used to pull data from a animation script. in the demo walk and jump animation have different colour trails.
2 files needed are in scripts folder and need to be declared for each character.
the animation script should use a forwarder see the demo for example.
to use the script on any character animation that you want shadows just add this line before the first frame.
anyone who wants to be lazy i set some default values so you could use.
Download Shadow Trails - Version 3.0 - fixed issue with shadows not showing alternate maps.
2 files needed are in scripts folder and need to be declared for each character.
Code:
animationscript data/scripts/shadow.c
ondrawscript data/scripts/shadowon.c
the animation script should use a forwarder see the demo for example.
to use the script on any character animation that you want shadows just add this line before the first frame.
Code:
#{max shadows} {delay between shadows} {shadow timeout} {alpha} {tintmode} {red} {green} {blue}
@cmd shadow 5 20 120 6 2 155 0 0
anyone who wants to be lazy i set some default values so you could use.
Code:
@cmd shadow
Download Shadow Trails - Version 3.0 - fixed issue with shadows not showing alternate maps.
Last edited: