Computer Science Canada

I do not know how to input my picture underneath my snowfall

Author:  armada_skier [ Sat Feb 28, 2004 3:32 pm ]
Post subject:  I do not know how to input my picture underneath my snowfall

I have created a snowfall program but am having trouble inserting the winter scene i have made underneath the snowfall, how do i do this?

Author:  Paul [ Sat Feb 28, 2004 3:33 pm ]
Post subject: 

post your code, or else we wouldn't know how your code works, and can't help you fully.

Author:  recneps [ Sat Feb 28, 2004 4:46 pm ]
Post subject: 

Just draw your winter scene BEFORE the snow, then itll be behind Very Happy

Author:  Paul [ Sat Feb 28, 2004 4:59 pm ]
Post subject: 

If you draw it before, then the snow will wipe it out, won't it?

Author:  recneps [ Sat Feb 28, 2004 6:10 pm ]
Post subject: 

Nope, say this is your code...
code:
loop
drawbackgrnd
for i:1..10
drawsnowflake(rand.int(520,206)%blah blah
end for
delay(50)
cls
end loop

itll keep drawing the still background, and draw 10 randomized flakes on top.

Author:  Paul [ Sat Feb 28, 2004 6:17 pm ]
Post subject: 

That was what I was gonna suggest too, but I don't have his code, so I dunno if its gonna be really flashy and stuff.

Author:  BlAcK TuRtLe [ Sun Feb 29, 2004 4:42 pm ]
Post subject: 

Try drawing background, then draw snowflakes, then redraw background all in one loop.


: