No description
Find a file
Jeremy Clarke de2dc9fe15 0.3.0
2025-02-15 17:34:11 +00:00
natu Merge branch 'devel' 2025-02-15 17:32:58 +00:00
vendor adapt libtonc OAM definitions for PC platform 2024-06-24 20:35:47 +01:00
.gitignore Rename launcher to xatu 2023-12-17 21:01:39 +00:00
changelog.md Edit changelog.md 2021-01-19 02:53:18 +00:00
docs.nims Fix waitcnt field and docgen issue 2021-12-19 15:16:15 +00:00
LICENSE Update license info 2022-05-22 03:19:19 +01:00
mmutil.nim Rolling our own toolchain 2022-02-07 20:53:53 +00:00
mmutil.nims Bump version in mmutil.nims 2023-03-19 14:29:11 +00:00
natu.nim pc audio: generate wav soundbank w/ loop points 2024-01-04 13:37:15 +00:00
natu.nimble 0.3.0 2025-02-15 17:34:11 +00:00
nim.cfg add -Wno-incompatible-pointer-types to tool C flags 2024-10-01 17:59:33 +01:00
readme.md Documentation fixes 2024-05-27 02:37:31 +01:00

Natu GBA Logo

Natu is a package for making Game Boy Advance games in Nim.

Originally a wrapper for libtonc, we are now growing in our own direction: ditching some old conventions to be more Nim-friendly, and adding more libraries.

Features

  • Full GBA memory map + flag definitions
  • BIOS routines
  • Interrupt manager
  • A powerful text system (TTE)
  • Surfaces (draw to tiles like a canvas)
  • Efficient copy routines
  • Sin/Cos/Div LUTs + other math functions
  • Fixed-point numbers, 2D vector types
  • Random number generator
  • Hardware sprites, affine matrix helpers
  • Color/palette utilities
  • Button states (hit, down, released)
  • mGBA logging functions
  • Maxmod bindings for music/sfx
  • Posprintf wrapper for string formatting

Usage

For docs and setup instructions go to natu.exelo.tl

The examples can be found at git.sr.ht/~exelotl/natu-examples

Happy coding! And if you need any help you can reach me (exelotl) on the gbadev discord, #natu irc channel on EFnet, or ask a question on the natu mailing list.

Thanks

tonc + libtonc by cearn
maxmod sound system by mukunda johnson
libugba's interrupt handler by AntonioND ACSL's malloc/free by pgimeno mGBA by endrift
posprintf by dan posluns
natu logo by hot_pengu, based on pixel art by iamrifki


Natu