User Tools

Site Tools


move:soundeffects

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
move:soundeffects [2014/01/09 02:21]
Mistermind
move:soundeffects [2021/04/26 23:28] (current)
Mistermind
Line 2: Line 2:
 Add sounds to this move in specific frames you want them to be cast. Add sounds to this move in specific frames you want them to be cast.
  
-{{ :move:move_sound.jpg?nolink |}}+{{ :move:move_soundeffects.png?nolink |}}
  
-**Casting Frame:** When during the move the should the sound play.+---- 
 + 
 +**Casting Frame:** When during the move should the sound play.
  
-**Audio Clip:** Select an audio clip file from your project and drag it here.+**Audio Clip:** Select an audio clip file from your project and drag it here.  When more than one clip is added, it will randomly play one of the clips listed. You can also add empty fields to have it so it doesn't always play a sound.
  
 ---- ----
 Code example: Code example:
-<code c#>void OnHit(HitBox strokeHitBox, MoveInfo move, CharacterInfo hitter){+<code c#>void OnHit(HitBox strokeHitBox, MoveInfo move, ControlsScript hitter){
  Debug.Log("Total sound effects:" + move.soundEffects.Length);  Debug.Log("Total sound effects:" + move.soundEffects.Length);
 }</code> }</code>
move/soundeffects.1389252101.txt.gz · Last modified: 2014/01/09 02:21 by Mistermind