Sound.new

From GiderosMobile
Revision as of 14:30, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

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