User Tools

Site Tools


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


ugBASIC User Manual

SPRITE COLOR

SYNTAX

   SPRITE # [integer] COLOR # [integer]
   SPRITE [expression] COLOR [expression]

PURPOSE

Change specific color for a given sprite.

EXAMPLE

  SPRITE #1 COLOR #2
  SPRITE #1 COLOR YELLOW

ABBREVIATION

 Spr Cr

AVAILABLE ON

  • Dragon 32
  • Commodore 128 (MOS 8502)
  • Commodore 64
  • Commodore VIC-20
  • Olivetti Prodest PC128
  • Dragon 64
  • Thomson MO5
  • TRS-80 Color Computer 3
  • TRS-80 Color Computer

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