The game is controled with the ARROW KEYS.
ยท YOU CAN ALSO MOVE IN DIAGONALS!



PLOT:

A bunny called BANIO needs to go through a lot of challenges to get to The Corridor Of The Magic Carrot, a carrot that will make him know the meaning of life, and no one else will be able to know it.


DEV-COMMENTS:

"Bunny's Lair" is developed from scratch in Javascript inside an HTML file. I didn't use any kind of game engines, so it was kind of hard to develop it (That's the reason it's too short), and I had so many problems, specially talking about performance between different devices.

The project consists of 4 files, 1 is music (composed by me), other 2 are sound effects, and the last one is the game itself.

All the graphics (except the opening and ending image, wich are stored inside the Javascript as a BASE64 url, that stores the files in text strings) are stored as Javascript functions, that draw pixels at certain positions, subtracting the camerax and cameray for giving the illusion of scrolling. The functions that draw pixels are called by the TILE DRAWING functions, that draw tiles formed of those pixels, that can also be mirrored horizontally and vertically.

There are two drawing layers in the game, the BACKGROUND layer, and the ENGINEOBJECTS layer.

I needed to use a lot MATH in this project, for example, in the ghosts room, i used sines and cosines for calculating the movement needed to reach BANIO. Math is also used in the mirroring of players.

If you want to take a look at the code, you can download the ZIP file down there with the code (HTML with Javascript in a <script> tag inside) available to you.

ENJOY THE GAME!!

-JMIDEV, the developer/artist/composer of the game.

StatusReleased
PlatformsWindows, macOS, Linux, HTML5
Rating
Rated 4.0 out of 5 stars
(2 total ratings)
AuthorJMIDEV
GenrePuzzle, Adventure
Tags2D, 8-Bit, chiptune, minigames, Pixel Art, Short, Singleplayer, Top Down Adventure

Download

Download
Bunny's Lair.zip 1 MB

Comments

Log in with itch.io to leave a comment.

Nice game, the ghost bit is a bit too hard. But over all good work! Keep it up! 

Deleted 2 years ago

Wow this game is hard, congrats in making it all in javascript.

(+1)

Thanks!