NFlib

From GameBrew
Revision as of 03:40, 6 November 2012 by HydeWing (talk | contribs) (Created page with "{{Infobox homebrew | title = NFlib | image = File:Nightfoxslibds.png | type = PC utilities | version = 20120804 | licence = Mixed | author ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
NFlib
File:Nightfoxslibds.png
General
Author(s)KnightFox (NightFox)
TypePC utilities
Version20120804
LicenceMixed
Links
[Media:Nightfoxslib20120804ds.rar Download]
Website
Advertisements

<htmlet>adsense</htmlet>


NightFox’s Lib is a library written in C that we have developed to facilitate programming for the DS. Based on Libnds of devkitArm, our library contains functions witch make the use of backgrounds, sprites, collision maps, etc much easier.

Features

  • Support for 256 color Tiled Backgrounds
  • Support for 256 color Sprites
  • Text Engine
  • Sound
  • Collision maps
  • 8 and 16 bits backgrounds
  • Media
  • 3D Sprites
  • WIFI
  • Examples
  • Documentation

User guide

Inside the folder there is a folder LIB NF_LIB within folders icon, Makefile, Source and WiFi. In the root of your project (where the default makefile) ICON.BMP copy files and Makefile that may need (they are in separate folders).

Then copy the entire contents of the source folder in your source folder. To use the library only have to include # include "nf_lib.h" in code and # include "nf_wifi.h" if want to use wifi.

Changelog

Version 20120804

  • Changed the maximum number of tiled backgrounds from 32 to 64.
  • Detection of maximum addressable VRAM for sprites depending on the mode started (1D_128 or 1D_64).

Advertising: