Bugs!!!

Right now I’m going to rant about bugs. Why is it that some bugs are such a pain to find???

Iv spent some time now trying to figure out why my rays arent colliding correctly with my object only to find out the bit of code that draws the mouse on-screen is what is at fault! My ray code was perfect! So frustrating.

Any how rant over and progress is going well.

Bugs!!!

Goodbye XNA. Hello MonoGames

XNA was abandoned by Microsoft many years ago. But even now I have still been using it, that is untill MonoGames has become a viable alternative.

I have therefore spent my time on holiday converting Craft Empire over to MonoGames. The main advantage is cross-platform. Been able to target Andriod, IOS, Windows and Mac with 99% of the same code is awesome indeed. The MonoGames team really deserve a lot of gratitude for make such an awesome framework.

MonoGames also uses the same functions as XNA meaning that most of your XNA code will work out the box. I say most as there is still a lot of work porting your code over.

Anyhow gone is my dependence on needed the XNA framework installed on the users pc. Now the user will have the option of using DirectX or OpenGL.

Goodbye XNA. Hello MonoGames

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