Scroll planet in background more slowly.

This commit is contained in:
Steve 2016-02-13 16:53:56 +00:00
parent a5f73cc3fc
commit b6e128231d
1 changed files with 4 additions and 1 deletions

View File

@ -130,6 +130,9 @@ static void doBattle(void)
scrollBackground(-ssx * 0.1, -ssy * 0.1);
battle.planet.x -= ssx * 0.05;
battle.planet.y -= ssy * 0.05;
doHud();
doStars(ssx, ssy);
@ -194,7 +197,7 @@ static void draw(void)
drawStars();
blit(battle.planetTexture, battle.planet.x - battle.camera.x, battle.planet.y - battle.camera.y, 1);
blit(battle.planetTexture, battle.planet.x, battle.planet.y, 1);
drawEntities();