NightFox's lib for Libnds (NFlib) (DS Entry -- Coding Library)

Discussion in 'NDS - Emulation and Homebrew' started by knightFox, Feb 24, 2011.

  1. knightFox
    OP

    Newcomer knightFox Member

    Joined:
    Dec 30, 2007
    Messages:
    49
    Location:
    Barcelona, Spain
    Country:
    Spain
    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.

    Major upgrade since last 4 months:
    - 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.

    Complete info and downloads:
    http://www.nightfoxandco.com/index.php/cod...nfl-en/?lang=en

    Games made with this lib:
    http://www.nightfoxandco.com/index.php/pro...y-wars/?lang=en
    http://www.nightfoxandco.com/index.php/pro...rap-en/?lang=en

    Games that uses this new feature:
    http://www.nightfoxandco.com/index.php/wor...d-maze/?lang=en

    Regards!
     
  2. knightFox
    OP

    Newcomer knightFox Member

    Joined:
    Dec 30, 2007
    Messages:
    49
    Location:
    Barcelona, Spain
    Country:
    Spain
    Congrats!
    Me too!
     
  3. corenting

    Member corenting Insert random cool title here

    Joined:
    Jul 17, 2008
    Messages:
    288
    Location:
    Paris
    Country:
    France
    Great library, keep us the good work !

    But is there an equivalent to Palib's PA_StylusInZone ? I find this function useful and I wanted to do the same with nflib but I don't know how...
     
  4. knightFox
    OP

    Newcomer knightFox Member

    Joined:
    Dec 30, 2007
    Messages:
    49
    Location:
    Barcelona, Spain
    Country:
    Spain
    Look at any libnds examples with stylus support. Do that it's a simple IF with 4 conditionals... nothing hard, even for a beginner coder, that's why i dont include any thing "easy" done in libnds in my lib. Duplicate easy things on my lib only makes grow and make it unusefull
     
  5. relminator

    Member relminator GBAtemp Fan

    Joined:
    May 28, 2010
    Messages:
    333
    Country:
    Philippines
    Yo NightFox. I told ya, it's only a matter of time before your lib gets noticed. ;*)
     
  6. corenting

    Member corenting Insert random cool title here

    Joined:
    Jul 17, 2008
    Messages:
    288
    Location:
    Paris
    Country:
    France
    Thanks for the answer !
    It's very good idea to not duplicate easy things in fact. I will try with an IF and 4 conditionals. I also have to think myself [​IMG]
     
  7. cdoty

    Member cdoty GBAtemp Fan

    Joined:
    Sep 14, 2009
    Messages:
    326
    Country:
    United States
    Awesome looking library. But, why not use LGPL (with an object code exception) or go completely crazy with a MIT style license?
     
  8. frezziii

    Newcomer frezziii Member

    Joined:
    Aug 14, 2012
    Messages:
    10
    Country:
    Germany
    Geat library! But the only reason why I don't use it, is that the text engine isn't very well. The text engine should support text fonts which are created by dsFont...
     
  9. Foxi4

    Reporter Foxi4 On the hunt...

    pip
    Joined:
    Sep 13, 2009
    Messages:
    22,735
    Location:
    Gaming Grotto
    Country:
    Poland
    What's the problem in saving your output file from dsFont as a BMP and converting it via GRIT as you normally would? :P
     
  10. frezziii

    Newcomer frezziii Member

    Joined:
    Aug 14, 2012
    Messages:
    10
    Country:
    Germany
    It's not so easy ^^ the letters in the text fonts which are created by dsFont have another order as the letters in text fonts in the examples of the library :P
     
  11. Foxi4

    Reporter Foxi4 On the hunt...

    pip
    Joined:
    Sep 13, 2009
    Messages:
    22,735
    Location:
    Gaming Grotto
    Country:
    Poland
    You can specify the order in dsFont. :P
     

Share This Page