Hi, I am trying to change the colour of a vector shape using a button (on a mobile device), can anyone aim me in the right direction on how to do this. I have had a good look round and searched the forums and manual but not found anything the same.
I dont expect anyone to do it for me, just need to know the best most effective way of doing this.
why not make an animation from it, which has several colors on each frame?
How do you create the vector shape?
C2 doesn't support vectors without 3rd party plug-ins as far as I know..
Develop games in your browser. Powerful, performant & highly capable.
Thanks Guys for the speedy replies
Beaverlicious that would be good way of doing it but for speed of loading I don't want to have to load loads of versions of the same image (and I'm intending to make it for a mobile device that might not have wifi or 3g/ /4g
LittleStain is there a way of colouring a pixel based shape instead?
thanks again for the fast replies :)
You could look at the plugins Polygon or Canvas to do what you're asking.
R0J0hound thanks for your help, I've downloaded the canvas plugin, just need to research how to use it :)