Wednesday, January 23, 2013

The joy of programming

Hello all,


Little update from me again. Today I made the 300th revision! This means we work a lot more than before and this can be seen in the progress we are making. Yet it still is programming, so when I changed a 1 into a 3 Yesterday, the whole game stopped working correctly. After searching for some time I found this error and was really surprised to find out it was this subtle change that caused this whole chain reaction. Luckily I was able to find this error very fast so today we are able to do a lot of work.

Anyway I think I should get to work very fast so I can finish up the sounds, see you around!

Tim Hoogenkamp

Saturday, January 19, 2013

Network talk

Hey again guys!

So with all the sprites done I figured I'd put a spritesheet on the blog. If you want to see it, it's on the concept art page of the blog. I'm very pleased to be done with this, so I can finally start working on the network code.
It shouldn't be too hard to get it all to work, as our game's mechanics force synchronous behaviour. I did ran into a few problems earlier tho. I've created a server which keeps track of all the games, and sends them to the game when you search for games. The server itself is already done by now. The problem I ran into was the fact I wanted to use the IPAddress of the host as the key for a dictionary (which represents the gamelist).
I tried to send the IP of the host to the server, so I needed the external IP of the computer on which the game was running. The only way to do that is to get your IP from a service like whatsmyip.org, but they all have rules similar to things like, only 1 lookup per 5 minutes. But even for our testing purposes we might overdo that. So I kept thinking and came up with the idea of not sending the IP, but just getting the IP on the server end, which is way easier.


Socket s = client.Client;
IPEndPoint tempip = s.RemoteEndPoint as IPEndPoint;
return tempip.Address;

You'd put this in a method and pass it the client you're connected to. So in our code, as soon as a connection starts the method is called and we get our IP address which we can then use as a key in our dictionary, if the user decides to create a new game.
On the server console that would look like this:

I don't know who added the lovely little rabbit, but I like it.

That's it for today folks, see you around next time.

Ruben

Wednesday, January 16, 2013

200th revision and more

With the deadline approaching we all have to start working harder to get it all done. Today we have been working all on the game using Skype and many revisions later, we have reached our next milestone. I hereby present to you, as promised, revision 200!

Furthermore, we have done a lot of work today, such as improving the AI, adding the final sprites and setting the game to 720p. You can see all the units in the newly created page on our blog: "Concept Art".

Rem

Hey again,

It's been too long, I know right, but I've been busy getting the art and sprites for the game done.
I'm pretty much done with the units right now, and only a few of the tiles have yet to be done, so I'm finally getting somewhere.
We've put the concept art on the concept art page, for now, only the units are on there, because they are drawn big at first. Later a whole spritesheet with all the sprites of the game will be on there.
Next up for me is network code, so my next post will be way less artsy, and more technical. I am looking forward to getting that done though. See you next time!

Ruben

Friday, January 4, 2013

Tutorial

Yo!

Even in the holiday we work at our project. The path finding algorithm is finally done and we have got a playable game now. Although our game is far from finished, I am kind of proud to announce that the artificial intelligence for the tutorial is working as well. It is very dumb but it is able to walk and attack the player.

We are getting closer to our end game and it is nice to actually see the progress now!

Tim Hoogenkamp

Monday, December 17, 2012

Revision 100

Hi!

We just missed posting our 100th revision to our SVN server. So for now, you will have to do with number 101. Let´s hope we will notice revision 200 so that we can let you know.

Also, we just hand in our code for checking. Hopefully we are on the right track!

Rem

Friday, December 7, 2012

Hello!

After a week, we've finally gotten the time to create a new post. We've been busy programming, and creating sprites. We're very busy trying to get the game to work properly and consistently before December 17th, when the code has to be handed in for midterm checking.
After that, the 20th, we'll have to present our game to the rest of the teams. We aim to have a semi-playable game with voice control, so we can present something cool to the rest.
So from now on I will be focussing on the art and the voicecontrol, Arjan and Tim Ha will be focussing on the menu, Rem will be focussing on cleaning up our code and going on to create a working game, and Tim Ho will keep on focussing on the AI and pathfinding. This way we hope to get it all done in time.
So I'll go on and create some more art, type some lines of code and create a kick-ass game.

Ruben