Sign in to follow this  
phil67rpg

paddle animation

Recommended Posts

I am attempting to animate a paddle in a warlords kind of game.here is the code I am using.
void PaddleLeft()
{
glColor3f(1.0f,0.0f,0.0f);
glRectf(-125.0f-left,55.0f,-95.0f-left,45.0f);
glutSwapBuffers();
left+=1.0f;
}
I will also do more research.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this