RH.
About
Journal
Uses
Back to Track
FREECODECAMP
learn intermediate oop by building a platformer game
Step 16: Below your `position` object, use the `this` keyword...
Start Lesson
Step 17: Below your `velocity` object, use the `this` keyword...
Start Lesson
Step 21: The next step is to create an `update()`...
Start Lesson
Step 26: In the `if` statement, add another `if` statement...
Start Lesson
Step 47: Inside the `if` statement, assign the number `5`...
Start Lesson
Step 52: Inside the `if` statement, set the player's `x`...
Start Lesson
Step 85: Add one last boolean expression that checks if...
Start Lesson
Step 114: Inside the `if` statement, call the `claim` method...
Start Lesson