Jump to content
atari2600land

Polarium

Recommended Posts

Posted (edited)
1 hour ago, atari2600land said:

How do I get rid of those 5 extra pfblocks that have turned themselves on? I tried turning them off with "pfhline 0 11 31 off" but it broke the 10x8 grid code for no apparent reason.

1line13.bas  has 10 lines in the playfield definition

 

I don't know why pfhline isn't working, but maybe that has something to do with it

Edited by bogax

Share this post


Link to post
Share on other sites
Posted (edited)

heh

 

I just realized you're telling it to turn on the 12th line in phline (you want row 10)

 

Edited by bogax

Share this post


Link to post
Share on other sites

I found the culprit: var46 put those pfblocks on the screen. I don't know why, but it did. So I replaced var46 with bally and it works now.

EDIT: using anything other than var47 puts pfblocks on the screen. Fortunately I had an unused variable, g, to use for the line detection, so I used it.

 

1line14.zip

  • Like 1

Share this post


Link to post
Share on other sites
8 minutes ago, atari2600land said:

New puzzle #6.

New layout.

Nice, puzzle #6 took about 5 tries before I got it, pretty good one. I was finally able to solve puzzle #4 earlier today (figured out 1-3 on the show).

 

Puzzle #5 still eludes me but I'll keep at it.

 

- James

Share this post


Link to post
Share on other sites
Posted (edited)

Just found a bug I think, I was working on Puzzle #5 and didn't get it right. I pressed the button to stop drawing and start over and it said I got it right? Here's what it looked like.

 

830427960_1-Line-Puzzle5.thumb.PNG.9886bf555ab03cd664429a923f51ecf2.PNG

 

EDIT: This also resulted in a win state:

 

image.thumb.png.3a893bbd62e2a5dfbc52f09bf5550631.png

Edited by ZeroPage Homebrew

Share this post


Link to post
Share on other sites
2 hours ago, atari2600land said:

As I was trying to go to sleep, I thought of what the cause might be. Try this.

That's got it! Sorry for causing you to lay awake thinking of code. 🙂 

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

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...