Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 I do not know how to input my picture underneath my snowfall
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
armada_skier




PostPosted: 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
Sponsor
sponsor
Paul




PostPosted: 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




PostPosted: Sat Feb 28, 2004 4:46 pm   Post subject: (No subject)

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




PostPosted: 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




PostPosted: 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




PostPosted: 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




PostPosted: Sun Feb 29, 2004 4:42 pm   Post subject: (No subject)

Try drawing background, then draw snowflakes, then redraw background all in one loop.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 7 Posts ]
Jump to:   


Style:  
Search: