Jump to content
  • Advertisement
Sign in to follow this  
Alex Young

A simple png library for use in a c++ win32 tile-based game engine

This topic is 2381 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

[color=#000000][font=Arial,]
I would like to write a win32 top-down 2d tile engine for a simple multiplayer game. I have researched various methods of loading and using PNGs in an windows application but I was wondering if anybody has any experience in this topic.[/font][color=#000000][font=Arial,]
I would like all the networking, keyboard input and window management handled using the WinAPI and for this image library to only load and display the images in a grid format - a minimalist use of such a library, does anybody have any suggestions?[/font][color=#000000][font=Arial,]
Thanks, Alex.[/font]

Share this post


Link to post
Share on other sites
Advertisement
Free Image is free/open source, and will load a variety of formats.

Not sure how you mean "[color="#000000"]load and display" - displaying is a separate matter, which is more to do with whatever you're using for the graphics API? (And if you mean that you're not yet, you presumably can do that with the basic Win32 API, but there's plenty of better alternatives like SDL and Qt - these libraries also have their own method of loading PNGs.)

Share this post


Link to post
Share on other sites
Go with SDL if all you ever want to know is how to make 2D games. If you want to take it further, you should probably use FreeImage and OpenGL.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!