This is a small library for animating sprites using GDI+. It also contains a game engine that manages hooking the keyboard and updating the sprites in the game for you. It is limited, and not the best approach for a full fledged game in most cases, but for a small game, GDI+ is not a bad option, and hopefully this will make the game creation a bit easier.
You may modify and re-use this as you wish, and you can use it in any game you want to sell, but please don't sell it as a product in itself... Besides it being unethical, it's probably not an engine that is going to sell for much ;).
This is meant only to show the use of GDI+ and get you started in game programming. I haven't been programming for Windows long, and I like to learn by doing... and I also like to share so that other people can learn. If you have any questions, please let me know. I hope you enjoy the code and maybe even learn something... just keep in mind that I am also learning, and would appreciate any feedback you have on how this could be done better... but still using GDI+ as that was the point of doing it this way. I am now starting to create a better engine using DirectX, and would like any feedback on how you think I could better implement a game engine using it.
Thank you for any votes or feedback! ;) Enjoy!
Please note that the ability to scroll would not have been possible without the help of Anthony Queen. You can see his articles and view his profile by following this link: http://www.codeproject.com/KB/vb/PanExample.aspx.