In a game,I have some ball with some color(Player set ball color in setting).So how to change ball color depend on player setting?
More,If i want to change icon for a object,how to do that?
Develop games in your browser. Powerful, performant & highly capable.
The ball is a separate sprite from the player? Just make different frames for the ball and change the frame.
The icon for a graphic object is always the image you create/load. I think you can not change to a different icon.