Bubbleats

Bubbleats is a retro game that runs on the Raspberry Pi. It was programed using python with help of the pygame library. Bubbleats is a very fun game where you eat pills falling from the sky and can push your opponent to get at the pills. This game is designed in retro style and it has five levels. The game features eating sounds which I created myself.

Monofuel, the game developer got intersted in my game and asked my permission to rewrite the code in Nim language and made the game much faster. Here is the link

Run, jump and eat pills.
Eat 10 more pills to win!
Ice pills make you freeze.
Push the other player around!
Red pills make you faster, go go go!
No one wants Blue pills, they make you slower!

GOALS

The main mission of this project is to create a retro game console with raspberry pi. This console will play my own 2D game made in retro style with the pygame library for exactly two players. The goal of the game is to get more points then the other player by eating more pills.

FEATURES

New Product Design - UX / UI Design
Platform: IOT Project for TV Screen
Date: 2017

TARTGET MARKET

My target audience are the players (10-35 years old) who would like to play games with a retro console. And who are interested in playing a fun game with raspberry pi.

RULES

Bubbleats has very simple and easy game. The player should eat more pills to gain more points but some pills can slow down or freeze the character like ice and blue ones. The pink pills make the character move faster and the yellow pills have no effect.

The player needs to eat more pink pills at start, and try to have the other player eat blue pills. If the player is close to winning then eating blue pills becomes a good idea. Player needs to push the other player, and stay close to them in order to have more map control. Player needs to momentary give up map control in order to grab better pills.

DESIGN OF THE GAME

PROGRAMMING

I chose python + pygame to built Bubbleats game, because it was already installed and seemed like the way to go to make games for Raspberry PI.

At first I choose 320x240 resolution, because it seemed like a good retro resolution. The problem came from scaling. At first I just used simple full screen mode in pygame. But it does not seem to do full screen mode "well", just puts a small game in the middle of the screen. I found some code online on how to scale game up to higher resolutions. The code worked but was very slow. Then I scaled the game to 640x480 resolution, hoping that I would not need to scale it. But it still was really slow. I spend a lot of time trying to figure out slow scaling issues. The game also ran really slow on my Mac, but it would run super fast when I would hook up an external monitor. Turns out that there is a bug in pygame that makes it really slow on high DPI screen that my mac laptop has. Most of the game slowness comes from one line: "pygame.display.flip()" I spent as much time trying to figure out the slowness and the scaling as I did on the actual game. I decided to go with the "bad" pygame full screen, because its the only way to run the game fast on raspberry pi.

Even of the scaling issues and slowness game came out fun with many interesting strategies.

BILL OF MATERIAL

device: raspbarry pi
os: raspbian
programming langauge: python
engine/library: pygame www.pygame.org
controlers: NES clasical USB like www.amazon.com/Retro-Link-Wired-NES-Style-USB-Controller/dp/B00GWKL3Y4
art assets: Sketch
sounds: CC freesound.org www.freesound.org
music: CC free to use music

USECASES

HIGH LEVEL SYSTEM DIAGRAM

LOW LEVEL SYSTEM DIAGRAM

GITHUB
CONTACT ME