quick commit

This commit is contained in:
2025-09-24 19:43:02 +02:00
parent 42066195da
commit 4f362ca2de
8 changed files with 142 additions and 69 deletions

View File

@@ -39,8 +39,8 @@ const makeCrewmate = (imposter: boolean): Amogus => ({
isImposter: imposter,
posX: randNum(0, width - amogusWidth),
posY: randNum(0, height - amogusHeight),
speedX: Math.random() > 0.5 ? randNum(3, 10) : randNum(-3, -10),
speedY: Math.random() > 0.5 ? randNum(3, 10) : randNum(-3, -10),
speedX: Math.random() > 0.5 ? randNum(1, 2) : randNum(-1, -2),
speedY: Math.random() > 0.5 ? randNum(1, 2) : randNum(-1, -2),
});
const intersect = (c1: Amogus, c2: Amogus): boolean =>

View File

@@ -1,8 +1,13 @@
.container {
z-index: 100;
position: absolute;
scale: 50%;
display: flex;
justify-content: center;
align-items: center;
img {
width: 70px;
height: 70px;
object-fit: contain;
}
}