Merge pull request #1 from rsninja722/docs-folder
move all files to their own folder
This commit is contained in:
commit
7b804afe05
@ -1,25 +1,25 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<!-- <link rel="icon" type="image/gif" href="icon.png"/> -->
|
<!-- <link rel="icon" type="image/gif" href="icon.png"/> -->
|
||||||
<title>title</title>
|
<title>title</title>
|
||||||
<style>
|
<style>
|
||||||
html {
|
html {
|
||||||
background-color: #242424;
|
background-color: #242424;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
canvas {
|
canvas {
|
||||||
position:absolute;
|
position:absolute;
|
||||||
top:0;bottom:0;right:0;left:0;
|
top:0;bottom:0;right:0;left:0;
|
||||||
margin:auto;
|
margin:auto;
|
||||||
border: 5px solid rgb(63, 63, 63);
|
border: 5px solid rgb(63, 63, 63);
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<canvas width="1000" height="800" id="game"></canvas>
|
<canvas width="1000" height="800" id="game"></canvas>
|
||||||
<script src="scripts/game.js"></script>
|
<script src="scripts/game.js"></script>
|
||||||
<script src="scripts/index.js"></script>
|
<script src="scripts/index.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
File diff suppressed because it is too large
Load Diff
@ -1,29 +1,29 @@
|
|||||||
images = [
|
images = [
|
||||||
""
|
""
|
||||||
];
|
];
|
||||||
|
|
||||||
audio = [
|
audio = [
|
||||||
""
|
""
|
||||||
];
|
];
|
||||||
|
|
||||||
function update() {
|
function update() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function input() {
|
function input() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function draw() {
|
function draw() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function absoluteDraw() {
|
function absoluteDraw() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function onAssetsLoaded() {
|
function onAssetsLoaded() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
setup(60);
|
setup(60);
|
Reference in New Issue
Block a user