Jump to content
Sign in to follow this  
TooSlowGamer

Is it possible to make the playfield blocks squares, instead of rectangles?

Recommended Posts

OK, so I play my playfield and all of the blocks in it are actually vertical rectangles. This means I have to use two rectangles for the side boundaries to make it look even. Plus, these end up being rather large.

 

Is there anyway to make them squares, or at least make them smaller rectangles? (You could explain how in VisualbB, or just code, if even possible)

Share this post


Link to post
Share on other sites

You don't have to use playfield pixels for the side borders. You can use PF0:

 

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

 

 

If you must use playfield pixels, one solution would be to use pfheights:

 

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

Share this post


Link to post
Share on other sites

OK, so I play my playfield and all of the blocks in it are actually vertical rectangles. This means I have to use two rectangles for the side boundaries to make it look even. Plus, these end up being rather large.

 

Is there anyway to make them squares, or at least make them smaller rectangles? (You could explain how in VisualbB, or just code, if even possible)

You can reduce the *height* of the playfield pixels in the standard kernel-- especially if you're using the Superchip option-- but there's no way to reduce the *width* of the playfield pixels. They're *always* 4 color clocks wide, and you can't change that, because it's how the TIA chip is designed to draw them.

 

Michael

Share this post


Link to post
Share on other sites

OK, so I play my playfield and all of the blocks in it are actually vertical rectangles. This means I have to use two rectangles for the side boundaries to make it look even. Plus, these end up being rather large.

 

Is there anyway to make them squares, or at least make them smaller rectangles? (You could explain how in VisualbB, or just code, if even possible)

You can reduce the *height* of the playfield pixels in the standard kernel-- especially if you're using the Superchip option-- but there's no way to reduce the *width* of the playfield pixels. They're *always* 4 color clocks wide, and you can't change that, because it's how the TIA chip is designed to draw them.

 

Michael

 

How???

Share this post


Link to post
Share on other sites

OK, so I play my playfield and all of the blocks in it are actually vertical rectangles. This means I have to use two rectangles for the side boundaries to make it look even. Plus, these end up being rather large.

 

Is there anyway to make them squares, or at least make them smaller rectangles? (You could explain how in VisualbB, or just code, if even possible)

You can reduce the *height* of the playfield pixels in the standard kernel-- especially if you're using the Superchip option-- but there's no way to reduce the *width* of the playfield pixels. They're *always* 4 color clocks wide, and you can't change that, because it's how the TIA chip is designed to draw them.

 

Michael

 

How???

 

pfrowheight is one way, pfres will let you do it indirectly, and the pfheights kernel option if you want to size them dynamically for each row. Go to:

 

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

 

and you can look up the commands (and all other bB commands) there.

 

Cliff

Share this post


Link to post
Share on other sites

Thanks guys. I used that site so much already. The only problem is finding commands based on what they do and not their name, that's why I asked.

 

I'm almost done with my first game (well, not quite finished, more just the first version) I coded myself. I'm so happy.

Share this post


Link to post
Share on other sites

Thanks guys. I used that site so much already. The only problem is finding commands based on what they do and not their name, that's why I asked.

If you have any words or phases I should add to the index on the right side of the bB page to make it easier to find things, please post them here or send me a PM. The more brains working on it, the better.

 

 

 

I'm almost done with my first game (well, not quite finished, more just the first version) I coded myself. I'm so happy.

It sure is fun typing in code and seeing it come to life isn't it? I haven't finished any games yet, but the little I've done has been a lot of fun.

Share this post


Link to post
Share on other sites

Thanks guys. I used that site so much already. The only problem is finding commands based on what they do and not their name, that's why I asked.

If you have any words or phases I should add to the index on the right side of the bB page to make it easier to find things, please post them here or send me a PM. The more brains working on it, the better.

Don't most browsers have an option to "Find on this page"? You could just search for the word "playfield" and see what matches you get.

 

Michael

Share this post


Link to post
Share on other sites
Don't most browsers have an option to "Find on this page"? You could just search for the word "playfield" and see what matches you get.

Yeah, I use a Google toolbar to do that, but there are some things you don't know how to look for. And if a word like playfield is mentioned about a billion times on the page, it can take too long. The bB page needs more reverse dictionary style index links added. I need new and current users to tell me what they went looking and had trouble finding. Mixing in more real-world phrases in the index should make it easier for bB users to find what they are looking for.

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