PlaySound: Difference between revisions
Jump to navigation
Jump to search
Created page with "File:PlaySound PlaySound filename == Description == PlaySound plays .mp3 and .wav sound files. Playback is immediate, with no on screen controls, making it excellent for..." |
No edit summary |
||
Line 1: | Line 1: | ||
[[File:PlaySound]] | [[File:PlaySound.png]] | ||
PlaySound filename | PlaySound filename | ||
Revision as of 12:17, 27 March 2014
Description
PlaySound plays .mp3 and .wav sound files. Playback is immediate, with no on screen controls, making it excellent for user interactions and gaming.
The files need to be included in the project by adding them to the Project Explorer.
Example (Basic)
PlaySound "BellToll.wav"
Example (JavaScript)
NSB.PlaySound("BellToll.wav");
Output
(sound of a bell tolling)