+Random Terrain Posted March 22, 2008 Share Posted March 22, 2008 I discovered after scrolling the title screen that pfclear just clears the playfield. It does not also reset the playfield position after using pfscroll. The playfield for the actual game ends up in random positions vertically. It can be perfect sometimes, but most of the time some of the playfield is partly off the top of the screen. Is there any way to force the playfield to reset to the normal position after scrolling? Thanks. Quote Link to comment Share on other sites More sharing options...
SeaGtGruff Posted March 22, 2008 Share Posted March 22, 2008 Is there any way to force the playfield to reset to the normal position after scrolling? Yes, if you use "playfieldpos = 8" it will reset the scroll position to normal. You can also set playfieldpos to any value from 1 to 8 to scroll the playfield that many lines-- for example, "playfieldpos = 4" will scroll 4 lines, or half of a playfield row. Michael Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted March 22, 2008 Author Share Posted March 22, 2008 Is there any way to force the playfield to reset to the normal position after scrolling? Yes, if you use "playfieldpos = 8" it will reset the scroll position to normal. You can also set playfieldpos to any value from 1 to 8 to scroll the playfield that many lines-- for example, "playfieldpos = 4" will scroll 4 lines, or half of a playfield row. Thanks! I need to add that to the bB page. 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.