Just why? by Donitz
Play the game at Itch.io. The itch.io version of the game has a fullscreen button which you will surely need.
"Just why?" is a brutally difficult classic mouse maze game. The entire game takes place inside a large underground factory complex contained within a single screen. There are a multitude of hazards to dodge inside the tight corridors.

"Just why?" was inspired by another maze game I played many years ago in which you similarly controlled your mouse inside a large building on a single screen (if anyone remembers the name of the game, please comment below).
The game was coded in Vanilla JavaScript in less than 48 hours. I used the standard object-oriented Scene/Entity setup which I am very fond of. The game uses the HTML5 2D canvas for rendering sprites which I drew in GIMP and then packaged into a texture atlas using a Python utility program.
Ever since I made Dreader I've wanted to make another mouse maze game. They are fun and relatively easy to create and allows for a ton of variation in themes.
Mouse mazes don't need fancy collision logic. Instead you can just check the color below the player to determine if its inside a hazard. This kind of simplified collision system was also why my game https://js13kgames.com/entries/retrohaunt could pack such a large world into 13 kB. In "Just why?" the collision logic works by first rendering the world half-way, then checking for collisions, then adding the final overlay effects (colors, particle effects).
Finally, the sound effects in the game were created using https://sfxr.me/
Feedback and critique are most welcome!
Minor update: I made the ending timer be visible ingame for speedrunning purposes.
| Link | https://donitz.itch.io/just-why |
| Link | https://donitz.itch.io/just-why |
| Original URL | https://ldjam.com/events/ludum-dare/54/just-why |
Ratings
| Overall | 13th | 4.224⭐ | 89🧑⚖️ |
| Fun | 31th | 4.092⭐ | 89🧑⚖️ |
| Innovation | 154th | 3.529⭐ | 89🧑⚖️ |
| Theme | 61th | 4.172⭐ | 89🧑⚖️ |
| Graphics | 39th | 4.207⭐ | 89🧑⚖️ |
| Audio | 110th | 3.512⭐ | 86🧑⚖️ |
| Humor | 152th | 2.833⭐ | 77🧑⚖️ |
| Mood | 31th | 3.958⭐ | 85🧑⚖️ |
| Given | 67🗳️ | 67🗨️ |
You're totally right when prefacing that it is "brutally difficult" and you're also right to recommand playing in full screen, which I didn't see at first T.T
The way the biomes are separated and the way they still sometimes have a "side effect" on other biomes is pretty neat.
The limited checkpoint mechanic is really fitting the genre.
That being said, I only passed the first biome before giving up :-D
Finished the water section, but got jumped on by the shark. :weary:
Really solid compo entry. I will probably come back to this at some point.
I'm gonna need a proper /computer/ mouse to play it again, lol.
Or perhaps I need to use the pause feature more often. The only issue is that it's not as easy to "click" on the same spot with a touch pad as it would be with a mouse.
But I digress. The game is pretty cool.
My only complaint is the sound design. The explosion (death?) sound is too loud. I had to set the system's volume to ~20% to make it bearable (or should I say mousable?) :)
I could absolutely see a multiscreen version of this or unique spin, but overall great work. Hard to find a negative!
@jellycopter I'm happy you liked the game. Hehe, I challenge you to find a way to cheat the game. I remember the old tricks from the flash games. Those will not work here.
Yeah the performance is a bit confusing. Under normal circumstances reading a single pixel shouldn't be that costly (or more like 1 pixel for the entire distance traveled), but at least in Chrome I noticed some severe dips in performance until I set willReadFrequently to true. Though it sounds like it may still be a bit of an issue in some browsers.
Find it not that hard but I might be biased because I trained by mouse mouvement skill all sunday on my game.
I died 16 time mostly on the elevator :)

You did a great job !
Nice concept and well implemented.
It is a bit of a rager, but the checkpoints make it worth it / not super hard.
Really liked it. Good one!
I would have liked a more casual mode with more spawning points. Solid polish.

But its got fun, visual identity, cool gameplay and all there is to desire!
Solid entry!
It's challenging, but I can't help but play it!
I lost the rest of my hair!
:D
Great game
I love how the laser gets louder the closer you get to it. And the visual representation is kind of perfect. Only criticism I can think of is that it's non-obvious that the seaweed is dangerous (since the bubbles are not).
Also ouch my wrist xD

The game is very solid around the theme. Except for the font, the graphics perfectly fit the mood.
The pause/checkpoint mechanic was unexpected and I tip my hat to that. It allows to take breaks, readjust the hand position, and play the game for longer while keeping the challenge intact. Good design here.
Very good job!
Great job making the game!
Checkpointless speedrun.
https://www.youtube.com/watch?v=O7s2ZV0E0eM
This game was a lot of fun! I love the use of limited palettes for all the different "zones" and the way you re-use the laser throughout the entire maze was a cool motif! I like how the laser only plays when you're near it! There's a shockingly large amount of details in this.
Ignore that part at the end of the video where I call this an easy game for babies. This game was a fun challenge to speedrun. Cheers!
Neat trick with checking pixel color for collision. Very polished and congratulations with good game!


i liked this game. i'm not sure i'll have the nerves to do another run right now, but i might come back and try to finish it once!
i really like what you've done with the sounds, becoming louder as you approach their source.
in conclusion, a simple, cool and raging game hahaha