|
@ -57,7 +57,6 @@ int main(void) |
|
|
{ |
|
|
{ |
|
|
// Update |
|
|
// Update |
|
|
//---------------------------------------------------------------------------------- |
|
|
//---------------------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
// Player movement |
|
|
// Player movement |
|
|
if (IsKeyDown(KEY_RIGHT)) player.x += 2; |
|
|
if (IsKeyDown(KEY_RIGHT)) player.x += 2; |
|
|
else if (IsKeyDown(KEY_LEFT)) player.x -= 2; |
|
|
else if (IsKeyDown(KEY_LEFT)) player.x -= 2; |
|
|