temp
This commit is contained in:
12
index.html
12
index.html
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user