edrevolution / pywright

Automatically exported from code.google.com/p/pywright
0 stars 0 forks source link

Sound Effects to trigger on certain animation frames #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Sometimes we want certain sound effects resulting from actions during character 
animation (e.g. a sound when Gant claps his hands). What is the best way to 
accomplish this? Can/should it be specified in the character folder? To me, 
that makes the most sense.

Original issue reported on code.google.com by ThePez...@gmail.com on 27 Feb 2011 at 4:28

GoogleCodeExporter commented 9 years ago
Yes, you can set an animation specific sound effect right in the text file for 
an animation. The syntax is:

sfx [frame] [sound_path]

This would go in, for instance, port/phoenix/deskjslam.txt (using current sound 
layout):

sfx 1 Table Slam

Original comment by saluk64007@gmail.com on 27 Feb 2011 at 7:28

GoogleCodeExporter commented 9 years ago

Original comment by saluk64007@gmail.com on 2 Nov 2012 at 6:31