Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Player/Player.cpp
- Revision:
- 11:b3024ab59fa5
- Parent:
- 9:9830d3a78572
- Child:
- 14:58887d7e1072
--- a/Player/Player.cpp Wed May 27 02:00:08 2020 +0000
+++ b/Player/Player.cpp Wed May 27 03:52:11 2020 +0000
@@ -59,7 +59,7 @@
case 0:
//FREE FALL
if( fall == true) {
- _playerY = _playerY + 3;
+ _playerY = _playerY + 4;
}
//FLOOR COLLISION
@@ -70,7 +70,7 @@
case 1:
//JUMP UNTIL TWICE PLAYER HEIGHT
- _playerY -=4;
+ _playerY -= 5;
break;
@@ -97,3 +97,4 @@
return pos;
}
+