Files
dungeoncraft/www/index.html
T
Richard ZinkandClaude Opus 5.5 fbf6f223fc Switch repo to English, add i18n with EN/DE language files and first-start language selection
- in-game texts moved to lang/en.lang and lang/de.lang (key = text, placeholders)
- game logic emits message keys + args, translated at display time
- localStorage access via own miniquad JS plugin (www/dc_plugin.js)
- code comments, DESIGN.md, CREDITS.md translated; README.md added

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 22:53:03 +01:00

23 lines
779 B
HTML

<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="utf-8">
<title>DungeonCraft</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
html, body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; background: #080608; }
canvas { display: block; width: 100%; height: 100%; outline: none; image-rendering: pixelated; }
</style>
</head>
<body>
<canvas id="glcanvas" tabindex="1" oncontextmenu="return false"></canvas>
<script>var register_plugin; /* expected by the quad_net plugin in the bundle */</script>
<script src="mq_js_bundle.js"></script>
<script src="dc_plugin.js"></script>
<script>
document.getElementById("glcanvas").focus();
load("dungeoncraft.wasm");
</script>
</body>
</html>