-
Allegro Question..
hello! I have a question for a game im making where for a background I have a bmp. Would it be beter to just draw the pictures in the game to the background, or would it be better to draw the pictures to the buffer and background to the buffer as well. ALso, if I should draw the pictures to the background, should I just eliminate the buffer? Thank you!
-
You're gonna have to draw the background to a buffer, because you need to clear the buffer between each frame.
-
ahh I finaly got it to work right, ty for reply!
-
If the background covers the whole screen you wouldn't even need to clear the buffer. Just draw the background to the buffer, and the background will overwrite the last frame. You can actually get a higher framerate like this.