Questions tagged [color]
Color is the visual perception of light by humans into named categories, commonly "red," "green," and "blue."
203
questions
3
votes
1
answer
2k
views
Programmatically set color of Box2D body's sprite or image
In my basic Cocos2D + Box2D iPhone app I have a bunch of circular Box2D bodies. I'd like to change the color of the circles programatically. What's the easiest way to do this?
So far I'm just ...
7
votes
2
answers
2k
views
How do I change a sprite's color?
In my rhythm game, I have a note object which can be of a different color depending on the note chart. I could use a sprite sheet with all the different color variations I use, but I would prefer to ...
8
votes
2
answers
1k
views
Making a symbol appear on any colour
I'm developing an RPG/roguelike-style game. Instead of having maps like:
.........
.........
....@....
...h.....
Oh look, a dwarf.
I was having solid background ...