Edit ─ cdc.pdf + hell-bullet.js

This commit is contained in:
nocode committed 2026-05-05 11:26:02 +02:00
1 parent 4196582a79
commit 453c2fff9b
4 files changed
+4 -11

No files matched your search

BIN
View File
Binary file not shown.
Binary file not shown.

Before

Width:  |  Height:  |  Size: 435 KiB

-10
View File
@@ -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")
}
+4 -1
View File
@@ -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();