Skip to content

Commit

Permalink
Added better fuse sound for bombs, and implemented it.
Browse files Browse the repository at this point in the history
  • Loading branch information
ActionPackedJack committed Apr 14, 2014
1 parent ad64fc2 commit 4e1010f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/objects/enemies/bugs/moth_brown.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ object_type: [
solid_area: [9,11,15,17],


on_create: "[set(fall_through_platforms,10000),add_particles('fuse_sparks')]",
on_create: "[set(fall_through_platforms, 10000), sound('fuse-long.ogg'), add_particles('fuse_sparks')]",
on_collide_object_attack: "if(arg.collide_with is obj hittable, if(arg.collide_with_area = 'body' and arg.collide_with.team != team, die()))",
on_die: "[spawn('explosion_big_harmful',midpoint_x,midpoint_y-32,facing),sound('BombExplode.wav')]",
on_die: "[spawn('explosion_big_harmful',midpoint_x,midpoint_y-32,facing),sound('BombExplode.wav'), stop_sound('fuse-long.ogg')]",

on_end_normal_anim: "animation('normal2')",
on_end_normal2_anim: "[animation('normal2')]",
Expand Down
Binary file added sounds/fuse-long.ogg
Binary file not shown.

0 comments on commit 4e1010f

Please sign in to comment.