Code Super Mario in JS (Ep 5) - Tile Collision

In this episode we start by making some clean ups and will then deep dive into tile collision. Some key concepts we will introduce are * Basic mouse interaction. * Adding a debug layer for drawing collision representation. * Creating a Function Spy. Music used in this episode is by Demoscene Time Machine: Intro: Jetpack Preamble and Outro: Ski Jump This episode was the most difficult I ever did. Firstly, I was not fluent in doing collision, and if I wanted to create an episode explaining it I really need to understand why some of the side effects I saw happened. I also had to spend a lot of time structuring the episode so that the code written made sense at every step. I try to explain what problems we are solving before we write the code so that my viewers don’t feel like they are walking away with a black box that solves a problem. Since w
Back to Top