Difference between revisions of "Sound.new"
From GiderosMobile
(removed language stuff) |
|||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | '''Available since:''' Gideros 2011.6<br/> | |
− | ''' | + | '''Class:''' [[Sound]]<br/> |
− | ''' | + | |
− | === | + | === Description === |
− | + | Creates a new '''Sound''' object. | |
− | Creates a new | ||
− | |||
<source lang="lua"> | <source lang="lua"> | ||
− | + | Sound.new(filename) | |
</source> | </source> | ||
− | === | + | |
− | '''filename''': (string) | + | === Parameters === |
+ | '''filename''': (string) the path of the sound file to be loaded<br/> | ||
{{Sound}} | {{Sound}} |
Revision as of 06:41, 29 May 2021
Available since: Gideros 2011.6
Class: Sound
Description
Creates a new Sound object.
Sound.new(filename)
Parameters
filename: (string) the path of the sound file to be loaded