ScrollStart allows you to fastforward a level to the place
your building new levels without having to run through the whole
level over and over. It basically lets write a whole level normally,
but starts it part way through. This is invaluable for creating new
paths/waves, otherwise you spend most of your time watching old
paths go by, and the deeper into a level you get, the longer it
takes!
Whever
the ScrollStart value is not 0, the panel changes to help you
by showing the current indexes you'll need instead of the score.
The 1st value is the TILE index, while the second is the raw
character index. First scroll to the area where you want to start
the level from, then look at the 1st value in the score box. Place
this value into ScrollStart and restart the level. You will
now start at that location.
Example: where
to start, really?
ScrollStart:
db
1 ; TILE index in. (char index = tile*3)
This number is the TILE number to start on. The
background levels are made from 3x3 character macro blocks. Placing
1 here means that the game will skip forward 1 tile and the level
will start 1 tile on.
Take care not to place too high a value in, as it'll never reach it
and the game will hang.
|
See also:
|