View Single Post
Old 04 October 2020, 14:53   #3
mcgeezer
Registered User
 
Join Date: Oct 2017
Location: Sunderland, England
Posts: 2,702
Quote:
Originally Posted by ross View Post
Hi Graeme, why you need control bits?
If you have signed values for direction you can simply use 0 for no movement.
So you could use more bits for delta or less bit for movement (like 6 or 4, instead of 8).

And you can use bitfield instructions to extract values.
Ahh good shout Ross, i need to be able move the cars in at least 8 pixels in any direction per frame so i can remove the control bits for sure, but i don’t think i gain any space efficiency.
mcgeezer is offline  
 
Page generated in 0.04336 seconds with 11 queries