Difference between revisions of "Sound.new"

From GiderosMobile
Line 4: Line 4:
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
Creates a new `Sound` object.<br />
+
Creates a new [[Special:MyLanguage/Sound|Sound]] object.<br />
 
<br /></translate>
 
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">

Revision as of 09:37, 24 August 2018

Available since: Gideros 2011.6
Class: Sound

Description


Creates a new Sound object.

 Sound.new(filename)

Parameters

filename: (string) The name of the sound file to be loaded.