Video Thumbnail

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

UNLOCK LESSON

Premium Features

Download Video

Proceed to level 2

Published 10 months ago

Here we'll cover how to transition into a second level once you complete the first one. We're going to utilize completely new scenery from an Illustrator file I created, and import it into our game using a similar technique to how we imported audio files within the last episode.

The step by step process for this task looks like this:

  • Layout new level in Illustrator

  • Duplicate init function

  • Import new assets in separate file

  • Create new level based on new assets

  • Refactor init to restart correctly

  • Add setTimeout

  • Add onto current level

  • Set gravity within init functions

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

© 2022 Chris Courses. All rights reserved.