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]
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)]"
zorder="-2"
[animation]
collide="0,0,14,18"
duration="6"
frame_info="2,2,2,3,872,797,12,35,2,2,2,3,884,797,12,35,2,2,2,3,896,797,12,35,2,2,2,3,908,797,12,35,2,2,2,3,920,797,12,35,2,2,2,3,932,797,12,35,2,2,2,3,944,797,12,35,2,2,2,3,956,797,12,35"
frames="8"
frames_per_row="4"
id="normal"
image="compiled-1.png"
rect="870,795,885,834"
[/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,323,5,2,2,1,1,1,1,325,5,2,2,1,2,2,1,327,5,1,1,1,1,2,2,328,5,1,1,2,1,1,2,329,5,1,1"
frames="5"
id="sparkle"
image="compiled-0.png"
rect="322,4,325,7"
scale="2"
[/animation]
[/particle_system]
[/object_type]
|