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 48 49 50 51 52
|
[object_type]
id="torch"
ignore_collide="true"
on_create="[spawn('torch_glow',midpoint_x,midpoint_y-20,facing), add_particles('flamey')]"
on_end_anim="animation('normal')"
on_timer="[set(flamey.spawn_rate, (wave(cycle)+1000)/100+10)]"
timer_frequency="3"
zorder="-2"
[editor_info]
category="decor"
[/editor_info]
[animation]
collide="0,0,14,18"
duration="5"
frame_info="2,2,2,3,495,954,12,35,2,2,2,3,507,954,12,35,2,2,2,3,519,954,12,35,2,2,2,3,531,954,12,35,2,2,2,3,543,954,12,35,2,2,2,3,555,954,12,35,2,2,2,3,567,954,12,35,2,2,2,3,579,954,12,35"
frames="8"
frames_per_row="4"
id="normal"
image="compiled-1.png"
rect="493,952,508,991"
[/animation]
[particle_system]
accel_y="1"
id="flamey"
max_x="14"
max_y="15"
min_x="14"
min_y="15"
spawn_rate="150"
time_to_live="55"
type="simple"
velocity_x="-1000"
velocity_x_random="2000"
velocity_y="-1000"
velocity_y_random="2000"
[animation]
accel_y="-1"
duration="10"
frame_info="1,1,1,1,994,11,2,2,1,1,1,1,996,11,2,2,1,2,2,1,998,11,1,1,1,1,2,2,999,11,1,1,2,1,1,2,1000,11,1,1"
frames="5"
id="sparkle"
image="compiled-0.png"
rect="993,10,996,13"
scale="2"
[/animation]
[/particle_system]
[/object_type]
|