Skip to content

Latest commit

 

History

History
75 lines (48 loc) · 2.84 KB

README.md

File metadata and controls

75 lines (48 loc) · 2.84 KB

SPAM-factory

a clicker-game for the GameBoy.

play it online (powered by GameBoyOnline) or download the rom and play it with your favorite emulator / flash it to a cartridge to play on the real hardware.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development.

Installing / Usage

Prerequisites

To build the project from source you will need the following:

Build Instructions

GBDK-n comes with a few very helpful batch-files to ease the buildprocess. The Make.bat file in the project directory will need to be adjusted to your environment.

make

Or you can do it the hard way and build the rom manually:

You will need to first compile all the modules seperately (SDCC can't compile all at once)

sdcc -mgbz80 --no-std-crt0 -I "%GBDK_DIR%\include" -I "%GBDK_DIR%\include\asm" -c main.c -o main.rel

Then you can link them all together

sdcc -mgbz80 --no-std-crt0 --data-loc 0xc0a0 -L "%GBDK_DIR%\lib" "%GBDK_DIR%\lib\crt0.rel" gb.lib -o a.ihx gamestate.rel main.rel ... -o spam.ihx

The result can finally be made into a Gameboy compatible rom using

makebin -Z spam.ihx spam.gb

This file can be played in an emulator or transferred to a cartridge to play it on the real hardware.

Built With

Contributing

Please read CONTRIBUTING.md for details on contributing to this project.

Authors

  • Mathias Pain - Initial work - madpew

Also take a look at the list of contributors who participated in this project.

License

This project is licensed under the BSD 3-Clause License - see LICENSE for details

Acknowledgments

  • Thanks to everyone on the gbdev discord for helping with ideas and issues.
  • This game was inspired by paperclips an clicker-browsergame. Give it a try!
  • OpenJam - a gamejam focused on encouraging use of open source.