mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31:34 +11:00
Add a section about why you would want to use agb
This commit is contained in:
parent
6a52e2be14
commit
cf8210c421
|
@ -3,6 +3,32 @@
|
||||||
**agb** is a powerful and easy-to-use library for writing games for the Game Boy Advance (GBA) in rust.
|
**agb** is a powerful and easy-to-use library for writing games for the Game Boy Advance (GBA) in rust.
|
||||||
It provides an abstracted interface to the hardware, allowing you to take full advantage of its capabilities without needing to know the low-level details of its implementation.
|
It provides an abstracted interface to the hardware, allowing you to take full advantage of its capabilities without needing to know the low-level details of its implementation.
|
||||||
|
|
||||||
|
## A little bit about agb
|
||||||
|
|
||||||
|
`agb` is a library for making games on the Game Boy Advance using the Rust
|
||||||
|
programming language. The library's main focus is to provide an abstraction
|
||||||
|
that allows you to develop games which take advantage of the GBA's capabilities
|
||||||
|
without needing to have extensive knowledge of its low-level implementation.
|
||||||
|
|
||||||
|
agb provides the following features:
|
||||||
|
|
||||||
|
* Simple build process with minimal dependencies
|
||||||
|
* Built in importing of sprites, backgrounds, music and sound effects
|
||||||
|
* High performance audio mixer
|
||||||
|
* Easy to use sprite and tiled background usage
|
||||||
|
* A global allocator allowing for use of both `core` and `alloc`
|
||||||
|
|
||||||
|
## Why rust?
|
||||||
|
|
||||||
|
Rust is an excellent choice of language for developing games on low-level embedded hardware like the GBA.
|
||||||
|
Its strong type system, memory safety, and performance optimizations make it well-suited for building reliable and efficient code in this context.
|
||||||
|
|
||||||
|
Agb leverages rust's unique features by using the type system to model the GBA's hardware.
|
||||||
|
This approach helps prevent common programming errors and allows developers to quickly build games that function correctly on the GBA platform.
|
||||||
|
|
||||||
|
In addition to safety and correctness, rust's performance optimizations are crucial for developing games on the GBA's slow processor.
|
||||||
|
With a limited amount of time per frame, every optimization counts, and rust's speed and efficiency help ensure that games built with agb run smoothly on the GBA hardware.
|
||||||
|
|
||||||
# What is in this book?
|
# What is in this book?
|
||||||
|
|
||||||
This book serves as an introduction to agb, showcasing its capabilities and providing guidance on how to use it to build your own GBA games.
|
This book serves as an introduction to agb, showcasing its capabilities and providing guidance on how to use it to build your own GBA games.
|
||||||
|
|
Loading…
Reference in a new issue