Jump to content
IGNORED

Help with ball


STGraves

Recommended Posts

TIA only has 4 color registers. Normally they color the screen like this:

  • COLUP0 - player0 and missile0
  • COLUP1 - player1 and missile1
  • COLUPF - playfield and ball
  • COLUBK - background

normal mode, the square in Adventure is drawn using the ball object

post-3056-0-98890900-1424109545_thumb.png

 

If you turn on SCORE mode, the registers are used like this:

  • COLUP0 - player0, missile0, left half of playfield
  • COLUP1 - player1, missile1, right half of playfield
  • COLUPF - ball
  • COLUBK - background

SCORE mode, the square (ball) is a different color than the playfield

post-3056-0-87103700-1424109224_thumb.png

So SCORE mode could be used to make the ball a different color than the playfield. I used SCORE mode in Medieval Mayhem to color parts of the playfield differently than other parts of the playfield:

 

SCORE/normal/SCORE

post-3056-0-54186400-1424109926_thumb.png

The king symbols and the castle walls are both drawn by the playfield. I toggle between SCORE mode and normal mode during the time the 1 PF pixel gap (pointed at by the arrows) is being drawn.

 

While that's probably not the answer you're looking for, I put it forth because you could do the same type of thing by changing the color in COLUPF while the scanline is being generated. It would be very tricky to do though if the ball object is right next to the playfield. It would be even more tricky if the ball object can move around.

Edited by SpiceWare
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...