I have a box2d game that uses different classes to create different levels, it is essentially a game where you shoot a ball around. As of now I have 2 buttons (up and down) for y power, and 2 buttons (up and down) for x power. Would there be a way for me to have 1 button for x power, that you would hold down to increase your x speed, same thing for y power? and have the hex code, add 1 each time so that the button would get darker the longer you held it?
Thanks.
Comments
http://www.tntparticlesengine.com/?cat=13