1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
[object_type]
dies_on_inactive="yes"
id="falling_leaf"
ignore_collide="true"
on_collide_side="die()"
on_create="[set(velocity_y,50+1d100,)]"
on_end_anim="animation('normal')"
on_enter_water="die()"
on_timer="set(velocity_x, (wave(cycle*6)+1000)/10 -100)"
timer_frequency="10"
zorder="50"
[animation]
duration="5"
frames="6"
h="10"
id="normal"
image="effects/particles.png"
pad="3"
palettes="forest_graveyard_shift,forest_autumn,forest_decay,forest_clean"
reverse="yes"
w="10"
x="3"
y="79"
[/animation]
[/object_type]
|