CodeBase - Animated Frames

Return to the CodeBase listing

Category: Basic 2D

Version: 1.0

0
0

Information

Uploaded: 19th May 2009 22:32

Modified: 1st Jan 1970 01:00

Author:  infinite people

Summary

An example of animated frames. Another alternative to using animated sprites

Full Description

This example uses a sequence of images to play a custom animation. It is an alternative to creating animated sprites. the function dbLoadImage(imageName, imageIndex) is used to load the images and assign them an index that can be called in the main loop to produce a play back effect.<br /> It is important to note the the if the complete directory of the images is not specified, then it should be located in the same directory as the source code file.

Comments

No comments yet.