I have an image of a bitmap displayed on screen, I would like to add raining falling down on the screen. Also I would like another image to have snow falling.
Can anyone help me?
Joseph
I have an image of a bitmap displayed on screen, I would like to add raining falling down on the screen. Also I would like another image to have snow falling.
Can anyone help me?
Joseph
You cannot display graphics to the console. What API are you using to draw the graphics?
transparent bitmap for rain/snow.
loop
{
blit across screen buffer in a loop
blit across back buffer 1 or 2pixels down in a similar loop
swop buffers
}
you could do this in a separate worker thread and when you want the weather effect to stop,kill the thread.But that would be a fair amount of work coordinating the drawing because other threads will want to write to the same buffers.Sounds like fun eh?
Free the weed!! Class B to class C is not good enough!!
And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi