diff --git a/assets/sound/ant.m4a b/assets/sound/ant.m4a new file mode 100644 index 0000000..d80cbf4 Binary files /dev/null and b/assets/sound/ant.m4a differ diff --git a/assets/sound/bee.m4a b/assets/sound/bee.m4a new file mode 100644 index 0000000..3eff472 Binary files /dev/null and b/assets/sound/bee.m4a differ diff --git a/assets/sound/beetle.m4a b/assets/sound/beetle.m4a new file mode 100644 index 0000000..7fba40f Binary files /dev/null and b/assets/sound/beetle.m4a differ diff --git a/assets/sound/butterfly.m4a b/assets/sound/butterfly.m4a new file mode 100644 index 0000000..93d3bad Binary files /dev/null and b/assets/sound/butterfly.m4a differ diff --git a/assets/sound/cake.m4a b/assets/sound/cake.m4a new file mode 100644 index 0000000..70691f2 Binary files /dev/null and b/assets/sound/cake.m4a differ diff --git a/assets/sound/clickme2.m4a b/assets/sound/clickme2.m4a new file mode 100644 index 0000000..3320f5c Binary files /dev/null and b/assets/sound/clickme2.m4a differ diff --git a/assets/sound/clickme3.m4a b/assets/sound/clickme3.m4a new file mode 100644 index 0000000..508b1aa Binary files /dev/null and b/assets/sound/clickme3.m4a differ diff --git a/assets/sound/clickme4.m4a b/assets/sound/clickme4.m4a new file mode 100644 index 0000000..812f321 Binary files /dev/null and b/assets/sound/clickme4.m4a differ diff --git a/assets/sound/clickme5.m4a b/assets/sound/clickme5.m4a new file mode 100644 index 0000000..238fbd2 Binary files /dev/null and b/assets/sound/clickme5.m4a differ diff --git a/assets/sound/cockroach.m4a b/assets/sound/cockroach.m4a new file mode 100644 index 0000000..4714685 Binary files /dev/null and b/assets/sound/cockroach.m4a differ diff --git a/assets/sound/dinosaur.m4a b/assets/sound/dinosaur.m4a new file mode 100644 index 0000000..9397cc3 Binary files /dev/null and b/assets/sound/dinosaur.m4a differ diff --git a/assets/sound/dragonfly.m4a b/assets/sound/dragonfly.m4a new file mode 100644 index 0000000..d88239d Binary files /dev/null and b/assets/sound/dragonfly.m4a differ diff --git a/assets/sound/flower.m4a b/assets/sound/flower.m4a new file mode 100644 index 0000000..29df44b Binary files /dev/null and b/assets/sound/flower.m4a differ diff --git a/assets/sound/fly.m4a b/assets/sound/fly.m4a new file mode 100644 index 0000000..0b74cc2 Binary files /dev/null and b/assets/sound/fly.m4a differ diff --git a/assets/sound/grasshopper.m4a b/assets/sound/grasshopper.m4a new file mode 100644 index 0000000..6fc497b Binary files /dev/null and b/assets/sound/grasshopper.m4a differ diff --git a/assets/sound/icecream.m4a b/assets/sound/icecream.m4a new file mode 100644 index 0000000..c2519b5 Binary files /dev/null and b/assets/sound/icecream.m4a differ diff --git a/assets/sound/ladybug.m4a b/assets/sound/ladybug.m4a new file mode 100644 index 0000000..775efd0 Binary files /dev/null and b/assets/sound/ladybug.m4a differ diff --git a/assets/sound/mantis.m4a b/assets/sound/mantis.m4a new file mode 100644 index 0000000..e680314 Binary files /dev/null and b/assets/sound/mantis.m4a differ diff --git a/assets/sound/mosquito.m4a b/assets/sound/mosquito.m4a new file mode 100644 index 0000000..4eb4a96 Binary files /dev/null and b/assets/sound/mosquito.m4a differ diff --git a/assets/sound/moth.m4a b/assets/sound/moth.m4a new file mode 100644 index 0000000..103b218 Binary files /dev/null and b/assets/sound/moth.m4a differ diff --git a/assets/sound/pizza.m4a b/assets/sound/pizza.m4a new file mode 100644 index 0000000..21717c3 Binary files /dev/null and b/assets/sound/pizza.m4a differ diff --git a/assets/sound/rainbow.m4a b/assets/sound/rainbow.m4a new file mode 100644 index 0000000..5af3946 Binary files /dev/null and b/assets/sound/rainbow.m4a differ diff --git a/assets/sound/scorpion.m4a b/assets/sound/scorpion.m4a new file mode 100644 index 0000000..f08c716 Binary files /dev/null and b/assets/sound/scorpion.m4a differ diff --git a/assets/sound/snowman.m4a b/assets/sound/snowman.m4a new file mode 100644 index 0000000..ac9925b Binary files /dev/null and b/assets/sound/snowman.m4a differ diff --git a/assets/sound/termite.m4a b/assets/sound/termite.m4a new file mode 100644 index 0000000..2dca970 Binary files /dev/null and b/assets/sound/termite.m4a differ diff --git a/assets/sound/unicorn.m4a b/assets/sound/unicorn.m4a index 04ff923..0a1a33e 100644 Binary files a/assets/sound/unicorn.m4a and b/assets/sound/unicorn.m4a differ diff --git a/main.js b/main.js index b27df0f..23cac26 100644 --- a/main.js +++ b/main.js @@ -1,7 +1,7 @@ // Settings. If you change the tilesize (256px) you also have to change it in // the CSS. -const numRocks = 1000; -const gridSize = 51200 / 256; +const numRocks = 500; +const gridSize = 25600 / 256; const bugDanceDuration = 2000; const bugAgitateDuration = 1000; @@ -32,13 +32,43 @@ const rockImagesFiles = [ "rock5.png", ]; -const bugClickSoundsFiles = ["clickme1.m4a"]; +const bugClickSoundsFiles = [ + "clickme1.m4a", + "clickme2.m4a", + "clickme3.m4a", + "clickme4.m4a", + "clickme5.m4a", +]; // A list of all the types of bugs or bug-like creatures. For each one of these, // it's expected that there is an image for the bug in // ./assets/image/{bugType}.png, and an "discovery sound" in // ./assets/sound/{bugType}.m4a. -const bugTypes = ["unicorn"]; +const bugTypes = [ + "unicorn", + "ant", + "bee", + "beetle", + "butterfly", + "cake", + "cockroach", + "dinosaur", + "dragonfly", + "flower", + "fly", + "grasshopper", + "icecream", + "ladybug", + "mantis", + "mosquito", + "moth", + "pizza", + "rainbow", + "scorpion", + "snowman", + "termite", + "unicorn", +]; // A list of all the bug "prototypes" that can be included as a bug component. Each proto is like this: // {