Difference between revisions of "Sprite.image"

From MiniScript Wiki
Jump to navigation Jump to search
(Created page with "<c>Sprite.image</c>: Image displayed by the sprite. == Example == <ms>sp = new Sprite sp.image = file.loadImage("/sys/pics/Wumpus.png") display(4).sprites.push sp</ms>...")
 
Line 1: Line 1:
 
<c>Sprite.image</c>: [[Image]] displayed by the sprite.
 
<c>Sprite.image</c>: [[Image]] displayed by the sprite.
 +
 +
See also: [[file.loadImage]]
  
 
== Example ==
 
== Example ==

Revision as of 21:47, 12 April 2020

Sprite.image: Image displayed by the sprite.

See also: file.loadImage

Example

sp = new Sprite
sp.image = file.loadImage("/sys/pics/Wumpus.png")
display(4).sprites.push sp