When game is beaten, you should load level 1 again, not the final level.

master
sigonasr2 1 year ago
parent 822d52f92d
commit 25b1e808a1
  1. 2
      olcCodeJam2023Entry/VirusAttack.cpp
  2. BIN
      olcCodeJam2023Entry/pge.wasm

@ -1407,7 +1407,9 @@ bool VirusAttack::OnUserUpdate(float fElapsedTime){
float titleScreenY=-200; float titleScreenY=-200;
float textOrientationY=0; float textOrientationY=0;
float textOrientationX=0; float textOrientationX=0;
LoadLevel(STAGE1);
levelToLoad=LevelName::STAGE1; levelToLoad=LevelName::STAGE1;
} }
}break; }break;
#pragma endregion #pragma endregion

Binary file not shown.
Loading…
Cancel
Save