ON64 is a small programming library built ontop of the hardwareinterface Libdragon. The aim of this project is to develop a simple library that provides tools to create Nintendo 64 compatible games. Granted, that alone can be done with Libdragon itself, ON64 simply adds some graphics-functionality, a few development tools and a simple application structure.
- Build and install the Libdragon-Library if you haven't already (or use a pre-built Dev-ISO )
- Download ON64 (no need to install, you'll build the source along with your game)
- Create a new folder for your game - it should contain:
- game.c (your main source file)
- Makefile
- clean
- lib (contains the ON64 source)
- mips64-elf
- Compile using the clean shellscript (
sh clean game
)
Have a look at the demo-apps to get started.
Things you should read:
Additional Tools:
- ImageMerger merges to images into one (by sacrificing color-depth) by using an additional color-scheme implemented in ON64
- SpriteMapper is a tool to create, arrange and merge spritemap animations
To use these tools you'll need to replace mksprite.c inside your libdragon/tools/mksprite - folder with the one in the root-directory of this project and recompile it. To take advantage the merged color-scheme, use -16 as parameter instead of 16/32.
Note: All .c files in the root dir except mksprite.c are test apps not a necessary part of the library. They are half-baked and may not work.
- Simplistic Game-Infrastructure
- Graphics
- Flipping
- Nearest-Neighbour Scaling
- Bilinear Scaling
- Rotation
- Fading
- Basic Geometries (Circle, Rectangle, Triangle)
- 4-Corner Distortion
- Whirl-Effect
- Additinal 8-Bit color-scheme
- Dev-Tools
- FPS-Display
- Memory-Monitor
- Debug-Output
- Desktop-Tools
- Image Merger
- Spritemap Creator