HTML5 Game Development Tutorial: Creating Movable Game Objects | packtpub.com

preview_player
Показать описание
Part of 'HTML5 Game Development' video series. For the full Course visit:

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:

Рекомендации по теме
join shbcf.ru