Premium Features

Download Video

Player-To-Map-Boundary Collisions

Published 9 months ago

To prevent our character from traveling off the map, we must export the collision blocks we placed within tiled. Here we'll learn how to do exactly that, then parse the exported collision block data into a 2D array so we can create canvas rectangles off of it. Finally we'll learn how to stop our player from moving whenever we're about to collide with a block.

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.