I'm missing something fundamental here. I wanted to put a background on my game, with a couple of canvases, one to show a map, one to show a radar. I don't think I can put the background directly onto the window, so I tried to create another canvas, the size of the entire window, then paint the background onto that, then repaint the two canvases over the top, but the radar one isn't showing now. For that matter, a couple of combo boxes I put on the screen aren't showing either.
The way I'm trying to do it is, during the Event_Gadgetpaint event, I draw the background, then the two canvases in that order. I'm doing a Setgraphics Canvasgraphics(Thiscanvas) followed by a Cls, the update, then a flip, for each canvas.
Basically I need a fuller tutorial on canvases, or can somebody show me how to do two overlapping canvases in a short example?
|