The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: cman on January 02, 2008, 08:45:50 PM

Title: Animating A Sprite
Post by: cman on January 02, 2008, 08:45:50 PM
I was looking through a game programming book saw a program to generate an image of a ball bouncing inside a window ( from edge of the window to the next and back and forth ). I was wondering if anyone has coded anything like this in MASM ( I'd port the code in the book  myself , but the program is in Java and wraps all the Windows API functions in some rediculous class  :'( ). I'd like try my hand at animation in Windows.  Happy holidays all! :bg :U
Title: Re: Animating A Sprite
Post by: Vortex on January 02, 2008, 08:59:05 PM
Here is Ron Thomas' sprite examples.

[attachment deleted by admin]
Title: Re: Animating A Sprite
Post by: cman on January 03, 2008, 12:36:30 AM
Thanks Vortex! :U
Title: Re: Animating A Sprite
Post by: u on January 03, 2008, 02:35:32 AM
You can also make it beautiful if you have any skills in 2D art:
http://www.masm32.com/board/index.php?topic=6514.0

It's code like sDraw that I use in my commercial games for mobile devices ;)
Title: Re: Animating A Sprite
Post by: cman on January 04, 2008, 12:07:25 AM
Wow , thats pretty cool Ultrano! Thanks!