View Single Post
Old 10 November 2019, 13:43   #14
ross
Per aspera ad astra

ross's Avatar
 
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 49
Posts: 2,348
Quote:
Originally Posted by geldo79 View Post
That also works for me now. But now that the clipping of the bobs work properly, I wonder if this would also work for sprites. I know that i don't have to clip sprites. But what i mean is: If i decide to have a info screen at the bottom, which does not belong to the playfield, i could clip my bobs now so that they don't enter that area. But my sprites will still do. How can i tell the sprites to also clip at that position?
There may be more than one solution and it depends on whether you use sprites in the bottom area of the video.

You can disable sprites DMA (and reenable on next VB)* or just define the sprite as less high in your sprite list in memory (and add 0,0 as sprite termination on list instead of DATA).
You need to buffer this DATA to reinsert when sprite y-move.

*you also need to zero SPRxDATx to avoid 'stripes' but can be easily done on copper list.
ross is offline  
 
Page generated in 0.04296 seconds with 11 queries