Video Thumbnail

Sign up for a plan to instantly unlock all premium lessons.

UNLOCK LESSON

Premium Features

Download Video

Start and Game Over UI

Published 2 years ago

Rather than throwing a user into our game right on the initial page load, it'd be much kinder to present them with a start screen in which they can choose when they'd like to begin playing. It'd also be nice if they could restart the game after losing. To achieve this effect, we'll utilize some external assets and integrate HTML directly into our JavaScript.

Assets:

  • 0:00 Download assets

  • 2:36 Add background asset

  • 7:37 Add button asset

  • 14:36 Add title

  • 18:16 Add click event listener to button

  • 21:13 Game over screen

  • 29:16 Fix spaceship particle bugs

Comments

Want to participate?

Create a free Chris Courses account to begin

Login

No comments yet, be the first to add one

Providing the lift to launch your development career

© 2024 Chris Courses. All rights reserved.