Hello its been just over a week since my last post. That is because we have been getting our kick-start campaign ready. I am happy to announce it is now live.
When making Craft Empire I realized that there are a lot of texture packs already out there for Minecraft. I therefore decided from the start to allow players to use Minecraft texture packs in the game. You will easily be able to use your favorite textures pack immediately and easily. I have also decided to add compatibility with SurvivalCraft texture packs too.
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.
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.
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.
Buildings can now be rotated before been placed in the game.
This small ability will allow you to tightly pack your buildings in your city, as well as making things look more natural and less repetitive.