Skip to content

Commit

Permalink
add istructions in html
Browse files Browse the repository at this point in the history
  • Loading branch information
saacostam-zaga committed Dec 28, 2023
1 parent 3530e37 commit 817cc9a
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 3 deletions.
1 change: 0 additions & 1 deletion docs/assets/index-0wMWXa16.css

This file was deleted.

File renamed without changes.
1 change: 1 addition & 0 deletions docs/assets/index-Nn8yyy6O.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
:root{color-scheme:dark;font-family:Courier New,Courier,monospace}canvas{width:99vw}
5 changes: 3 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@
<link rel="icon" type="image/svg+xml" href="./vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Crossy Road</title>
<script type="module" crossorigin src="./assets/index-erOXPn2H.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-0wMWXa16.css">
<script type="module" crossorigin src="./assets/index-AyFofirk.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-Nn8yyy6O.css">
</head>
<body>
<div id="app">
<canvas id="babylon-canvas"></canvas>
<span style="display: block; text-align: center;">🐓 Use space to move forward. Use keys to move in all directions.<br/>Game created, using BabylonJs, by <a href="https://github.com/saacostam/3d-crossy-road" target="_blank">saacostam</a></span>
</div>
</body>
</html>
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<body>
<div id="app">
<canvas id="babylon-canvas"></canvas>
<span style="display: block; text-align: center;">🐓 Use space to move forward. Use keys to move in all directions.<br/>Game created, using BabylonJs, by <a href="https://github.com/saacostam/3d-crossy-road" target="_blank">saacostam</a></span>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
Expand Down
5 changes: 5 additions & 0 deletions src/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
:root{
color-scheme: dark;
font-family: 'Courier New', Courier, monospace;
}

canvas{
width: 99vw;
}

0 comments on commit 817cc9a

Please sign in to comment.