Quick summary of android, xna and sentry gun stuff
Android
We currently have a small project going, a weather app fetching xml data on some webservice.
I decided to use a SAX parser, since it’s pretty damn quick and simple at the same time. Basicly you write a class that’s custom made for some specific XML scheme.
I made a model class that contains fields for all the info i get back from the webservice.
And then i used that model class to store the info that i got from the xml response.
Next up is some more playing around with Intents, activites and the styling.
XNA
I decided to scrap the 2D stuff, and go with something 3D instead.
I am creating a “Wii Tanks” clone, which is a top down tank game.
I want to replicate the feeling and the graphics of the game, so i spent quite a bit of time figuring out how to do that, and our teacher came up with the solution, which was using ortographic projection, together with rotating the camera around 30 degree. That nailed it pretty good.
After getting annoyed at all the 2D game engine classes i created a long time ago, I created a new XNA project and moved only the most important stuff. Hell, i made the other crap before, so I can do it again.
I really hope i will make it far enough to start working on the AI in the enemy tanks, the wii game has some pretty damn cool enemies. Which i by the way will never be able to replicate fully or even just a little. But I’m looking forward to trying :)
Sentry
I had a quick meeting with my supervisor yesterday, and it turns out that he knows a ton about cameras, which is pretty cool, since my project relies pretty heavily on a good framerate etc. After speaking to him i got quite a few new ideas.
I spent the last few days working on the architecture of my application. My delete button was red-hot, I have a bad case of “premature optimization”, which is exactly what it sounds like. I keep thinking that “this should take this and that into consideration, and what if.. bla bla.”. Sometimes i know when to stop, but other times i just keep going, until it’s too big and complicated for me to keep it in my head.
Thank god god made the delete button!
Currently I’m working on a small polling thread that updates info about the servo positions and targets in my application.
And after that i will start looking into the main “brain” of the sentry.
I’m looking to make it as intelligent as possible, but currently my mind is in “simple” mode, which means i can (hopefully) get shit done :)
Oh, and I’m really glad that i signed up for the Android sessions, instead of creating my own list of resources and studying at home. Once or twice *cough* I have had trouble getting motivated when at home.