M
mr_starfire
Guest
Ok guys so as stated in my last post i have a generic platformer and very early on you go from being outdoors into a cave . ok so in my level it is raining . now im not great at particle systems so i decided to go a different route with my rain system so here is how it works ..
it is object based hence the title of this thread
ok so i have 3 objects for the rain
obj_rain
obj_cloud
obj_splash
my cloud uses a dice to decide the likelihood of creating a raindrop for example in the step event i use with a chance of 1 in 12 create instance obj_rain.. the clouds also move from left to right and back so that the rain does not become to uniform in appearance
The rain object has a starting direction of 260 and a speed of 6
when this object collides with my floor object it is changed into a third object called splash_obj
this simply waits for the splash animation to end then deletes itself
i have not noticed much of a slowdown as it is only used in a small area ..
my questions are
1 have i mad it more difficult than it needs to be ?
2 am i likely to notice performance issues down the line?
3 is there a better way of doing this which includes splash animations etc
thanks in advance guys
it is object based hence the title of this thread
ok so i have 3 objects for the rain
obj_rain
obj_cloud
obj_splash
my cloud uses a dice to decide the likelihood of creating a raindrop for example in the step event i use with a chance of 1 in 12 create instance obj_rain.. the clouds also move from left to right and back so that the rain does not become to uniform in appearance
The rain object has a starting direction of 260 and a speed of 6
when this object collides with my floor object it is changed into a third object called splash_obj
this simply waits for the splash animation to end then deletes itself
i have not noticed much of a slowdown as it is only used in a small area ..
my questions are
1 have i mad it more difficult than it needs to be ?
2 am i likely to notice performance issues down the line?
3 is there a better way of doing this which includes splash animations etc
thanks in advance guys