summaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2024-07-06 21:24:04 -0500
committersanine <sanine.not@pm.me>2024-07-06 21:24:04 -0500
commitc012fec2870757990080e823d42dd91031e64f25 (patch)
treefa5863939b883c0cf301cda333777cd543f350a1 /main.js
parent03528a25215330d3b00cabdb1bbe7ce701e1bfeb (diff)
set rocket to relatively constant velocity
Diffstat (limited to 'main.js')
-rw-r--r--main.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.js b/main.js
index 0415b29..94d5e77 100644
--- a/main.js
+++ b/main.js
@@ -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);