Mr. Gravity Goes Multiplatform - Getting Started

On Wednesday, June 4, 2014 0 comments

There are a ton of required features needed to get Mr. Gravity running, and especially if you are on Windows 8(like me). 


List of requirements(As far as I can remember):
Alright, if you made it this far, congrats!!! I'm sure that was rough, but don't worry...It's worth it. 

First things first, make sure everything is installed that is listed above and that XNA is set up to work with VS 2012.

Next, open up the Github app and set it up to the Git repo - https://github.com/DizWARE/Gravity-Shift.git
There are 4 new branches that I added into the main repo, that will be important for you. The first branch is Multi-Platform. This contains the starting point for all the new branches. The other three are: Android, iPhone, Windows. If you work on the iPhone project, use the iPhone branch, etc. We will merge back to Multi-Platform and them merge back to the master as work is finished on them. 

ANDROID:
Switch the the Android branch.
You should be good to build and attempt to run. Make sure you have an Android device; I haven't tried running on an emulator but I'm sure it's not as cool :P Make sure the Android project is set as default

A couple things that I've seen when running. My most common error has been when you start to deploy and it throws an out of memory error while trying to package the application. Clean the project...If it still doesn't work, clean the project, exit Visual Studio and open the bin folder and clear out all the files that are in the folder. You can then retry :) Not sure why it does it, but seems to have something to do with a cluttered output folder.

Most of the other errors had something to do with content being named correctly. If you need to look at the application file structure, in the output folder, you'll find a .apk file. If you change the file type to a .zip file, you can browse through it and see what is being copied over. All the content is held in the Asset folder.


0 Comments

No comments yet. Be the first to leave a comment !
Leave a Comment

Next Post Previous Post
Powered by Blogger