OLPCities/Sprites

From OLPC
< OLPCities
Revision as of 09:09, 20 September 2006 by Adamascj (talk | contribs)
Jump to: navigation, search

By definition the sprite has "frames" (vertical frames) and "animations" (horizontal frames). It can have only one frame so it will have 1 "frame" and 1 "animation" that are the same. To understand this better take a look at the many sprites at:


To use this library (this Class) add this line to the <HEAD> section of the web page of the Lot:

<script language="Javascript" src="http://www.dmu.com/olpc/gamelib_sprites.js"></script> 

gamelib_sprites.js