' Star Trek
sw$ = "Space, the final frontier. These are the" + nl$
sw$ = sw$ + "Voyages of the Starship, Enterprise" + nl$
sw$ = sw$ + "Its five year mission, to seek out new" + nl$
sw$ = sw$ + "life; to explore new worlds; To boldly" + nl$
sw$ = sw$ + "go where no man has gone before..." + nl$
sw$ = sw$ + nl$ + nl$
sw$ = sw$ + "Well that sure beats the other sci-fi," + nl$
sw$ = sw$ + "franchise, which pales by comparison to" + nl$
sw$ = sw$ + "the awesomeness of the Star Trek legacy." + nl$
sw$ = sw$ + "Stay tuned for other Star Trek moments." + nl$
sw$ = sw$ + nl$ + nl$
sw$ = sw$ + "This has been a public service message" + nl$
sw$ = sw$ + "for the United Federation of Planets." + nl$
sw$ = sw$ + "Any rebroadcast of this message, without" + nl$
sw$ = sw$ + "the explicit permission of the UFP, is" + nl$
sw$ = sw$ + "strictly prohibited." + nl$ + nl$
sw$ = sw$ + " Live long and code." + nl$ + nl$
yy = yy - 60 / i
cText
_WIDTH / 2, yy
+ yy
, yy
, _RGB32(230, 220, 50), "Star Trek" cText
_WIDTH / 2, yy
+ yy
, yy
* .96, _RGB32(0, 0, 0), "Star Trek"
power = 1000 'TO 1 STEP -1
dy = 1 '256 pixel height / 50 blocks across
'_PUTIMAGE [STEP] [(dx1, dy1)-[STEP][(dx2, dy2)]][, sourceHandle&][, destHandle&][, ][STEP][(sx1, sy1)[-STEP][(sx2, sy2)]]
_PUTIMAGE (cx
- .75 * x
^ i
, 10 + x
^ i
)-(cx
+ .75 * x
^ i
, 10 + x
^ (i
+ 1)), swt&
, 0, (0, y
+ dy
* i
)-(319, y
+ dy
* (i
+ 1))
'LINE (cx - .75 * x ^ i, 10 + x ^ i)-(cx + .75 * x ^ i, 10 + x ^ (i + 1)), , B
yy = 80
yy = yy + 60 / i
cText
_WIDTH / 2, yy
+ yy
, yy
, _RGB32(230, 220, 50), "Star Trek" cText
_WIDTH / 2, yy
+ yy
, yy
* .96, _RGB32(0, 0, 0), "Star Trek"
'screen snapshot
mult = textHeight / 16
xlen
= LEN(txt$
) * 8 * mult
_PUTIMAGE (x
- .5 * xlen
, y
- .5 * textHeight
)-STEP(xlen
, textHeight
), I&
, cur&