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 28 29 30 31 32 33 34 35 36
|
[object_type]
id="missile_vert"
on_bang="spawn('explosion_spark_bright',midpoint_x,midpoint_y,facing)"
on_collide="animation('explode')"
on_collide_feet="animation('explode')"
on_collide_head="animation('explode')"
on_end_explode_anim="die()"
on_end_normal_anim="animation('normal')"
on_hit_player="animation('explode')"
[animation]
duration="1"
frame_info="1,6,1,6,302,739,17,7,3,6,1,6,319,739,15,7"
frames="2"
id="normal"
image="compiled-0.png"
rect="301,733,319,751"
rotate="-90"
scale="2"
velocity_y="-800"
[/animation]
[animation]
duration="10"
events="2:bang"
frame_info="1,2,1,1,1012,512,11,10"
frames="1"
id="explode"
image="compiled-0.png"
rect="1011,510,1023,522"
scale="2"
velocity_x="1"
velocity_y="1"
[/animation]
[/object_type]
|