User Tools

Site Tools


ugbasic:user:kw:sprite
Translations of this page:


ugBASIC User Manual

SPRITE ✓

SYNTAX

   = SPRITE([image])

PURPOSE

The SPRITE command allows you to define an (hardware) movable object. In order to be used, you must have loaded the image.

EXAMPLE

  starship = SPRITE(LOAD IMAGE("starship.png"))

See also the following example files:

ABBREVIATION

 Spr

AVAILABLE ON

  • Commodore 64
  • ColecoVision
  • Commodore 128 (Zilog Z80)
  • Commodore 128 (MOS 8502)
  • SEGA SG-1000
  • Olivetti Prodest PC128
  • Amstrad CPC 664
  • SEGA SC-3000
  • MSX

ANY PROBLEM?

If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!

POWERED BY