version dump, fix errors

This commit is contained in:
Ponj 2024-11-14 20:30:04 -05:00
parent b550531bf8
commit af5b623327
Signed by: p6nj
GPG key ID: 6FED68D87C479A59
4 changed files with 598 additions and 387 deletions

919
Cargo.lock generated

File diff suppressed because it is too large Load diff

54
dist/index.html vendored
View file

@ -1,31 +1,29 @@
<!DOCTYPE html> <!doctype html>
<html> <html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
html,
body,
canvas {
margin: 0px;
padding: 0px;
width: 100%;
height: 100%;
overflow: hidden;
position: absolute;
background: black;
z-index: 0;
}
</style>
<title>Typonomy</title>
</head>
<head> <body>
<meta name="viewport" content="width=device-width, initial-scale=1"> <canvas id="canvas" width="1280" height="720" cursor="auto"></canvas>
<style> <script type="module">
html, import init from "./game.js";
body, init();
canvas { </script>
margin: 0px; </body>
padding: 0px;
width: 100%;
height: 100%;
overflow: hidden;
position: absolute;
background: black;
z-index: 0;
}
</style>
<title>My Game</title>
</head>
<body>
<canvas id="canvas" width="1280" height="720" cursor="auto"></canvas>
<script type="module">
import init from "./game.js"
init()
</script>
</body>
</html> </html>

View file

@ -4,4 +4,4 @@ version = "0.1.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
bevy = { version = "0.13", features = ["webgl2"] } bevy = { version = "0.14", features = ["webgl2"] }

View file

@ -4,8 +4,8 @@ version = "0.1.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
axum = "0.7.4" axum = "0.7"
shuttle-axum = "0.49.0" shuttle-axum = "*"
shuttle-runtime = "0.49.0" shuttle-runtime = "*"
tokio = "1.28.2" tokio = "1"
tower-http = { version = "0.5.0", features = ["fs"] } tower-http = { version = "0", features = ["fs"] }