Sprite.x
Jump to navigation
Jump to search
Sprite.x
is the horizontal position of the sprite, in Screen coordinates
(adjusted by SpriteDisplay.scrollX).
Example
sp = new Sprite
sp.image = file.loadImage("/sys/pics/Wumpus.png")
display(4).sprites.push sp
sp.x = 480