Difference between revisions of "Sound.new"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== Description ===
<br />
+
<translate><br />
Creates a new `Sound` object.<br />
+
Creates a new [[[Sound]]] object.<br />
<br />
+
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">
 
  Sound.new(filename)
 
  Sound.new(filename)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''filename''': (string) The name of the sound file to be loaded. <br/>
+
'''filename''': (string) <translate>The name of the sound file to be loaded.</translate> <br/>

Revision as of 14:34, 23 August 2018

Available since: Gideros 2011.6

Description


Creates a new [[[Sound]]] object.

 Sound.new(filename)

Parameters

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