Learn Intermediate OOP by Building a Platformer Game - Step 48

What seems to be the error here, i am unable to find out.

Please post your actual code instead of a screenshot. Also, please post a link to the step. Also, please talk to us about how you find the instructions or error message confusing. Thanks

Hi @astin

the condition checks if the left key was pressed and the player’s x position is greater than proportionalSize(100) .

You have a typo.

Happy coding

1 Like

Make sure the casing of the key property is correct. It should be the same as it is with rightKey


Edit: Just for future reference.

If you have a question about a specific challenge as it relates to your written code for that challenge and need some help, click the Ask for Help button located on the challenge (it looks like a question mark). This button only appears if you have tried to submit an answer at least three times.

The Ask for Help button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.