Web build script and updates to web source.

Added Karl Zylinski web build script.
Updated template for better width.
Removed resizing function.
This commit is contained in:
2026-06-28 06:57:48 +02:00
parent d43ec53d8d
commit 5edae5d2d8
3 changed files with 44 additions and 7 deletions
+6 -5
View File
@@ -10,13 +10,14 @@
<meta name="viewport" content="width=device-width">
<style>
body {
margin: 0px;
overflow: hidden;
body {
margin: 0px;
overflow: hidden;
background-color: black;
}
canvas.game_canvas {
border: 0px none;
canvas.game_canvas {
max-width: 1550px;
border: 0px none;
background-color: black;
padding-left: 0;
padding-right: 0;
-2
View File
@@ -63,6 +63,4 @@ main_end :: proc "c" () {
@export
web_window_size_changed :: proc "c" (w: c.int, h: c.int) {
context = web_context
// TODO
game.parent_window_size_changed(int(w), int(h))
}