5,692,513 members and growing! (19,761 online)
Email Password   helpLost your password?
Languages » VB.NET » General     Intermediate

A Small GDI+ Sprite animation library

By Polymorpher

Animate and control sprites using GDI+
VB, Windows, .NET, Visual Studio, Dev

Posted: 8 Sep 2006
Updated: 8 Sep 2006
Views: 20,267
Bookmarked: 24 times
Announcements
Loading...



Search    
Advanced Search
Sitemap
11 votes for this Article.
Popularity: 4.17 Rating: 4.00 out of 5
0 votes, 0.0%
1
0 votes, 0.0%
2
2 votes, 18.2%
3
4 votes, 36.4%
4
5 votes, 45.5%
5
Note: This is an unedited contribution. If this article is inappropriate, needs attention or copies someone else's work without reference then please Report This Article

Sample Image - winSpriteLib.jpg

Introduction

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 aproach 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 easyer.

You may modify and re-use this as you wish and you can use it in any game you want to sell, but please dont sell it as a product in itself...Besides it being unethical, its 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 programing. I havent been programing 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 apreciate 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/useritems/PanExample.asp

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Polymorpher


PC Programer/Analyst
Occupation: Software Developer (Senior)
Company: www.aes4you.com
Location: United States United States

Other popular VB.NET articles:

Article Top
Sign Up to vote for this article
You must Sign In to use this message board.
FAQ FAQ Noise ToleranceSearch Search Messages 
 Layout  Per page   
 Msgs 1 to 3 of 3 (Total in Forum: 3) (Refresh)FirstPrevNext
GeneralScrollable imagememberAnthony Queen4:54 29 Sep '06  
Questionnice background imagememberchengang22:08 8 Sep '06  
AnswerRe: nice background imagememberPolymorpher10:13 9 Sep '06  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 8 Sep 2006
Editor:
Copyright 2006 by Polymorpher
Everything else Copyright © CodeProject, 1999-2008
Web13 | Advertise on the Code Project