HTML5 Game Development Tutorial: Defining the Game Object Class | packtpub.com

404 views · Published 7 January 2014 · 3:47 · Indexed 26 September 2026

Channel: Packt · 2014 · Science & Technology

Watch on YouTube

Part of 'HTML5 Game Development' video series. For the full Course visit:
http://www.packtpub.com/html5-game-development/video?utm_source=youtube&utm_medium=video-description&utm_campaign=yt-html5game

We have different kinds of game objects, such as the hero, platform, and obstacles. We need a class hierarchy with a generic class to share common properties. 
• Create a new file for the class 
• Create a GameObject class structure that extends the createJS container 
• Define common properties inside the GameObject initialize method 

---------------------------------------------------------------------------------------------

For the latest in game development video tutorials, please visit:
http://www.packtpub.com/books/video?utm_source=youtube&utm_medium=video-description&utm_campaign=yt-html5game

Find us on Facebook -- http://www.facebook.com/Packtvideo
Follow us on Twitter - http://www.twitter.com/packtvideo

More from this channel