We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c1f505 commit 787e697Copy full SHA for 787e697
platformerTest.js
@@ -137,7 +137,7 @@ function update() {
137
playerVelY = 0;
138
}
139
// If player is moving upwards and touches the platform
140
- else if (playerVelY < 0 && platform.y + platform.height - player.x >= 10) {
+ else if (playerVelY < 0 && platform.y) {
141
player.y = platform.y + platform.height;
142
143
0 commit comments