This commit is contained in:
Timo K
2025-11-24 09:44:21 +01:00
parent 3331af1108
commit 28158bfc23
10 changed files with 172 additions and 18 deletions

View File

@@ -40,6 +40,18 @@
<!-- The default class is: .no-theme {display: none}. It will be overwritten once the app is loaded. -->
<body class="no-theme">
<% if (packageType !== "full") { %>
<div id="root"></div>
<% } %>
<!-- Godot export -->
<% if (packageType === "godot") { %>
<canvas id="canvas"></canvas>
<script src="$GODOT_URL"></script>
<script>
var engine = new Engine($GODOT_CONFIG);
engine.startGame();
</script>
<% } %>
</body>
</html>