Quick Jump Daily Digest

Thank you for your interest in the Quick Jump Daily Digest. Get notified of all new content on QJ in our free Daily Digest. To subscribe, enter your email address below and click the subscribe button.


Email Address:


Email will come from "donotreply@caputomedia.com". Please whitelist this email address.

Cancel and Return to page

DS homebrew - NightFox’s Lib v20110911

Posted Sep 13, 2011 at 5:15AM EST by Ryan F.

Listed in: Homebrew Applications, News Tags: ds homebrew, NightFox, nightfoxs lib
Ó

Homebrew developer NightFox has updated his NightFox’s Lib, a feature-packed homebrew library that aims to help aspiring DS developers to create new apps and  games.
 

 

NightFox’s Lib 3D sprites layer set demo

 

Changelog:

  • Optimized NF_SpriteFrame(); function.
  • Removed WIFI functions of the main library. Now distributed in a library separately.

 

Developer's note:

 

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.

The basic features of the library are:

  • Support for 256 color Tiled Backgrounds.
    • You can load them from FAT or NitroFS and load up to 32 backgrounds in RAM. The size of the backgrounds must be in multiples of 256 pixels. The background system supports extended palettes and can have up to 16 palettes of 256 per layer. The VRAM configuration allows the use of 96kb for tiles and 32kb for maps. The system also has support infinite maps, using the “bank swap” technique, maintaining the entire map on RAM and copying to VRAM only the necessary part. The only limitation is the size of the tileset, which can not exceed 96kb counting the four layers. This system also allows the scroll of backgrounds, automatically managing that part of the map is loaded into VRAM. Also included functions to display or hide backgrounds, unload them from RAM, change the map tiles from code, change the palette colors, extended palettes, etc.
  • Support for 256 color Sprites.
    • You can load up to 256 graphics and 64 palettes for sprites. The system allows create and delete sprites, hide, rotate, resize and flip them, etc. You can put up to 128 sprites per screen. The system also supports animated sprites with unlimited frames, you can put all frames into VRAM or just the current one. The system also supports the modification of the sprite palette to create effects.
  • Text Engine.
    • Based on the tiled background system, has support for fonts of  8×8 and 8×16 pixels. Fonts supports 256 colors (you can use colored fonts), define your own colors, choose the orientation of the text (normal, rotated to right, rotated to left), make a scroll of text, etc.. You must load a font for each text layer (up to 4 per screen).
  • Sound.
    • Basic support for loading RAW files from FAT or NitroFS. Use of Libnds engine for playback. You can load up to 32 sounds in RAM.
  • Collision maps.
    • Many games require the use of collision maps. Our library supports collision maps, editable from code and can work with up to 32 maps at a time into RAM.
  • 8 and 16 bits backgrounds.
    • You can use 8 and 16 bits backgrounds and images if you need more quality on the screen. It includes functions for loading and drawing these backgrounds on the screen. You can load up to 16 RAW images of 8 or 16 bits. This system also has support for backbuffer.
  • Media.
    • The library provides functions for loading and displays bitmap files. You can load 8, 16 or 24 bits bitmap files and display them on the screen (16-bit mode). The library makes the loading of BMP file and conversion into 16 bits for you.
  • 3D Sprites.
    • Unique features using 3D engine console, which can create up to 256 sprites on screen simultaneously with a maximum size of 1024×1024, with the possibility of rotation, scaling and up to 62 units of different transparency.
  • WIFI.
    • Very basic support for communication using wireless. Only includes a test functions for communication using the UDP protcol.
  • Examples.
    • The library includes over 30 examples ready to compile, which shows almost all the functions of the library.
  • Documentation.
    • Complete documentation in PDF, with a full description of all functions.

 

Download: NightFox’s Lib v20110911

 

And while your at it, don't forget to explore our DL page to grab hold of the latest brews from all around the scene.

 

Via [NightFox & Co.]



This story sucks? This story rocks!
Vote Now!    This story ROCKS! (0) This story SUCKS!! (0)




Become a Member of QJ.Net!

If you want your comments to go live without waiting for moderation, you need to be logged in. Being logged in has its benefits:
  • Logged in members do not wait for their comments to be approved.
  • Logged in members can sign up for nightly updates.
  • Logged in members can create Profiles to be seen by other users.
So why wait? Create an account or login now! It's easy, quick, and free.

To get started, use the LOGIN boxes, or the REGISTER link at the top right!

Comments 


 
# RE: DS homebrew - NightFox’s Lib v20110911Ryan F. 2011-09-13 06:30
great app for those who want to contribute in the scene

Reply
 

Add comment

Security code
Refresh


Welcome to QJ.Net!

If you want your comments to go live without waiting for moderation, you need to be logged in. Being logged in has its benefits:
  • Logged in members do not wait for their comments to be approved.
  • Logged in members can create Profiles to be seen by other users.
So why wait? Create an account or login now! It's easy, quick, and free.

To get started, use the LOGIN boxes, or the REGISTER link below!



Want to learn more about the team who brings you the QJ news?

Read about them now!


RSS Feeds Follow us on Twitter Find us on Facebook
Login:

HOT FLASH GAMES

Monster Truck Jumper

Left to Die

The Empire 2

Dark Dimension

Town Drift Competition

Heroes of the Sword