Tuesday, August 9, 2011

It made sense at the time...

Up until now, I had been doing any and all code in a Windows Game project. This wasn't a problem until it came to fine tuning the controls for the player ship. I had the basic movement done, but this wouldn't be good enough for the type of game we had in mind. We were looking for accurate rotation and acceleration depending on how much the player moves the virtual thumb sticks (thats something for another post!).

So at the time, I attempted to translate some virtual thumb stick acceleration and rotation to key presses. After a good long while trying this method, which made sense at the time, I realised that it would be much easier and waste much less time, to create a Windows Phone 7 project instead. After doing this, I put all my existing code into the new project and added the new movement using the touch controls. I don't have a Windows Phone 7 to deploy the project on myself, but the emulator works well for what is required.


(I was supposed to put an image of the game running on the emulator here, but Print Screen doesn't seem to work while the emulator is running!)

No comments:

Post a Comment