Premium Features

Download Video

Foreground Object Programming

Published 4 months ago

Foreground objects need to be rendered as the very last layer within our game map in order to give off the illusion as if our player can travel behind them. Here we'll learn how to export our foreground objects as one large layer, then import them into our game so our player has some items in which they can move behind.

We'll also refactor our classes into a separate file for code cleanliness purposes.

Comments

Want to participate?

Create a free Chris Courses account to begin

Login

No comments yet, be the first to add one

Cheat Sheet Preview

Download The Official Chris Courses HTML5 Canvas Cheat Sheet

Essential canvas syntax at your fingertips.

Download Now

Providing the lift to launch your development career

© 2022 Chris Courses. All rights reserved.