Jump to content

  • Log In with Google      Sign In   
  • Create Account

GBA - Problems displaying a bitmap or sprite on screen


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 BalAhan   Members   -  Reputation: 122

Like
Likes
Like

Posted 17 March 2002 - 09:22 AM

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!

Sponsor:

#2 Aprosenf   Members   -  Reputation: 372

Like
Likes
Like

Posted 17 March 2002 - 11:46 AM

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.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS