HTML5 Game Development Tutorial: Adding Platforms to Your Stage | packtpub.com

905 views · Published 7 January 2014 · 2:59 · Indexed 19 October 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 the essential game objects defined but we have not created a game level yet. This video will teach you to put the platforms together to form a game level. 
• Use for loop to put multiple platforms on the stage 
• Use random values to create varying gaps between platforms for the hero to jump across. 
• Use another random value to make some gaps between platforms in the x axis 

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

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