Bunny's Lair 🐇🐇

Add to
My games
Add to
Wishlist
Save to
Collection
No reviews
Exceptional
Meh
Skip

About

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.

Platforms
Release date
Developer
JMIDEV
Age rating
Not rated

System requirements for PC

System requirements for macOS

System requirements for Linux

System requirements for Web

Read more...
Edit the game info
Last Modified: Jun 25, 2021

Where to buy

itch.io