Barrel knight is an android game, developed within a multidisciplinary team of 7 students, as a part of my training at Rubika. The goal was to make in two weeks a runner game, foor smartphone, and playable with only one hand.

The dragon was the easy part. Now, it remain the stairs.”

You follow a knight, by wanting to go down the tower, has fallen and got stuck in a barrel.  You must help him to tumble the stairs as far as possible, by making him jump over obstacle, or redirect the rings that form the tower.

Durring the run, you may collect the coins. They allow to your knight to acquire some new suits, and upgrade to go further. To spice up the game, some challenges to achieve.

You can download the game on the Android store : https://play.google.com/store/apps/details?id=com.supinfohbibi.barrelknight&hl=fr

The sources are on github : https://github.com/larnin/Diogene

Production

I have mainly worked on the gameplay, the behavior of the character, and the generation and the render of the tower.

I haven’t used the unity physics for the player because if he move too fast, or if the smartphone have some performance problems, the character can pass throught the ground and the obstacles. Instead, i have used a raycast system, to tell if the character can move, or if he have touched an obstacle.

 

The tower is made of many small chunk that are placed and removed when the player go down. They were created and designed by the graphists and the designers. Then, they are insered in a list and sorted in difficulty order. When the generation need a new chunk, We just select one in the list according to the traveled distance, to increase the challenge along the way.

Some pictures