Jump to content
IGNORED

Is it possible to change Kernel options more than once?


sidcrazy

Recommended Posts

You can create interesting stylistic effects without resorting to no_blank_lines:

post-13304-0-11446900-1386258149_thumb.png post-13304-0-42428000-1380213312_thumb.png

Basically, shift the screen every other frame.

 set smartbranching on
 set kernel_options pfheights pfcolors
 set romsize 4k

 dim counter = a

 pfheights:
 8
 2
 2
 2
 2
 8
 2
 2
 2
 2
 42
end

 pfcolors:
 $F0
 $F2
 $F4
 $F6
 $F8
 $FA
 $F8
 $F6
 $F4
 $F2
 $F0
end

 playfield:
 ................................
 .XXXX.....XXX....X.....X..XXXXXX
 X........X...X...XX...XX..XXXX..
 X...XX..XXXXXXX..X.X.X.X..X.....
 .XXXX...X.....X..X..X..X..XXXXXX
 ................................
 .XXXX...X.....X..XXXXXXX..XXXXX.
 X....X..X.....X..XXXXX....X....X
 X....X...X...X...X........XXXXX.
 .XXXX.....XXX....XXXXXXX..X....X
end

 COLUBK = $94

main
 counter = counter + 1

 rem if the first bit in counter is 1 then shift the screen
 if counter{0} then playfieldpos = 8 else playfieldpos = 7
 drawscreen
 goto main
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...