Hey small update, i finally got the Backgrounds working, but Sprites still won't show. Even weirder, the background only shows when the InitSpriteBuffer function comes after the CreateTiledBG function in the code... Otherwise it only shows a black screen. Any idea what the problem could be?
Ok so i tried the Grit version from the sourceforge and the same problems keep happening, it spits out the background but it doesn't show in the emulator. I don't know if the .bmp needs something besides being indexed. I'm not very well-versed in the field of image manipulation so I have no idea...
The background has a size of 256 x 256 and the sprite has a size of 32 x 32. I just tried compiling the "Example2" project and that seems to work fine.
I put .bmp images into Grit and use the batch files to convert them. The output is a .img and .pal file for Sprites and a .img, .pal and .map file for backgrounds. I then put them into the Nitrofiles folder of the Project. Are there any things to consider when making the sprite? For example...
Hi, nice tutorial. I tried to get the Sprites and Backgrounds to work but I only get a black screen. Even after copying the code in the example I just can't get it to work...
// Include C
#include <stdio.h>
// Include Libnds
#include <nds.h>
// Include NFLib
#include <nf_lib.h>
int main(int...