Thread: adding animations in C++

  1. #1
    Registered User
    Join Date
    Jan 2006
    Posts
    2

    adding animations in C++

    hi there workin on a project, need to add an animation into, anything will do Gif or Swf

    any way i can do this?

    thanks


  2. #2
    !anExpert
    Join Date
    Mar 2005
    Location
    pa
    Posts
    155
    maybe a little more descriptive question will produce better answers...

    ?

    dont be shy

  3. #3
    ... arjunajay's Avatar
    Join Date
    May 2005
    Posts
    203
    Try googling for key words like
    gif file format

  4. #4
    Registered User
    Join Date
    Jan 2006
    Posts
    2
    ok it is a simple program nothing special. simple game, i just want to add an animation to the form and thats it, is there a button to do this on one of the menus?

  5. #5
    Registered User
    Join Date
    Jan 2005
    Posts
    106
    Create a sprite object. Have it store every frame of animation. For simplicity stake, just save every frame as its own gif (although realistically a sprite she would be better). anyway, include ever animation frame you'll need in this sprite, and write some sort of code for cycling them at the desired rate. There might be better/simpler ways, and a lot of it depends on your API, but somethingl ike that should work as a start.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Dynamic adding of Controls
    By WDT in forum C# Programming
    Replies: 5
    Last Post: 04-22-2009, 07:59 AM
  2. Adding nodes to a linked list
    By bluescreen in forum C Programming
    Replies: 4
    Last Post: 11-09-2006, 01:59 AM
  3. SVN Import Causes Crash
    By Tonto in forum Tech Board
    Replies: 6
    Last Post: 11-01-2006, 03:44 PM
  4. Java: Sorting and Adding a Row in Table
    By alphaoide in forum Tech Board
    Replies: 4
    Last Post: 08-12-2005, 08:22 PM
  5. Adding your own API calls.
    By 0x7f in forum Windows Programming
    Replies: 1
    Last Post: 04-08-2003, 06:00 PM