animation

Home Forums C Programming animation

This topic contains 2 replies, has 2 voices, and was last updated by  dham 10 years, 8 months ago.

  • Author
    Posts
  • #1974

    dham
    Member

    please help me.i must write the programm using function and pointer,that should be shown like animation.please send me animation code.it can be simple.

  • #3227

    will
    Member

    Hello
    Here is a portion of a program for “Bank managgement system” which I worte while I was in my Bachelors of IT. To make an animation in C Language you will need to create the image at run time and move that image on the screen. What i have done is created a bitmap using circles, arcs & different colors, and tried to make some sort of a logo, then put the whole graphics area in an image using getimage() function & used putimage() to show the image on the screen. To make an animation in C Language I have put this image in a loop which animates the image  on the screen in scrolling mode.

     
    Also I have made another animation which makes a complete line from a single point.

     
    And at the end I have made another animation effect using the line() function again.

     
    Below is the main source code of the complete animation. You can modify it according to your needs.
     

  • #3228

    dham
    Member

    thank you very much.

    but i need to do that on Turbo C.and which should be simple.

    just using function and pointer and time duration.

    just using characters like walking man,i want to do basketball player who threw the ball and ball enters goal.Smile

You must be logged in to reply to this topic.

0 Shares
Share
+1
Tweet
Share
Stumble