The Companion Site for the Book ActionScript 3.0 Game Programming University

 
About the Book
Book Source Files
Q&A Forum
Buy the Book
Book Table of Contents
Book Corrections
All Articles
Email Newsletter
Contact

Looking for examples of Flash games? Try the free Flash games at GameScene.com and the iPhone games at MacMost.com.
Gary Rosenzweig looks at a basic game inventory system created with Flash ActionScript 3. Using an Inventory object, you can allow the player to add items to their game inventory. Then you can let them click on the items to use them, or test the inventory contents to allow them to complete tasks in the game.


Download the source file.