version dump, fix errors
This commit is contained in:
parent
b550531bf8
commit
af5b623327
4 changed files with 598 additions and 387 deletions
919
Cargo.lock
generated
919
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
54
dist/index.html
vendored
54
dist/index.html
vendored
|
@ -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>
|
||||||
|
|
|
@ -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"] }
|
||||||
|
|
|
@ -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"] }
|
||||||
|
|
Loading…
Reference in a new issue