STGraves Posted February 16, 2015 Share Posted February 16, 2015 Hello i have 1 question, is there any way to change the color of the ball from the playfield's color? Quote Link to comment Share on other sites More sharing options...
Papa Posted February 16, 2015 Share Posted February 16, 2015 Looks like someone's been in that Princess Rescue binary! Quote Link to comment Share on other sites More sharing options...
+SpiceWare Posted February 16, 2015 Share Posted February 16, 2015 (edited) 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 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 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 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 February 16, 2015 by SpiceWare Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.