Difference between revisions of "Sound.new"

From GiderosMobile
(removed language stuff)
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Creates a new '''Sound''' object.
 
Creates a new '''Sound''' object.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
Sound.new(filename)
 
Sound.new(filename)
 
</source>
 
</source>

Revision as of 15:30, 13 July 2023

Available since: Gideros 2011.6
Class: Sound

Description

Creates a new Sound object. <syntaxhighlight lang="lua"> Sound.new(filename) </source>

Parameters

filename: (string) the path of the sound file to be loaded