Tile Mapping Libnds or PAlib

Discussion in 'NDS - Emulation and Homebrew' started by Dr.Razor, Apr 24, 2012.

Apr 24, 2012
  1. Dr.Razor
    OP

    Member Dr.Razor GBAtemp Regular

    Joined:
    Oct 25, 2008
    Messages:
    109
    Country:
    Switzerland
    Hi,
    I'm looking for a tuto about tile mapping. I have a 2 dimensionnal array with the number of my tiles. (0,1,..)
    but I don't find any information about how to set them as background with Palib or Libnds.
    Actually, I'm using the 3Dsprit function in palib to display my array on the screen. ( As I need 192 "objects" on the screen)
    Another problem is that I want to use 16x16 tiles, but I guess I'll just have to create a routine to display
    4 8x8 tiles.

    If someone could give me an example, it would be perfect :D
     

Share This Page