Sound.new: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 3: Line 3:
=== Description ===
=== Description ===
<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 15:35, 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.