PDA

View Full Version : snow not random enough



LJK
May 13th, 2005, 11:09 PM
Hi -
Newb. playing with user controls in m. clips...
Got the particle snowfall going fine, but the wind factor - which changes the ._x according to the slider's value - pretty much ruins the initial random() effect of the snowfall. [When taken to a high or low wind factor, then back to 0%, the particles get stringy-looking and too regular.]

Tried tweaking the wind variable with a bit of randomness [// in the code] - which solved the above problem, but now the harsher snowfall is a bit too 'wiggly'. How can I maintain the randomness of a soft snowfall without screwing up the wind effect?

Any help would be great,
El

Krilnon
May 13th, 2005, 11:26 PM
This may not seem particularly helpful... but in real life the snow's movement becomes less wobbly too when blown by the wind.

LJK
May 14th, 2005, 12:05 AM
Hey man, that's my point, exactly...
code suggestions, anyone? ;-)

Photogenius
May 14th, 2005, 03:23 AM
I couldn't get it workin in Firefox (the swf) but it was workin in IE. How strange...

LJK
May 15th, 2005, 01:25 PM
Hi -
Photogenius: I have my files set to open with the player by default, and design for firefox when adding Flash to web pages. These are stand-alone files, so I'm not sure what the problem could have been...

All: Got a suggestion from another forum that uses an alpha setting for more of a parallax effect, but it still becomes 'stringy' instead of random-looking when wind speeds increase.

Suggestions, anyone?
El

LJK
May 18th, 2005, 06:21 PM
Holy Browser Woes, Batman!
Okay, repaired the game script so that F-fox, Opera & IE can play it fine. And figured how to alter the helix code, as well - but HOW can AS 'packaged' within an exported .swf be unplayable in a browser [barring any coding errors] yet do fine in the player?

This snowfall is only running in IE. F-fox & Opera just show the elements of the movie - - it never even starts. Please, if you can take a look at the 'old' code still posted above & guess at why this browser is suddenly choking on me...

...would be grateful, to say the least,
El