diff --git a/cdc.pdf b/cdc.pdf index c6cd523..91b6af1 100644 Binary files a/cdc.pdf and b/cdc.pdf differ diff --git a/public/images/background/index-background.jfif b/public/images/background/index-background.jfif deleted file mode 100644 index 0fe23e5..0000000 Binary files a/public/images/background/index-background.jfif and /dev/null differ diff --git a/public/script.js b/public/script.js deleted file mode 100644 index bb53cff..0000000 --- a/public/script.js +++ /dev/null @@ -1,10 +0,0 @@ -const MENUBUTTON = document.querySelector (".nav-toggler") -const NAVIGATION = document.querySelector ("nav") - -MENUBUTTON.addEventListener("click", toggleNav) -INGAMEMENUBUTTON.addEventListener("click", toggleNav2) - -function toggleNav(){ - MENUBUTTON.classList.toggle("active") - NAVIGATION.classList.toggle("active") -} \ No newline at end of file diff --git a/public/scripts/hell-bullet.js b/public/scripts/hell-bullet.js index 29bc503..1e196be 100644 --- a/public/scripts/hell-bullet.js +++ b/public/scripts/hell-bullet.js @@ -1,6 +1,7 @@ const canvas = document.querySelector("#game"); -canvas.width = 1500, canvas.height = 800 +canvas.width = 1500, canvas.height = 800; +canvas.style.backgroundColor = "rgba(100,0,0)"; let player = { @@ -13,3 +14,5 @@ let player = { godmode: 0 }; +let previousTime = performance.now(); +