mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
68e981f3c8
* A redesign of objects giving the option of a more managed and an unmanaged system. * Managed system features * Z ordering (should be efficient, based on a doubly linked list). * More than 128 objects if some are disabled (not currently efficient). * Unmanaged * Same sprite system as before. * You control how objects get put in to OAM with the unmanaged OAM. TODO before this is mergable: * [x] Docs pass, aim for everything to have docs as before. * [x] Tests, some of these needs some run time testing. * [x] Affine matrices, I'm not leaving this to die this time. * [x] Some API redo, so the names make sense / are similar to before. Future work: * The Sprite loader should keep most recently used sprites around and upon allocation of a new sprite try unloading the least recently used sprite. (Performance wise this would be a disaster as it would be doing dealloc and alloc in vblank, so really we want to "learn" how much buffer we should maintain and try to get that during GC). - [x] Changelog updated |
||
---|---|---|
.. | ||
.cargo | ||
.vscode | ||
gfx | ||
map | ||
sfx | ||
src | ||
.gitignore | ||
build.rs | ||
Cargo.lock | ||
Cargo.toml | ||
gba.ld | ||
LICENSE | ||
README.md | ||
rust-toolchain.toml | ||
screenshot.png |
The Hat Chooses The Wizard
A Game Boy Advance game made for the GMTK Game jam 2021 written in Rust using the agb library. Play it at lostimmortal.itch.io/the-hat-chooses-the-wizard.
Compiling
The repository for agb gives instructions for what tools are required for using agb.
If you have these, then clone this repository and build away.
If mgba-qt is installed, then a cargo run
will build and run the game.
Changes
This code may have changed since the gamejam submission, the tag gmtk-submission
contains exactly the code at the point of submission.
This may be difficult to compile due to requiring some special directory setup, so the tag gmtk-submission-agb-versioned
contains a single change that means it is easier to compile.