From 2ed630a9cde009de9df626497aa9a5909a1dbb18 Mon Sep 17 00:00:00 2001 From: zenoamaro Date: Sun, 30 Jun 2019 13:01:53 +0200 Subject: [PATCH] Folder structure --- font.ttf => assets/font.ttf | Bin index.html | 4 ++-- ai.js => src/ai.js | 0 constants.js => src/constants.js | 0 gfx.js => src/gfx.js | 0 input.js => src/input.js | 0 main.js => src/main.js | 0 math.js => src/math.js | 0 sky.js => src/sky.js | 0 sound.js => src/sound.js | 0 terrain.js => src/terrain.js | 0 utils.js => src/utils.js | 0 weapons.js => src/weapons.js | 0 13 files changed, 2 insertions(+), 2 deletions(-) rename font.ttf => assets/font.ttf (100%) rename ai.js => src/ai.js (100%) rename constants.js => src/constants.js (100%) rename gfx.js => src/gfx.js (100%) rename input.js => src/input.js (100%) rename main.js => src/main.js (100%) rename math.js => src/math.js (100%) rename sky.js => src/sky.js (100%) rename sound.js => src/sound.js (100%) rename terrain.js => src/terrain.js (100%) rename utils.js => src/utils.js (100%) rename weapons.js => src/weapons.js (100%) diff --git a/font.ttf b/assets/font.ttf similarity index 100% rename from font.ttf rename to assets/font.ttf diff --git a/index.html b/index.html index 0704a2b..ba161ae 100644 --- a/index.html +++ b/index.html @@ -10,10 +10,10 @@ body {background: black; height:100vh; overflow: hidden} canvas {image-rendering: pixelated; margin: auto; position:absolute; left:0; right:0; top:0; bottom:0} - @font-face { font-family: 'text'; src:url(font.ttf) } + @font-face { font-family: 'text'; src:url(assets/font.ttf) } - + diff --git a/ai.js b/src/ai.js similarity index 100% rename from ai.js rename to src/ai.js diff --git a/constants.js b/src/constants.js similarity index 100% rename from constants.js rename to src/constants.js diff --git a/gfx.js b/src/gfx.js similarity index 100% rename from gfx.js rename to src/gfx.js diff --git a/input.js b/src/input.js similarity index 100% rename from input.js rename to src/input.js diff --git a/main.js b/src/main.js similarity index 100% rename from main.js rename to src/main.js diff --git a/math.js b/src/math.js similarity index 100% rename from math.js rename to src/math.js diff --git a/sky.js b/src/sky.js similarity index 100% rename from sky.js rename to src/sky.js diff --git a/sound.js b/src/sound.js similarity index 100% rename from sound.js rename to src/sound.js diff --git a/terrain.js b/src/terrain.js similarity index 100% rename from terrain.js rename to src/terrain.js diff --git a/utils.js b/src/utils.js similarity index 100% rename from utils.js rename to src/utils.js diff --git a/weapons.js b/src/weapons.js similarity index 100% rename from weapons.js rename to src/weapons.js