8f28ba3a27 | ||
---|---|---|
Assets | ||
Data | ||
Media | ||
ROM | ||
Source | ||
Tools | ||
.gitignore | ||
Build.rogue | ||
LICENSE | ||
README.md |
README.md
A weird and wonderful action odyssey for Game Boy Color. Developed in 2000 by Abe Pralle and Jacob Stevens. Playable and fairly complete but not fully finished.
About | Current Release |
---|---|
Version | 1.1 |
Date | 2022.01.07 |
Target | Game Boy Color |
Build | macOS, Windows, Linux |
Tools/Editors | Windows |
Licenses | MIT (source code) and Creative Commons (IP) - see the LICENSE. |
ROM
The pre-compiled FGB ROM for Game Boy Color is here.
It can be run on emulators such as SameBoy. Note: the "battery save" feature does not seem to work correctly on SameBoy at least. Use emulator save states instead.
Developers
- Abe Pralle (programming, level design, dialog) grew up on the Commodore 64 but was too young to develop for it. He embraced the "second chance" of creating an 8-bit game for the Game Boy Color in the late 1990's. His current passion project is a programming language called Rogue.
- Jacob Stevens (art, music) is a long-time Nintendo fan and similarly loved the idea of developing for Game Boy Color. These days he and his brother Paul Stevens are a dynamic duo developing games as Riverman Media.
Building from Source
- Install the Rogue language from here to take advantage of the Rogo build system:
- Install the RGBDS assembler:
- Run
rogo
in this project's base folder.
Tools
- Each of the following tools is provided as a precompiled Windows
exe
along with their original source code. - These
exe
files were last compiled circa 2000. No attempt has been made to update their project source. The Level Editor and Image Converterexe
's are both confirmed to work on Windows 10. - During its original development, FGB was essentially a single folder containing hundreds of files. Because of this, each tool typically expects its data files to be in the same folder as the tool itself.
- This project has now been reorganized to cleanly separate original assets, converted data, and source code into separate folders.
- As such data files will generally need to be moved into each tool folder as inputs and the results moved back to the appropriate location if the editors are used.
- Ideally at some point Abe Pralle or a contributor will update the editor projects to be in a modern Visual Studio format and adjust the input and output locations to utilize the current folder structure.
LevelEditor
- Refer to
Media/Levels/
to identify levels you want to edit. - Copy corresponding
Data/Levels/*.lvl
files toTools/LevelEditor
. - Run
Tools/LevelEditor
, load, edit, and save the levels. - Copy the modified levels back to
Data/Levels/
.
GBConv2
- GBConv2 loads BMP images and converts them to tiles and/or sprites.
Game Boy Sound Manipulator
The Game Boy Sound Manipulator is a tool in a separate repository that allows developers to experiment with sound parameters in real time. It was used extensively in the creation of FGB.
MakeGBM
MakeGBM compiles programmatic music .gbm
source files into data files for the FGB engine.
MakeDiscoLights
MakeDiscoLights is a simple program that generates data files for the "mirror ball disco lights" of the "Duke's Disco" level.
MapMaker
MapMaker reads .lvl
data files and uses them to generate PNG images of various level and maps. All of the content it generates has already been added to this repo as Media/Levels
and Media/Maps
.
Developer Notes
Origins
- FGB was started in 1999 by college friends Abe Pralle, Jacob Stevens, and Martin Casado (pronounced "Mar-teen"). It was very loosely based on a game called "Flour" that Martin had created with input and art from Abe. The new game was designed for Game Boy Color due to Jacob's fondness for Nintendo and so they called it "Flour Game Boy" or "FGB". Martin helped set up the initial story and the wacky world, but he soon got too busy with school and bowed out of the project.
- FGB and Flour were both partly inspired by Crossroads for the Commodore 64, a type-in game that was one of the finest ever published in COMPUTE!'s Gazette magazine.
Story
- Martin's original indie game filled the title screen with flowers and then presented the game title: "Flour". It was purely a visual pun that had no bearing on the game.
- FGB was initially going to begin with the Appomattox en route to the Crouton Homeworld, the encounter with Lady Flower being attacked by the Space Gang, and landing on Planet Kiwi. The introductory sequences would all be cinematics and then upon landing on Kiwi you would immediately be able to pick any of the three playable characters at will (BA, Haiku, BS).
- We had a good first chunk of the game implemented when we decided that we should have a prelude that introduces those main characters one at a time so players can get a feel for each of them. That's when we created the "Moon Base" levels. By that time we'd really nailed down our process and evolved our engine, so we were able to make those levels quickly and with a lot of polish and impressive features. This order of development was happenstance but it worked out beautifully. A resulting rule of thumb is: don't make the first part of the game first; make the middle part first so that you can come back and do your best work on the first part.
- Major Skippy was originally an anthropomorphic bone with the allusion being that he was "bone-headed". The idea sounded good in theory but after the art was finished it was quickly apparent that his general shape was too phallic. We changed him to an unlit candle instead which only required changes to the top of his head in cinemas, allowing us to keep the facial expressions that had already been completed.
- The fast-firing monkeys are a nod to the dangerous Brown Monkeys in Crossroads I & II, just a few of which can easily dominate all other opponents. The leader and hero of the FGB monkeys is Duke, a one-armed orangutan.
- The current version of the game ends on a cliffhanger as our heroes return from Space Station Apocalypse. Check out Media/DesignDocs/TopLevelStoryScript.pdf to see the broad outlines of the ending we had planned.
Technical
- FGB has full two-player support via link cable. It is very fast, unlike the use of link cable in most Game Boy games.
- Game Boy has famously slow link cable data transfer. The reason is that when one Game Boy transmits a byte to another over the link cable, the receiver is notified that a byte was received but there is no return acknowledgement; no way for the sender to know that the byte was received. So most games would transmit information by sending only one or a few bytes per second; a long enough interval to ensure that the other Game Boy had received each byte before sending another.
- FGB got around this limitation by having the sender and receiver continuously swap roles and transmit single bytes to each other as fast as possible. So the sender sends a byte and then implicitly becomes a receiver and waits to receive a byte. The receiver receives a byte and then immediately acts as a sender and sends a byte back. Sender control flip-flops in this way constantly whether or not any actual data is being sent. If Abe's memory serves, a chunk of data or "message" is transmitted as a size byte and then as one byte at a time every time the control flip-flops, with the receiver implicitly collecting a set of bytes and then acting on them.
- FGB uses a very simple but effective algorithm for generating random numbers whenever it needs them. A desktop program shuffled byte values 0-255 into a random order and then those bytes are compiled in as a look-up table. Whenever a random byte is requested, the system just reads the next byte from the table, wrapping around.
- FGB's levels (and level editor) support a relatively sophisticated zone-based pathfinding system. The designer highlights areas of the map as zones and can then draw waypoint-based paths between zones. It sounded good in theory and worked well technically speaking, but it diminished the gameplay rather than improving it. Levels (or screens) just became too hard and frustrating when every enemy would immediately start pathfinding its way toward you. Only the first landing zone at (1,7) uses enemy pathfinding, as it was the first level we made, and then we rarely or never used it again. Enemies use a simple algorithm that works well. It's something like: move toward the player if possible; if blocked, walk right X steps while trying to move forward; if still blocked, move 2X steps to the left while trying to move forward; if still blocked, move in a random direction for X steps.
- FGB had a digitized sound sample for eating food (an "Mmmm" with lip-smacking). Conventional wisdom would have us playing the sound over Sound Channel 3 that supports a custom wave form. However, we figured out an alternate way to do it that didn't use up an instrument voice: we played 3-bit sound by setting the Game Boy's master sound volume (at
FF24
) to be 0-7 according to each sample. It didn't diminish the other music or sound effects and the digitized sound was significantly louder than it would have been playing on Channel 3.
Fate
Jacob and Abe were both passionate indie game devs but had no industry contacts. They attended E3 2000 with a nice demo of FGB and pitched it to various publishers. After failing to find a publisher at E3 or over the next few months, they finally threw in the FGB towel in late 2000 or early 2001 and released the ROM as freeware for anyone to enjoy.