Add ─ Create the start of the bullet Hell game in index.js
This commit is contained in:
1 file changed
+15
@@ -0,0 +1,15 @@
|
|||||||
|
const canvas = document.querySelector("#game");
|
||||||
|
|
||||||
|
canvas.width = 1500, canvas.height = 800
|
||||||
|
|
||||||
|
|
||||||
|
let player = {
|
||||||
|
image: "XXX",
|
||||||
|
hitboxRadius: 2,
|
||||||
|
speed: {
|
||||||
|
normal: 220,
|
||||||
|
slow: 120
|
||||||
|
},
|
||||||
|
godmode: 0
|
||||||
|
};
|
||||||
|
|
||||||
Reference in new issue
Block a user