#10711 - floppy942 - Sat Sep 13, 2003 3:39 am
Im a newbie to gba c++ programming. I have a few questions about graphics. If someone could help me out, I would be very greatfull.
First off, can you plot a pixel in tile modes? I don't think its possible, but I figured it wouldn't hurt to ask.
Second question. I'm using a simple method to display images in bitmap mode, with for loops to load the palette and the image data directly to video memory. This is a little slow. I can see the image being painted on. Is there faster way?
Question three. I'm using the particle engine from the Pern Project to make a starfield in my intro. When I run it the starfield looks fine, but I get a lot of garbage near the bottom of the screen. After I played around a bit I figured out that its the DMAClearScreen function (from graphics.h) thats doing this. I dont know much about DMA yet, so if someone could let me know how to prevent this. If you need to look at a screenshot or some of the code, just ask me. I'll post it.
Thanks to anyone that can help.
First off, can you plot a pixel in tile modes? I don't think its possible, but I figured it wouldn't hurt to ask.
Second question. I'm using a simple method to display images in bitmap mode, with for loops to load the palette and the image data directly to video memory. This is a little slow. I can see the image being painted on. Is there faster way?
Question three. I'm using the particle engine from the Pern Project to make a starfield in my intro. When I run it the starfield looks fine, but I get a lot of garbage near the bottom of the screen. After I played around a bit I figured out that its the DMAClearScreen function (from graphics.h) thats doing this. I dont know much about DMA yet, so if someone could let me know how to prevent this. If you need to look at a screenshot or some of the code, just ask me. I'll post it.
Thanks to anyone that can help.