12 lines
429 B
QBasic
12 lines
429 B
QBasic
|
|
10 REM The standalone driver lends the script no sprite device.
|
||
|
|
20 REM SPRCOLOR and the RSP* readbacks only touch interpreter state.
|
||
|
|
30 SPRCOLOR 5, 7
|
||
|
|
40 PRINT RSPCOLOR(1)
|
||
|
|
50 PRINT RSPCOLOR(2)
|
||
|
|
60 REM An untouched sprite reads back at the origin, in the default colour.
|
||
|
|
70 PRINT RSPPOS(1, 0)
|
||
|
|
80 PRINT RSPRITE(1, 1)
|
||
|
|
90 REM SPRSAV needs the device, and has to say which verb wanted it.
|
||
|
|
100 SPRSAV "ship.png", 1
|
||
|
|
110 PRINT "UNREACHED"
|