Twinkling Stars

From Wiki of ZZT
Revision as of 05:09, 17 April 2022 by Dark-Star2018 (talk | contribs) (Created page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This code allows for the illusion of twinkling stars. You can make a number of stars with various numbers of /i's after #char 32, with at least 3 lines different from each other, to better simulate an entire field of twinkling stars. The 'animation' can be slowed down by setting the #cycle to 2 or 3, or by adding additional /i lines between the different #char commands.

Caution: overuse of objects with the #cycle 1 command can EASILY overload the ZZT engine; even if the game is emulated at maximum speed on a fast computer.


  1. cycle 1
twinkle

/i /i

  1. char 250

/i

  1. char 43

/i

  1. char 88

/i

  1. char 197

/i

  1. char 88

/i

  1. char 43

/i

  1. char 250

/i

  1. char 32

/i /i /i

  1. twinkle