The Companion Site for the Book ActionScript 3.0 Game Programming University

 
About the Book

Book Source Files (Second Edition)

Book Source Files (First Edition)

Book Table of Contents

Book Corrections

All Articles

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.