emkay #51 Posted July 9, 2009 - preshifted sprite data for all 4 positions- separates routines to draw the sprite data a la lda screen, and #mask, ora #spritedata, sta screen... for all sprite needs memory... Heaven have right This makes sense. But, preshifting "all" possible overlap positions would mean something bigger Quote Share this post Link to post Share on other sites
Heaven/TQA #52 Posted July 9, 2009 max 32 smallest ball (or 2 biggest ball), 1 big ball = 16 small ball i don't use C64 code and how do you handle the overlapping? Quote Share this post Link to post Share on other sites
papa_november #53 Posted July 9, 2009 Maybe it fits in 64K ? I'm afraid it doesn't fit 64K, even 128K 256K then? Because I'm not sure I can get my machine any more RAM than that. Quote Share this post Link to post Share on other sites
Rybags #54 Posted July 9, 2009 max 32 smallest ball (or 2 biggest ball), 1 big ball = 16 small ball i don't use C64 code and how do you handle the overlapping? Looking at that code snippet... seems like it doesn't bother doing a save process. Maybe it keeps a clean copy of the background and just restores from it for each object. Quote Share this post Link to post Share on other sites
emkay #55 Posted July 9, 2009 max 32 smallest ball (or 2 biggest ball), 1 big ball = 16 small ball i don't use C64 code and how do you handle the overlapping? The last drawn is the upper one? It seems that the CPU saving from rol and ror commands offers enough speed then. Quote Share this post Link to post Share on other sites
R4ngerM4n #56 Posted July 9, 2009 (edited) Thanks for all comments regarding the masking! Edited July 9, 2009 by R4ngerM4n Quote Share this post Link to post Share on other sites
MaPa #57 Posted July 9, 2009 OK, I will comment this little preview too.... HOLY SHIT! wonderful Quote Share this post Link to post Share on other sites
Heaven/TQA #58 Posted July 9, 2009 @Tebe you still need special case masking for balls overlapping each other at the edges? Quote Share this post Link to post Share on other sites
tebe #59 Posted July 9, 2009 Maybe it keeps a clean copy of the background and just restores from it for each object. yes, you are right Quote Share this post Link to post Share on other sites