Jump to content
IGNORED

How do you reset the playfield after pfscroll?


Random Terrain

Recommended Posts

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

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...