Difference between revisions of "Source:play"
(Added missing success return value) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{newin|[[0.7.0]]}} | + | {{newin|[[0.7.0]]|070|type=function}} |
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"> | ||
Line 14: | Line 25: | ||
[[Category:Functions]] | [[Category:Functions]] | ||
{{#set:Description=Plays a source.}} | {{#set:Description=Plays a source.}} | ||
+ | == Other Languages == | ||
+ | {{i18n|Source:play}} |
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