View Single Post
Old 28 January 2012, 00:22   #45
Photon
Moderator
Photon's Avatar
 
Join Date: Nov 2004
Location: Hult / Sweden
Posts: 4,452
Does the spinning cube have the dots spaced by perspective, as stars would be? Anyway.

Was about to edit my post and say I was fooled by the ascii graphics. Yes, setting the conditional shifting in the mask and copying is possible (without extra blits if abs(dy)<=1). For the 3rd blit you'd replace the 0011 with 0000 to only shift the first sliver. If the curve is steep there might be icky things to solve near max and min curves, but it only takes aligning peaks to between 16px words to solve that, so it's a non-problem.

Last edited by Photon; 28 January 2012 at 00:56.
Photon is offline  
 
Page generated in 0.07424 seconds with 9 queries