View Single Post
Old 15 December 2016, 13:43   #38
BSzili
old chunk of coal
 
BSzili's Avatar
 
Join Date: Nov 2011
Location: Hungary
Posts: 1,290
Sure, but setting the attached bit allows you to combine two sprites. On OCS/ECS you can combine two 4 color ones into one 16 color sprite. I would assume the same would work for 16 color AGA sprites as well, you could combine them to get 256 colors.
A less complicated solution would be converting the weapons into planar bitmap bit-plane mask pairs, and using BltMaskBitMapRastPort to draw them over the play area. It would be still faster than the brute-force method.
An other solution is bringing back the compiled scalers for sprites. That would also make other scaled sprites super fast, but to do it without self-modifying code it needs much more memory.

Last edited by BSzili; 15 December 2016 at 15:13.
BSzili is offline  
 
Page generated in 0.06952 seconds with 11 queries