Computer Science Canada Snowfall |
Author: | CSC [ Sun Dec 14, 2008 2:28 pm ] |
Post subject: | Snowfall |
K guys. This is how it is. I got to make a Christmas card, and i need help making snowfall. Can anyone help me please? If its possible, please tell me how u can pile up the snow on the bottom while its snowing. Thank you! |
Author: | ecookman [ Sun Dec 14, 2008 2:35 pm ] | ||
Post subject: | RE:Snowfall | ||
you would have to draw a black background or one that white will show up on.. then use the locate function make a for loop in the forloop have the y decrease by a value kinda like this example: an animation i did
in the for loop the +a simply says every time you repeat add one to me so like 1 loops 2 loops 3 loops you just have to play with the locate function and the y corr. |
Author: | CSC [ Sun Dec 14, 2008 2:43 pm ] |
Post subject: | RE:Snowfall |
Umm isn't there a way to make snow fall using Random integer? |
Author: | ecookman [ Sun Dec 14, 2008 2:45 pm ] |
Post subject: | RE:Snowfall |
not sure...you could set the movements so it will increase the x and y and then decrease so you get a side to side movement...other than that i don't know |
Author: | copthesaint [ Sun Dec 14, 2008 4:06 pm ] |
Post subject: | Re: Snowfall |
Yes it's Rand.Int (#,#) This isn't acually random (based on time) but If you want True Random look up Rand.Seed for what your doing though Rand.int will be fine |