Tile Mapping Libnds or PAlib

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

  1. Dr.Razor

    Dr.Razor GBAtemp Regular

    Oct 25, 2008
    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