Jump to content
Sign in to follow this  
Captain Spazer

pfhline with random hole?

Recommended Posts

I think so with pfpixel or pfhline using the on and off switch like I did for the walls in Pac man eat and run and for the Safe house in that game.

Share this post


Link to post
Share on other sites

One performance and size optimization is to access the playfield variables instead of line drawing commands. Each variable is eight pixels on the screen. The value 255 is like eight pixels drawn in a row.

http://www.randomterrain.com/atari-2600-memories-batari-basic-commands.html#playfield

So, you want a line near the middle of the screen? Try:

var20 = 255 : var21 = 255 : var22 = 255 : var23 = 255

Share this post


Link to post
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.

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...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...