Now it's time to create a block object in which our player can only jump ON, not jump THROUGH. This block object will cover all of the basics regarding collision detection and how to implement such an effect while dealing with all of the edge cases that come with side-scrolling.
i don't know why but even though if i didn't add the for loop ( in the last chapter of the video) the bug doesn't come for me