diff options
author | sanine <sanine.not@pm.me> | 2024-07-06 21:24:04 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2024-07-06 21:24:04 -0500 |
commit | c012fec2870757990080e823d42dd91031e64f25 (patch) | |
tree | fa5863939b883c0cf301cda333777cd543f350a1 /main.js | |
parent | 03528a25215330d3b00cabdb1bbe7ce701e1bfeb (diff) |
set rocket to relatively constant velocity
Diffstat (limited to 'main.js')
-rw-r--r-- | main.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,8 +1,8 @@ import { setupLevelSelectUi } from './levelSelect.js'; import { setupLevel, setupLevelUi } from './level.js'; -window.onload = () => { - +window.onload = () => setTimeout(() => { + const root = document.getElementById('root'); root.classList.add('center'); @@ -79,4 +79,4 @@ window.onload = () => { setupLevelSelectUi(root, sfx); }; root.appendChild(start); -} +}, 200); |