I was wondering if, say I have a image with a black border and filled solid blue inside.
Is it possible to have a overlay or somehow change the hue of the image through coding?
Thanks. [import]uid: 57658 topic_id: 10989 reply_id: 310989[/import]
I was wondering if, say I have a image with a black border and filled solid blue inside.
Is it possible to have a overlay or somehow change the hue of the image through coding?
Thanks. [import]uid: 57658 topic_id: 10989 reply_id: 310989[/import]
You can change the color of any display object but if it is an image the color will cover the image so it won’t work the way you’re wanting. The best thing to do would be to create different color images and just switch them out as needed. [import]uid: 27965 topic_id: 10989 reply_id: 39970[/import]
fine how to do and to keep all properties from the old object (x, y, isSensor … etc)
just change the image? 
thx
chris
[import]uid: 4795 topic_id: 10989 reply_id: 49902[/import]
You could use a sprite for that and just set the frame.
Otherwise, if your objects are plain shapes (circles, squares) you can change the fill color
[import]uid: 52491 topic_id: 10989 reply_id: 50167[/import]