08-23-2008, 04:35 PM
Hi all! I trying do rain and i don`t know how to do it...
I have 4 rain sprites and I made data...
It work`s but without time limit, I want to do a cloud which will be above the rain. So I made something like this:
It works but now after 100TU cloud disappearing, but rain is still raining ... I have a question to more advenced than me: How to do something like that: Cloud is appearing with rain and after x TU it disappearing ??!
Sorry for my bad English
I have 4 rain sprites and I made data...
Quote:<frame> 13 rain
pic: 50 state: 3005 wait: 3 next: 14 dvx: 0 dvy: 0 centerx: 180 centery: 278 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 61 y: 111 w: 290 h: 280 dvx: 0 dvy: 0 fall: 20 vrest: 10 bdefend: 10 injury: 2
effect: 1
itr_end:
<frame_end>
<frame> 14 rain
pic: 51 state: 3005 wait: 3 next: 15 dvx: 0 dvy: 0 centerx: 180 centery: 278 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 50 y: 106 w: 282 h: 282 dvx: 0 dvy: 0 fall: 20 vrest: 10 bdefend: 100 injury: 2
effect: 1
itr_end:
<frame_end>
<frame> 15 rain
pic: 52 state: 3005 wait: 3 next: 16 dvx: 0 dvy: 0 centerx: 180 centery: 278 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 60 y: 112 w: 287 h: 282 dvx: 0 dvy: 0 fall: 20 vrest: 10 bdefend: 100 injury: 2
effect: 1
itr_end:
<frame_end>
<frame> 16 rain
pic: 53 state: 3005 wait: 3 next: 13 dvx: 0 dvy: 0 centerx: 180 centery: 278 hit_a: 0 hit_d: 0 hit_j: 0
itr:
kind: 0 x: 50 y: 118 w: 280 h: 287 dvx: 0 dvy: 0 fall: 20 vrest: 10 bdefend: 100 injury: 2
effect: 1
itr_end:
<frame_end>
It work`s but without time limit, I want to do a cloud which will be above the rain. So I made something like this:
Quote:<frame> 34 cloud
pic: 77 state: 3005 wait: 1 next: 35 dvx: 0 dvy: 0 centerx: 55 centery: 170 hit_a: 0 hit_d: 0 hit_j: 0
<frame_end>
<frame> 35 cloud
pic: 78 state: 3005 wait: 100 next: 1000 dvx: 0 dvy: 0 centerx: 55 centery: 170 hit_a: 0 hit_d: 0 hit_j: 0
opoint:
kind: 1 x: 210 y: 240 action: 13 dvx: 0 dvy: 0 oid: 451 facing: 0
opoint_end:
<frame_end>
It works but now after 100TU cloud disappearing, but rain is still raining ... I have a question to more advenced than me: How to do something like that: Cloud is appearing with rain and after x TU it disappearing ??!
Sorry for my bad English