PlayBasic TUTORIAL



 Object management (Character Life Cycles)

By: Kevin Picone Added: November 27th, 2009

Category: All,Arrays

     This tutorial introduces a concept of managing the life cycles of a many characters within our game. If we think about it, the characters in our games will generally have three main life states. They're Born, they live out their purpose and ultimately they die.

     So in this tutorial we're going to use a Typed Array to hold handle various game characters. The initially version starts out simple, and shows how we can presents characters in typed arrays, with each revision we progress the code until we've create create a frame work that can allow us to manage the life cycles of as many characters as need be.




Looking for More Tutorials?:



 

 
     
 
       

(c) Copyright 2002 / 2024 Kevin Picone , UnderwareDesign.com  - Privacy Policy   Site: V0.99a [Alpha]