Difference between revisions of "SpriteBatch:setImage"
(Added oldin) |
|||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{newin|[[0.7.2]]|072|type= | + | {{newin|[[0.7.2]]|072|type=method}} |
+ | {{oldin|[[0.10.0]]|100|type=function|text=Use [[SpriteBatch:setTexture]] instead}} | ||
Replaces the image used for the sprites. | Replaces the image used for the sprites. | ||
== Function == | == Function == | ||
Line 12: | Line 13: | ||
== See Also == | == See Also == | ||
* [[parent::SpriteBatch]] | * [[parent::SpriteBatch]] | ||
+ | * [[SpriteBatch:getImage]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
{{#set:Description=Replaces the image used for the sprites.}} | {{#set:Description=Replaces the image used for the sprites.}} | ||
== Other Languages == | == Other Languages == | ||
{{i18n|SpriteBatch:setImage}} | {{i18n|SpriteBatch:setImage}} |
Latest revision as of 03:02, 17 December 2015
Available since LÖVE 0.7.2 |
This method is not supported in earlier versions. |
Removed in LÖVE 0.10.0 |
Use SpriteBatch:setTexture instead. |
Replaces the image used for the sprites.
Function
Synopsis
SpriteBatch:setImage( image )
Arguments
Image image
- The new Image to use for the sprites.
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