1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
[object_type]
id="leaf_generator"
ignore_collide="true"
on_create="[set(alpha,0)]"
on_end_anim="animation('normal')"
on_timer="if(1d5=5,spawn('falling_leaf', midpoint_x + 1d256-128, midpoint_y + 1d128-64, if(1d2=2,1,-1)))"
timer_frequency="50"
zorder="50"
[editor_info]
category="controllers"
[/editor_info]
[animation]
duration="1000"
frame_info="0,2,2,1,636,501,26,25"
frames="1"
id="normal"
image="compiled-2.png"
rect="636,499,663,526"
[/animation]
[/object_type]
|