Tell us what’s happening:
Your code so far
dont know the isue
if(keys.rightKey.pressed === true && isCheckpointCollisionDetectionActive === true){
}
You should have an
if
statement that checks if the right key was pressed and if theisCheckpointCollisionDetectionActive
is true.
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Challenge Information:
Learn Intermediate OOP by Building a Platformer Game - Step 78