User Tools

Site Tools


play_music

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
play_music [2020/02/15 18:12] justinplay_music [2021/04/21 18:39] (current) justin
Line 14: Line 14:
 ====Example:==== ====Example:====
 <code bauxite> <code bauxite>
-play_music("Victory.ogg")+play_music("Victory.ogg");
 </code> </code>
 //Results:// Plays the music file named "Victory.ogg". //Results:// Plays the music file named "Victory.ogg".
  
 <WRAP center round tip 100%> <WRAP center round tip 100%>
-Use the **Play Music** function to trigger a sound effect when the player opens door or a treasure chest, or an event occurs that you'd like the player to hear regardless of their location.+Use the **Play Music** function to trigger a different song during cutscene or to signal the start of special event in your game.
 </WRAP> </WRAP>
  
play_music.1581819128.txt.gz · Last modified: 2020/02/15 18:12 by justin