You must be logged in to post Login Register
Search 

Snowfall tot

User Post

2:04 am
May 21, 2009


Bluesummers

New Member

posts 1

1

Post edited 3:40 pm – May 21, 2009 by smonte
Post edited 3:42 pm – May 21, 2009 by smonte


Hey! Thanks for some great tutorials.


I have  a question though. I modified the snowfall code abit to make it more rainstyle.And i have placed it in a timerevent to just occur at some given times through the timer. Im not extremely experience with AS.


This works all well and dandy, my problem is tho that when i use :


if (particle.y > stage.stageHeight) {
particle.y = 0;
particle.x = Math.random() * stage.stageWidth;
}

They continue long after the given time in the timer…:)
I have tried changing it up abit to only work when a certain boolean is goin etc, but i can get it to work. :-|

Any help please?:)

1:29 pm
June 22, 2009


austen

Member

posts 3

2

It's hard to see where you're going wrong without seeing a full code view. Post some more code (at least the timer) and I'll be happy to help


-austenCool

Topic RSS 
Search