GBA - Problems displaying a bitmap or sprite on screen

Started by
0 comments, last by BalAhan 22 years, 1 month ago
I''ve been following the tutorials on the Pern Project and the articles on this site. Both the tutorial for displaying a pre made bitmap image on the screen and the displaying of a sprite on the screen, will compile just fine. But when I go to run the .bin file in VisualBoy or BoyCottAdvance, nothing shows up on the screen. In the first tutorial, when we just plotted a red pixel everywhere on the screen, that worked and the screen showed up red. Does anyone know what the problem might be? Thanks!
Advertisement
If the image is 8bpp, are you also copying the palette? As long as you have the image data in an array, and you are copying it in the same way as you would copy in red into the entire buffer, the only reason that it wouldn''t show up would be that the image is all black or the palette is all black.

This topic is closed to new replies.

Advertisement