Jump to content
IGNORED

Editing playfield at runtime/procedural playfields?


Darkhog

Recommended Posts

Can you do this in Batari Basic? Like, in breakout the bricks are part of the playfield that get removed as the ball hits these. Can it be done in Batari without using ASM? If so, this could open access to both procedural stuff as well as rudimentary "jumpy" scrolling (removing top/down/left/right row/column, shifting other rows/columns, and putting a new row/column on the opposite side).

Link to comment
Share on other sites

Check out the pfpixel command in the bB guide. That works for the standard kernel, and works well for single block operations. If you are doing a lot of playfield changes in a short time with it, you are likely to run out of cycles. For bigger dynamic playfield changes, you will want to change the variables where the pixels are stored directly. The mapping of pixels to variables is shown in the bB guide here.

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