Premium Features

Download Video

Player-To-Map-Boundary Collisions

Published a year 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.


Want to participate?

Create a free Chris Courses account to begin


No comments yet, be the first to add one

Providing the lift to launch your development career

© 2023 Chris Courses. All rights reserved.