Difference between revisions of "Source:play"

m
(Added missing success return value)
 
(One intermediate revision by one other user 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">

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.

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