Switch to globals: load scenes and main via script order

This commit is contained in:
Daddy32
2025-12-12 21:19:03 +01:00
parent c2535c6e65
commit a489cd839c
3 changed files with 158 additions and 142 deletions

View File

@@ -11,7 +11,6 @@
rel="stylesheet"
/>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div class="shell">
@@ -76,6 +75,7 @@
</div>
<script src="https://unpkg.com/matter-js@0.19.0/build/matter.min.js"></script>
<script src="main.js"></script>
<script src="./scenes.js"></script>
<script src="./main.js"></script>
</body>
</html>