HELP!
When I use video.DrawEx (to draw the video's frame on the background) and THEN draw a sprite manually onto the background, the video is still on top.
Is it the expected behavior? How can I draw stuff on top of the video?
This is rather blocking for my game...
[code]
if(System.HardwareAcceleration) {
//the game is not designed to take advantage of hardware acceleration
} else {
video.DrawEx(DsBackground, 160.0, 150.0, 1.0, 1.0, 0.0, RtScreen);
}
video.NextFrame();
//overwrite something
DrawingSurface *surface = Room.GetDrawingSurfaceForBackground();
surface.DrawImage(0, 0, bg.Graphic, 0, 320, 156);
surface.Release();
[/code]
As you can see in both cases I target the background : DsBackground, GetDrawingSurfaceForBackground.