How change/edit bitmap in GameWindow

RomansUP

Member
Licensed User
Longtime User
Hi, everybody
Who knows is it possible to change (edit) bitmap after command for examp. "gw.DrawBackgroundImage2(Form1.Image)" using sprite.dll in GameWindow. I mean I want to write a game but except sprite motions I want to make some changes on background bitmap. And sprites will catch the collisions events with new drawings on background.
Thanks
 

agraham

Expert
Licensed User
Longtime User
You can try and see what happens but I think that you will get odd effects. This is because the GameWindow caches a copy of the background and selectively draws from it to the screen to erase sprites as they move. This is done for performance reasons to avoid redrawing the entire screen every tick.
 

RomansUP

Member
Licensed User
Longtime User
Well, so it's impossible to draw something on field where sprites move like lines, circles, dots and so on.
For example if I want to make a trace line after sprite or use sprite like a pencil to draw track it is impossible to make it within game window. Is it true? If so it's very difficult to write good game on this language.
 
Top