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 37 38 39 40 41 42 43 44 45 46 47
|
[object_type]
dies_on_inactive="no"
id="wood_door_titlescreen"
on_end_ajar_anim="animation('ajar')"
on_end_normal_anim="animation('normal')"
on_end_open_anim="[animation('ajar')]"
on_interact="[if(cycle > 20,sound('DoorOpen.ogg')),animation('open'),fire_event(level.player, 'start_interact')]"
zorder="-1"
[animation]
collide_h="38"
collide_w="20"
collide_x="0"
collide_y="0"
duration="10000000"
frame_info="0,0,0,0,966,604,22,39"
frames="1"
id="normal"
image="compiled-1.png"
interact_area="all"
rect="966,604,987,642"
[/animation]
[animation]
duration="3"
events="14:enter"
frame_info="0,0,0,0,805,644,22,39,0,0,0,0,827,644,22,39,0,0,0,0,849,644,22,39,0,0,0,0,871,644,22,39,0,0,0,0,893,644,22,39"
frames="5"
id="open"
image="compiled-1.png"
rect="805,644,826,682"
[/animation]
[animation]
collide_h="38"
collide_w="20"
collide_x="0"
collide_y="0"
duration="10000000"
frame_info="0,0,0,0,988,604,21,39"
frames="1"
id="ajar"
image="compiled-1.png"
rect="988,604,1008,642"
[/animation]
[/object_type]
|