PDA

View Full Version : 無ibrary



wraggster
March 21st, 2007, 02:17
Brunni (http://www.neoflash.com/forum/index.php/topic,3954.0.html) has posted an entry into the Neoflash Coding Comp:


Here is my entry: 無ibrary!

無ibrary is a new library for Nintendo DS. Basically, it is meant to use the 3D GPU to create nice 2D games very easily
.
Please visit this page for more information: http://brunni.palib.info/new/index.php?page=ndssoft_ulib

Here is a small list of functionalities provided by 無ibrary:
* Supported image formats: PNG, GIF, JPG
* Special image effects: stretching, tinting (4 corners), mirroring, rotation (with a defined center), selection of an image frame to display (just like on spritesheets).
* Can control both screens! (look at my site or the documentation for more information)
* Compatible with PALib (can be used together in the same project) and integrates with programs already written with libnds. PALib or your own code can be used to control the second screen
* Virtual file system: it is possible to load files independantly from the actual support (RAM, libFat, GBFS are supported by default, but you can define your own). Allows to create more easily software that are compatible with all existing linkers
* Untextured geometry (rectangles, gradients, lines, etc.)
* Basic message box system
* VideoGL wrapper for texture and palette loading in VRAM: it is now possible to load and unload things dynamically. Furthermore, it is more flexible (you can choose which banks you want to use for what, etc.)
* Keypad and touchscreen handler namely with support of stylus speed and double click and support of autorepeated keys (menus for example).
* Includes 2 splash screens
* Low level wrapper to draw primitives
* Text system using the same font format as OSLib

Performance is good, one of the examples shows that an unoptimized C++ code that draws 400 balls bouncing on the screen uses less than 15% of CPU

Examples are supplied. The doxygen documentation is available here: http://brunni.palib.info/new/ulib/doc/doxygen/index.html

Some examples are directly downloadable there if you want to test them (please test them either on real DS or with no$gba):
http://brunni.palib.info/new/ulib/tmp/Example01b.rar
http://brunni.palib.info/new/ulib/tmp/Example09.rar

Screens/Download and Give Feedback Via Comments

TeenDev
March 21st, 2007, 02:19
this looks interesting