Hi, I am trying to make my day scene into a night scene by using SetFillColor on all my assets.
When I first started to use the API it looked like crap. I am adding a blue color over all assets to simulate a night scene. The first API call I was testing was:
Object:setFillColor( R, G, B, Alpha) as from the documentation
sprite:setFillColor( 87, 172, 252, 1 )
And this looks just like crap, please see http://cl.ly/HufZ for a sample of my trees in the night scene.
So then by mistake I added a fifth parameter to the API:
sprite:setFillColor( 0, 87, 172, 252, 1 )
and then the trees looks just perfect, and it looks really like a night scene, please see http://cl.ly/Hu4M
So what is happening here? What parameters is the color and why can I put in five params, instead of four?
My RGB values is 87,172,252 - or what I think they are???
Best regards, Joakim [import]uid: 81188 topic_id: 28350 reply_id: 328350[/import]