User Tools

Site Tools


el:spriteplace

Spriteplace

Format

spriteplace spritenumber, x, y
spriteplace ( spritenumber, x, y )
spriteplace spritenumber, x, y, s
spriteplace ( spritenumber, x, y, s )
spriteplace spritenumber, x, y, s, r
spriteplace ( spritenumber, x, y, s, r )

Description

Place the center of a sprite at a specific location on the screen (x,y). Like Imgload sprite positioning is relative to the center of the sprite and not the top left corner as with most other graphical statements.

Optionally the sprite may be rotated or scaled by defining optional the r and s parameters. The degree r is measured in radians.

Example

See Spritedim

See Also

New To Version

0.9.6n
rotate and scale 0.9.9.15

el/spriteplace.txt · Last modified: 2020/02/28 10:46 (external edit)