Saturday, 30 March 2013

Captain's Log Stardate 5

BREAKTHROUGH!

After much searching online, and a long time getting annoyed that some of my code wasn't working (and wondering if the mouse input works on the emulator for windows phone) I have finally found some sample code online to help me with my touch input:

foreach (TouchLocation location in TouchPanel.GetState())
             {
                 Rectangle hitbox = new Rectangle(200, 200, 50, 50);
                 if (hitbox.Contains((int)location.Position.X, (int)location.Position.Y))
                 {
                     t1.Highlight = true;
                 }
              }

THIS!.... took me a long time to find, but means I can move on now and try get my game finished!

Monday, 25 March 2013

Captain's log, Stardate 4

Made some progress today with my game, realised I couldn't go what I wanted to do with just one map, so now my game will have a normal map, and a layered (invisible) map over that, and each map will take care of different things, eg, the position of my army, and the other map, the value of each infantry/tank in the 2D array..... kind of confusing and hard to explain, anyway, PROGRESS!

Tuesday, 12 March 2013

Captain's log, Stardate 2

First prototype of how my game will look,

Captain's log, Stardate 1

Finally cam up with an idea for my assignment, an XNA windows phone game which I'm going to try to knock over onto Android when it's finished by using MonoDevelop.
The main idea of the game is a turn-based game which puts the user against the machine in a battle to take over a chessboard style map. The user and the A.I. of the game will each be in control of infantry and tanks, and the plan is to have a No man's land between the two sides which will be the target to take control of.