Plugin tutorial: Can't set colour filter

For questions about using Classic.

Post » Sun Aug 30, 2009 9:29 am

Hi all,
I just tried to complete the plugin tutorial at [url:hj3qee8b]http://sourceforge.net/apps/mediawiki/construct/index.php?title=How_To:_Create_a_plugin[/url:hj3qee8b].
I get the plugin loaded and compiled, but can't get the colour output of the gradient calculator as an input to the color filter property of the sprite.
I do the following steps:
* Create a sprite image
* Create a GradientCalculator object
* Add a new event handler for System / Start of Layout
* New Action -> Sprite -> Set Colour Filter. Here I get a color picker. There is no way to enter an expression.
How can I get the GradientCalculator output into the colour filter input?
Thank you!
B
1
G
3
Posts: 2
Reputation: 829

Post » Sun Aug 30, 2009 11:56 am

Never mind, I found it myself.
Right-click the "Filter" bar in Parameters for "Sprite-set Color filter" and choose "Use Expression". Maybe this option should be more visible?
B
1
G
3
Posts: 2
Reputation: 829


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests