Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/bmchtech/dusk

DUsK, a library for gameboy advance development
https://github.com/bmchtech/dusk

gameboy gameboy-advance gba gba-dev gba-development gba-game homebrew

Last synced: 3 months ago
JSON representation

DUsK, a library for gameboy advance development

Lists

README

        

![icon](media/icon.png)

# dusk

DUsK, a library for gba dev

## media!


## features
+ simple, intuitive C API
+ library integration
+ built in support for TONC, GBFS
+ graphics
+ scene architecture
+ 8bpp texture atlas packing
+ sprite/animation helpers
+ tiled map exporter and loader (via Tiled2GBA)
+ (WIP) saves

## ideas

dusk is built all around the idea of simplicity, clarity, and readability.
the exposed api is minimal, but not limiting.

## samples

sample projects can be found here: https://github.com/redthing1/dusk/tree/main/demo

these demo projects are written simply and cleanly.

they have plenty of comments explaining what and why the code does what it does.

furthermore, they demonstrate many of the different features provided by dusk.

## documentation

in the spirit of simplicity and minimalism, and to back up the claims that dusk is simple and easy:

documentation is provided in the literate style, interspersed within a few header files.
these header files contain the entirety of the dusk core api.

view these self documenting files here: https://github.com/redthing1/dusk/tree/main/src/dusk/include

## hacking

### requirements
+ devkitARM's `gba-dev` ([setup](https://devkitpro.org/wiki/Getting_Started))
+ [Tiled2GBA](https://github.com/LucvandenBrand/Tiled2GBA/tree/master/converter) converter in path as `Tiled2GBA`
+ [crunch](https://github.com/xdrie/crunch) atlas packer in path as `crunch_gen`

### build

enter `demo/DuskDemo` and run:

```sh
make
```

this will output `DuskDemo.gba`, which can be loaded up in your favorite GBA emulator.