-
Notifications
You must be signed in to change notification settings - Fork 0
Car Game
I'm planning to develop a new car game for Game Boy in Assembly! :D
| Demo version ROM | ||
|---|---|---|
| car_game04_v08-test04.gbc | Smooth acceleration test. | YouTube |
| car_game04_v08-test03.gbc | Rival car position display test. | YouTube |
| car_game04_v07.gbc | Smooth curve drawing test. | Source / YouTube |
[Ver 0.8-test04]
Smooth acceleration and 1-pixel horizontal screen panning test.
[Ver 0.8-test03]
Generating data using Bresenham's algorithm at game startup. Smooth 1-pixel horizontal screen panning.
- Download this file.
https://github.com/emutyworks/Learning-GB-Programming/tree/main/car_game04
./a.sh main car_game04
GBCMapEditor
Editor to Tile Maps for Game Boy Color.
SoundEditor
This is a tool to check the sound parameters to set in assembly code.
SoundDriver
Sound driver for Game Boy developed in Assembly language. (Generate sound data from DefleMask .DMF file)
RunLengthEncodeDecode
Run-length encode binary data with php and decode it with assembly code.
GBAddClockCyclesTool
This tool to add clock cycles of CPU (LR35902) to Game Boy assembly code.
The code on this page assumed the use of rgbds v0.6.1. When using rgbds v0.9.1, please modify as follows.
*Please use this older version when assembling the source for this page. -> hardware.inc
- Remove "-H" from options.
rgbasm -H -o main.o main.asm
-> rgbasm -o main.o main.asm
- Add DEF to the EQU declaration.
xxxxx EQU x
-> DEF xxxxx EQU x
| Demo version ROM | ||
|---|---|---|
| car_game_v047-test01.gbc | Adjusted road surface drawing. | YouTube |
| car_game_v046.gbc | YouTube / Source |
[← Ver 0.46 | Ver 0.47-test01 →]
[Ver 0.46]
- Changed the acceleration of rival cars.
- Adjusted road surface drawing.
- Changed road width.
- Download this file.
hardware.inc (GitHub)
https://github.com/emutyworks/Learning-GB-Programming/tree/main/car_game03
rgbasm -o main.o main.asm
rgblink -t -o car_game03.gbc main.o
rgbfix -v -p 0 -C car_game03.gbc
| Demo version ROM | Notes | |
|---|---|---|
| car_game_v031.gbc | Sprite and BG priority test 2! :D | |
| car_game_v029.gbc | Collision detection test 2. | YouTube |
| car_game_v028.gbc | Collision detection test. | YouTube |
- Download this file.
hardware.inc (GitHub)
https://github.com/emutyworks/Learning-GB-Programming/tree/main/car_game02
rgbasm -o main.o main.asm
rgblink -o car_game02.gbc main.o
rgbfix -v -p 0 -C car_game02.gbc
| Demo version ROM | Notes | |
|---|---|---|
| car_game_v020.gbc | Collision detection test3, improved drawing process! :D | |
| car_game_v019.gbc | Collision detection test2, Add enemy car. | YouTube |
- Download this file.
hardware.inc (GitHub)
https://github.com/emutyworks/Learning-GB-Programming/tree/main/car_game01
rgbasm -o main.o main.asm
rgblink -o car_game01.gbc main.o
rgbfix -v -p 0 -C car_game01.gbc
[Change log]
- Supported editing 32 tiles.
- Supported copy Map Part.
- Supported reverse Map Table order.
- Supported editing for 4 maps (32x2x2).
Demo:
https://emutyworks.github.io/Learning-GB-Programming/map_editor/
Compressed road data: Total 10 bytes per row *Compressed road data into quarters! :D

| Demo version ROM | Notes | |
|---|---|---|
| car_game_v011.gbc | Collision detection processing test! :D | |
| car_game_v010.gbc | Updated Sound Driver, Scroll synchronization test for multiple sprites. | YouTube |
- Download this file.
hardware.inc (GitHub)
https://github.com/emutyworks/Learning-GB-Programming/tree/main/car_game
rgbasm -o main.o main.asm
rgblink -o car_game.gbc main.o
rgbfix -v -p 0 -C car_game.gbc
Calculate Collision detection data address from the sprite position.
collision.xlsx
emutyworks | Twitter | YouTube | SoundCloud | itch.io
Car Game
SoundDriver
SoundEditor
RunLengthEncodeDecode
GBAddClockCyclesTool
GBCMapEditor
GBPixelEditor
Learning GB/GBC Programming







