Hi nice people;
Just Changed and old fx to plugin.. ;
We have Texture image + texture palette; let's map with gradient ;
Use mouse on palette texture to see the map;
Num key pad to change texture (1-2-3-4-5)
http://gigatron3k.free.fr/html5/C2/plugin/grmap/
plugin file :
http://gigatron3k.free.fr/html5/C2/plug ... entmap.rar
Usage : copy gradientmap drawer to C:\Program Files\Construct 2\exporters\html5\plugins- Open example .capx file and run;
Commands are : load base texture ; load gradient texture . look the size of those images respect power of 2;
and color x position ; if your gradient is 256 width large the correct x position is 1/256 for each color
if your gradient texture is 512 width large the correct x position is 1/512. Look the mouse position on the example . Feel free to test this plugin and send me feedback ...
Best Regards ...