Block Data

I have finally managed to be able to store both block rotate and block data with in the same byte.

This means that the game will use a lot less memory meaning we can have bigger worlds and there is more chance it running on phones and tablets.

However the downside is that since I need 3 bits for the rotation I only have 5 bits for the data meaning I can only have a total of 32 different states for the block data on any block that can rotate.


Block Data

Leave a Reply

Your email address will not be published. Required fields are marked *