Gameboy Advance development - Balanced Diet
Last updated on June 7, 2016, 8:10 by Sebastian Mihai
The game is based on smgbalib, and is the first game/tech demo to use everything in the library. I came up with the idea while feeling sluggish after eating binges during the holiday season. The purpose is to keep a balanced diet. You cannot become too unhealthy, but at the same time you wish to feel like you're living your life too, so too bland is also not good. You have quite a healthy appetite, so you eat four foods at once (by pressing A) after you've moved the cursor to the desired group of foods.



Depending on what you eat, the following happen:
  • four of a kind - eating four unhealthy or bland foods will greatly shift the balance toward the respective extreme (8x score bonus)
  • three of a kind - eating three unhealthy or bland foods will shift the balance toward the respective extreme (4x score bonus)
  • balanced (two unhealthy, two bland) - eating two unhealthy and two bland foods will shift the balance either way, randomly determined (no score bonus)
Also, the time between "meals" is limited. As you advance through the game, you need to eat more frequently, so be on your toes! (if you still can... )

Food listing:
Unhealthy - burger, donut, fries, hot dog, pizza, taco
Bland - carrot, green pepper, lemon, mushroom, grapes, turnip

Downloads


Balanced Diet rom - the game rom. Use this with a Gameboy Advance emulator to play it, such as Visualboy Advance
Balanced Diet source code - grab this if you wish to modify the game. It requires a devkitadv development kit.
Visualboy Advance - A great emulator to use to play Gameboy Advance games, or to test your own code!
devkitadv - a solid GBA devkit. You will need this to develop for the GBA. All makefiles I provide assume that the directory devkitadv is unzipped in C:\ . Of course, you can change this, but you'll have to change some paths and/or makefiles.

Here is the game running on actual hardware, via a flash cartridge!


Limited 80-copy series


Balanced Diet has now been produced as part of a limited-run series of 80 copies.


Screenshots


If you use the materials on this page, or any other page on this web site, you do so at your own risk. They are provided "as is". No warranty is provided or implied. I neither guarantee that the materials will work, nor that they will not be harmful in any way.

Intellivision development - Hotel Bunny

Coverage of my projects

Interviewed in the Retro Gamer magazine

My homebrew cartridges

ZX Spectrum development - Husband Chores (in Z80 assembly language)

No Snakes! - a multiplayer game over serial port

Sega Dreamcast development - Overbearing Burgers

Snowdrop OS - my operating system from scratch, in assembly language

libzx - ZX Spectrum game programming library (Z80 assembly language)

Compact Pong - game in C# for the Pocket PC (Windows Mobile 2003)

TOTP (time-based one-time password) authenticator in C# (.Net)

aSMtris - Tetris in assembly language (x86, 16-bit)

Balanced Diet (GBA) limited edition

Gameboy Advance development - Balanced Diet

Atari 7800 development - Poetiru

Arcade ROM hacking - Knights of the Round translation

PocketStation development - Pocket Worm

Sega Game Gear development - Burgers of Hanoi GG

Pokemon Mini development - Mini Cookie

Magnavox Odyssey2 development - Red Green

Sega Dreamcast VMU development - Raining Squares

Nintendo GameCube development - Mama Bear Puzzle

Nintendo Wii development - Groundhog Puzzle

Sega Saturn development - Saturnade

Atari Jaguar development - Jagmatch

Sega CD development - Blackjack CD

Nintendo 64 development - Don't Be Square

Commodore 64 development - Tube64

Sega 32x development - Eight Queens

WonderSwan (Mono) development - Swan Driving BW

WonderSwan Color development - Swan Driving

Animal Keeper - a JavaScript and HTML5 Canvas game

3DO development - Space Invaders Invaders

Sony PlayStation development - The 11th Power

Sony PSP development - Newton Voyage

Nintendo DS development - Geoincursion

Gold of the Kingdoms - an XNA/C# homebrew game

Blue Elf 2 309-in-1 JAMMA PCB - troubleshoot controls not working

Fractals in JavaScript and HTML5 Canvas

Angry Video Game Nerd (AVGN) theme song on the Gameboy Advance

Novice calligraphy - Gothic hand, with letter guide

Video compilation of my classic console homebrew games

Seven segment display circuit with the 4511 decoder and the 4029 counter

A simple Atari 2600 joystick tester circuit

555 timer and 4017 decade counter - traffic lights circuit

Catch That LED! - an electronic game circuit

Capacitor study circuit

BlackBerry PlayBook development - Sheepish Bearings (Native SDK, OpenGL)

Neo Geo Pocket Color development - NGCollector

Neo Geo development - Neo Thunder

Atari 5200 development - Shooting Gallery

ZX Spectrum development - simple input/graphics example

Vectrex development - Scalar Ownage

Nintendo Virtual Boy development - Real Danger

Gameboy Color development - Burly Bear vs. The Mean Foxes (GBC version)

Sega Master System development - Burgers of Hanoi

Colecovision development - Mowleco

TurboGrafx-16/PC Engine development - Alddee

Atari Lynx development - Catkanoid

Nintendo NES development - Invaders must die!

Atari 2600 development - Snappy (batari basic)

Super Nintendo development - Bucket

Gameboy Advance development - smgbalib library

Airplane Vegas slot machine

Sega Genesis development - Gen Poker

(2004) Project One - first university game programming club project

Gameboy development - Burly Bear vs. The Mean Foxes

(2006) RGB Overdose - university programming contest entry