Part of 'HTML5 Game Development' video series. For the full Course visit:
http://www.packtpub.com/html5-game-de...
There are some properties that are shared between moving objects, but this is not applicable to static objects such as platforms. We need a definition for moving objects that extends the GameObject class.
• Define a movable GameObject class and a hero class
• Override the value in the GameObject class for the hero class
• Set the registration point of the hero to bottom-center to make it easy for calculation
-----------------------------------------------------------------------------------------------
For the latest in game development video tutorials, please visit:
http://www.packtpub.com/books/video?u...
Find us on Facebook -- / packtvideo
Follow us on Twitter - / packtvideo
In questa pagina del sito puoi guardare il video online HTML5 Game Development Tutorial: Creating Movable Game Objects | packtpub.com della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Packt 07 gennaio 2014, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 5,366 volte e gli è piaciuto 17 spettatori. Buona visione!