Difference between revisions of "Source:play"
(Added missing success return value) |
|||
Line 2: | Line 2: | ||
Starts playing the Source. | Starts playing the Source. | ||
== Function == | == Function == | ||
+ | {{newin|[[0.9.1]]|091|type=variant}} | ||
+ | === Synopsis === | ||
+ | <source lang="lua"> | ||
+ | success = Source:play() | ||
+ | </source> | ||
+ | === Arguments === | ||
+ | None. | ||
+ | === Returns === | ||
+ | {{param|boolean|success|Whether the Source was able to successfully start playing.}} | ||
+ | == Function == | ||
+ | {{oldin|[[0.9.1]]|091|type=variant}} | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> |
Latest revision as of 02:20, 29 November 2014
Available since LÖVE 0.7.0 |
This function is not supported in earlier versions. |
Starts playing the Source.
Contents
Function
Available since LÖVE 0.9.1 |
This variant is not supported in earlier versions. |
Synopsis
success = Source:play()
Arguments
None.
Returns
boolean success
- Whether the Source was able to successfully start playing.
Function
Removed in LÖVE 0.9.1 |
This variant is not supported in that and later versions. |
Synopsis
Source:play()
Arguments
None.
Returns
Nothing.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info