Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3351384
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T01:54:08+00:00 2026-05-18T01:54:08+00:00

I need to write an application that (among the other things) renders 2D animated

  • 0

I need to write an application that (among the other things) renders 2D animated images, let’s suppose it’s a videogame.

Figured out that videogame-like images can have a quite complex structure that depends very little on the program logic, mostly on the image itself:

  • It can have several animations (one for each state the object to draw can be on)

  • To pass from a state to another there could be an acyclic animation too.

  • Each animation can be made of several frames, each of which has got a duration.

And also the way to store images on the disk can be complex:

  • The above properties of the image, of its states and of its frames should be stored on a data file bound to the image, not hardcoded in the program source.

  • The different frames could be put all together in the same image file, or on different layers of an image file, or on different image files.

  • Background pixels could be indicated via a separated bitmask or using a specific color.

And I guess actual videogames will need a lot more parameters which I don’t (don’t know, another bitmask to identify pixels to be replaced with team color or whatever).


This makes me think there must be already a library that does all of this. But half an hour on google didn’t help me.

Is there any opensource 2D animation library for C++ or C?

Otherwise, if I need to write one, can you link any 2D animation library for other languages (or also closed source ones)? I’ll be happy to give a loop to their API and to the way they work.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T01:54:08+00:00Added an answer on May 18, 2026 at 1:54 am

    SDL is excellent for games.
    Check out http://www.sdltutorials.com/sdl-animation/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to write a Delphi application that pulls entries up from various tables
I need to write a .NET application that listens to a SMS message ,
I need to write a component for an application that interacts tightly with a
In my Python application, I need to write a regular expression that matches a
I need to write test cases for my application. I've chosen NUnit. Please let
I might need to write some GUI application that runs on .Net (and Windows),
I need to write a web application using SQL Server 2005, asp.net, and ado.net.
I need to write a simple command-line application in Java. It would be nice
I'm planning to write gateway web application, which would need terminal window with VT100/ANSI
I need write an update statement that used multiple tables to determine which rows

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.