Environment setup - TypeDefinition/NautiBuoy GitHub Wiki
IDE
- Download visual studio code
- Download the RGBDS Z80 language extension
Compiler/assembler
- Download RGBDS
- Helps to compile the codes and build a .gb file to run the game
- Can also help convert .png files or tile map data to its proper format so it can be used in the code
- How to setup
How to compile code:
- Head to this link and copy the hello world code from here
- In your code file directory, open up command prompt and run the commands to build the .gb file
rgbasm -o main.o helloWorld.asm ; this makes an obj file
rgblink -o helloWorld.gb main.o ; links all the obj files into a .gb file
rgbfix -v -p 0 helloWorld.gb ; fix up the .gb file
Emulators and debugging
- Download BGB, it is a really good emulator that is great for debugging graphics and what's going on with the gameboy's VRAM (Video memory)
- Download Emulicious, it's great for debugging codes it'll show the codes as it is instead of hexadecimal
Art
- Has to be 8x8 pixels
- Can just use normal programs like photoshop or GIMP to draw the art, RGBDS has a command to help you convert it into the proper format
- For map designing and level editing, can use Tiled, again RGBDS has a command to help convert it into the proper format