I do not know how to input my picture underneath my snowfall
Author |
Message |
armada_skier
|
Posted: 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? |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Paul
|
Posted: Sat Feb 28, 2004 3:33 pm Post subject: (No subject) |
|
|
post your code, or else we wouldn't know how your code works, and can't help you fully. |
|
|
|
|
|
recneps
|
Posted: Sat Feb 28, 2004 4:46 pm Post subject: (No subject) |
|
|
Just draw your winter scene BEFORE the snow, then itll be behind |
|
|
|
|
|
Paul
|
Posted: Sat Feb 28, 2004 4:59 pm Post subject: (No subject) |
|
|
If you draw it before, then the snow will wipe it out, won't it? |
|
|
|
|
|
recneps
|
Posted: Sat Feb 28, 2004 6:10 pm Post subject: (No 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. |
|
|
|
|
|
Paul
|
Posted: Sat Feb 28, 2004 6:17 pm Post subject: (No 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. |
|
|
|
|
|
BlAcK TuRtLe
|
Posted: Sun Feb 29, 2004 4:42 pm Post subject: (No subject) |
|
|
Try drawing background, then draw snowflakes, then redraw background all in one loop. |
|
|
|
|
|
|
|