• Makefile 52.5%
  • C 30.5%
  • Assembly 17%
Find a file
Antonio Niño Díaz db70fa29a0 Use VBLANK interrupt to synchronize demos to the screen refresh
Many people copy the demos here and use them as a starting point, so it's
a good idea to show how to do things properly from the start.
2025-06-25 19:16:37 +01:00
adv Stop using memcpy() to copy data to VRAM 2024-08-22 18:42:23 +01:00
basic Use VBLANK interrupt to synchronize demos to the screen refresh 2025-06-25 19:16:37 +01:00
ext Use VBLANK interrupt to synchronize demos to the screen refresh 2025-06-25 19:16:37 +01:00
lab Fix inconsistent function protocol types 2025-05-27 08:13:41 -07:00
.gitignore Add makefiles to build all examples at once 2022-11-13 20:09:04 +00:00
LICENSE LICENSE: add cc0 2024-01-25 22:05:53 +01:00
Makefile Add makefiles to build all examples at once 2022-11-13 20:09:04 +00:00
readme.md Convert graphics of octtest example at build time 2024-08-22 18:35:44 +01:00
tonc-code.txt Use UNIX line endings 2022-11-14 02:32:38 +00:00

libtonc examples

The examples in this repository are the v1.4.2 examples of libtonc, updated to be able to build with the current libtonc distributed by devkitpro, and without the "toolbox" library that some examples used to have.

The examples have been upgraded so that they convert their graphics at build time. The exception is example cbb_demo, as it does special handling with the converted data, and it can't easily be replicated by an automated process.

To build any of the individual examples, go to its folder and type make.

To build all examples at once, type make in the root of this repository. All examples will be copied to folder bin.