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

    knightFox Member

    Newcomer
    49
    3
    Dec 30, 2007
    Barcelona, 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

    knightFox Member

    Newcomer
    49
    3
    Dec 30, 2007
    Barcelona, Spain
    Congrats!
    Me too!
     
  3. corenting

    corenting GBAtemp Regular

    Member
    288
    51
    Jul 17, 2008
    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

    knightFox Member

    Newcomer
    49
    3
    Dec 30, 2007
    Barcelona, 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

    relminator #AnyaBasic

    Member
    364
    20
    May 28, 2010
    Yo NightFox. I told ya, it's only a matter of time before your lib gets noticed. ;*)
     
  6. corenting

    corenting GBAtemp Regular

    Member
    288
    51
    Jul 17, 2008
    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

    cdoty GBAtemp Fan

    Member
    327
    96
    Sep 14, 2009
    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

    frezziii Member

    Newcomer
    10
    0
    Aug 14, 2012
    Gambia, The
    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

    Foxi4 On the hunt...

    pip Reporter
    23,537
    21,496
    Sep 13, 2009
    Poland
    Gaming Grotto
    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

    frezziii Member

    Newcomer
    10
    0
    Aug 14, 2012
    Gambia, The
    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

    Foxi4 On the hunt...

    pip Reporter
    23,537
    21,496
    Sep 13, 2009
    Poland
    Gaming Grotto
    You can specify the order in dsFont. :P