diff --git a/dist/index.html b/dist/index.html index bc3a963..a56f89f 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1303,7 +1303,21 @@ function restart(params) { (0, _recording.pauseRecording)(); (0, _gameStateMutators.setLevel)(gameState, 0); } -restart({}); +restart(window.location.search.includes('stressTest') ? { + level: 'Bird', + perks: { + sapper: 10, + bigger_explosions: 1, + unbounded: 1, + pierce_color: 1, + pierce: 20, + multiball: 6, + base_combo: 100, + telekinesis: 2, + yoyo: 2, + metamorphosis: 1 + } +} : {}); fitSize(); tick(); diff --git a/src/game.ts b/src/game.ts index 56abe0a..5db1a6b 100644 --- a/src/game.ts +++ b/src/game.ts @@ -972,6 +972,20 @@ export function restart(params: RunParams) { setLevel(gameState, 0); } -restart({}); +restart(window.location.search.includes('stressTest') ? { + level:'Bird', + perks:{ + sapper:10, + bigger_explosions:1, + unbounded:1, + pierce_color:1, + pierce:20, + multiball:6, + base_combo:100, + telekinesis:2, + yoyo:2, + metamorphosis:1 + } +}:{}); fitSize(); tick();