Difference between revisions of "Sound.new"

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

Revision as of 13:56, 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.