HTML and CSS Reference
In-Depth Information
Step 6: Create shape entities with 3D data
You need to set up an extendable class to create entities that contain 3D data. You'll use
John Resig's Simple JavaScript Inheritance script that you added earlier in combination
with a template object. Think of templates as molds for all of your game's reusable visual
assets, such as players, enemies, and particles. Add the next listing in a file right next to
core.js called template.js.
Search WWH ::




Custom Search