So, I'm working on a 2D platformer (think Super Mario Bros) and obviously I'm going to need graphics.
I don't want to have to convert the graphics into a C text format (ala SDLTest), because I'm going to need to dynamically load and free them.
I can't get SDL_LoadBMP (or whatever it is) to work. Nothing shows up...
My basic approach is that I'd like to load up a bitmap of tiles that I've created in TileStudio and then blit each tile section needed when I'm drawing the map to the screen. My big problem is succesfully getting the bitmap data into an SDL image so that I can blit from there to the screen framebuffer.
Any help?
Thanks!
I don't want to have to convert the graphics into a C text format (ala SDLTest), because I'm going to need to dynamically load and free them.
I can't get SDL_LoadBMP (or whatever it is) to work. Nothing shows up...
My basic approach is that I'd like to load up a bitmap of tiles that I've created in TileStudio and then blit each tile section needed when I'm drawing the map to the screen. My big problem is succesfully getting the bitmap data into an SDL image so that I can blit from there to the screen framebuffer.
Any help?
Thanks!