Ecernosoft Posted August 18, 2022 Share Posted August 18, 2022 Yeah, I ask way too many questions... 😃 I want to use a MASK kernal for ICT2 on 2600, BUT- 1. MASKING takes too much ROM if you're sprites are various sizes 2. I want to use Zones but don't really get how I'd implement them efficiently 3. Is there a way to use MASKS without zones more efficiently?  Thanks! Quote Link to comment Share on other sites More sharing options...
+splendidnut Posted August 19, 2022 Share Posted August 19, 2022 If your sprites are relatively close in size, you can get away with padding out the shorter sprite graphics with zeros to make them all equal in size. Then you would just need one mask. Quote Link to comment Share on other sites More sharing options...
Ecernosoft Posted August 19, 2022 Author Share Posted August 19, 2022 Yes.... but I figured out an even smarter solution. 1. Instead of using a MASK pointer, make your graphics as big as a Zone.. 2. Have zones so that you save GFX data. 3. Have a variable you can set to $FF when you enable a sprite and $00 when you don't need it.  Trade off is= Faster kernal MORE GFX! Quote Link to comment Share on other sites More sharing options...
Ecernosoft Posted August 19, 2022 Author Share Posted August 19, 2022 Never mind. That solution isn't smarter. Just more complex in the kernal. 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.