Premium Features

Download Video

Player-To-Map-Boundary Collisions

Published 3 years 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
O
Ocean1111 posted 2 years ago
0
O
Ocean1111 posted 2 years ago
0
O
Ocean1111 posted 2 years ago
0

Providing the lift to launch your development career

© 2025 Chris Courses. All rights reserved.