sidcrazy Posted December 4, 2013 Share Posted December 4, 2013 Hey all. Long time fan, and I am wanting to use no_blank_lines for a title screen, but I don't need it for my game. Is it possible to reset, or change kernel options when loading your main loop? Thanks, Quote Link to comment Share on other sites More sharing options...
+Gemintronic Posted December 4, 2013 Share Posted December 4, 2013 Nope. You are literally setting the game engine used when you set the kernel options. RevEng came up with the multi-kernel framework in this same section. That allows you to have a different kernel each 4k. Quote Link to comment Share on other sites More sharing options...
sidcrazy Posted December 5, 2013 Author Share Posted December 5, 2013 Cool, thanks for letting me know. Quote Link to comment Share on other sites More sharing options...
+Gemintronic Posted December 5, 2013 Share Posted December 5, 2013 You can create interesting stylistic effects without resorting to no_blank_lines: 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 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.