Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


- - - - -

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


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 Alex Young   Members   -  Reputation: 100

Like
0Likes
Like

Posted 21 March 2012 - 05:06 AM


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.

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?

Thanks, Alex.


Sponsor:

#2 mdwh   Members   -  Reputation: 901

Like
0Likes
Like

Posted 23 March 2012 - 08:01 AM

Free Image is free/open source, and will load a variety of formats.

Not sure how you mean "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.)
http://erebusrpg.sourceforge.net/ - Erebus, Open Source RPG for Windows/Linux/Android
http://homepage.ntlworld.com/mark.harman/conquests.html - Conquests, Open Source Civ-like Game for Windows/Linux

#3 spooderw   Members   -  Reputation: 123

Like
0Likes
Like

Posted 02 April 2012 - 08:50 PM

SDL_image

#4 SteveDeFacto   Banned   -  Reputation: 109

Like
0Likes
Like

Posted 08 April 2012 - 01:39 AM

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.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS