forked from MarseyWorld/MarseyWorld
10 lines
282 B
JavaScript
10 lines
282 B
JavaScript
const fireflies_num = document.getElementById('fireflies_num').value
|
|
|
|
new BugController({
|
|
imageSprite: "/i/fireflies.webp",
|
|
canDie: false,
|
|
minBugs: Math.min(MINFLIES + (fireflies_num * 2), 150),
|
|
maxBugs: Math.min(MAXFLIES + (fireflies_num * 2), 150),
|
|
mouseOver: "multiply"
|
|
});
|