Skip to content
This repository has been archived by the owner on Jan 18, 2019. It is now read-only.

Update step14_en.md #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/content/platformer/step14_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ Here's how the whole thing will look like:
};
```

This time, we have made use of the **filter** function we can pass to `overlap`. This is because we don't want the overlap test to pass if the player hasn't fetched the key yet or if the main character is jumping –it would be weird to open a key while jumping, right?
This time, we have made use of the **filter** function we can pass to `overlap`. This is because we don't want the overlap test to pass if the player hasn't fetched the key yet or if the main character is jumping –it would be weird to open a door while jumping, right?

1. The collision callback looks like this:

Expand Down