summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/entities/boshy.js1
-rw-r--r--src/entities/hello_kitty/bullet.js1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/entities/boshy.js b/src/entities/boshy.js
index d2d723f..b8ed2fe 100644
--- a/src/entities/boshy.js
+++ b/src/entities/boshy.js
@@ -18,6 +18,7 @@ export class Boshy extends Entity {
constructor() {
super({
size: new Vector(30, 30),
+ hitbox: new Vector(20, 20),
position: new Vector(325, 400),
sprite: BOSHY.NORMAL,
})
diff --git a/src/entities/hello_kitty/bullet.js b/src/entities/hello_kitty/bullet.js
index 80ad2dd..1f68ba6 100644
--- a/src/entities/hello_kitty/bullet.js
+++ b/src/entities/hello_kitty/bullet.js
@@ -13,6 +13,7 @@ export class Bullet extends Entity {
}) {
super({
size: new Vector(30, 30),
+ hitbox: new Vector(20, 20),
position: position,
sprite: HELLO_KITTY.BULLET,
degrees: degrees