Wednesday 25 November 2009

I am back.

I have finally decided to get back to a bit of game programming every now and again. I am just going to concentrate on 2D games for now as I can't be bothered working on all the complicated 3D game things. I am going to remake classic games such as pong, tetris, breakout... etc.

These games, upon completion will be available on my website. So if you want to play my creations then feel free to do so! 

I haven't had much time to program games lately as I have been working on my website. 

Anyway I have to go I have got school to go to!

Wednesday 28 October 2009

Day 6 : 2D game

So guys I haven't had time to do anything on the game this day because of other things. But I did manage to find an artist whom is keen to do some free art work for my game. This is great as it means the game will look a lot more professional by the end. But I am currently creating a game menu. Which will incorporate my first ever use of buttons in XNA and C#.

however I am thinking that I might start work on a second game. A city builder. This should be challenging, but I am going to try and plan it. It is going to be a tile based game but I am thinking about a way to do this. My main idea is to create so many buttons up and down the screen. Query the mouse position and whether it is clicking and when it clicks on one of the appropriate tiles then bring up a small UI so that you can choose what to build on it.

But I will start it tonight. As well as work more on my first game.

Anyway Cya later!

Tuesday 27 October 2009

Day 5 : 2D Game

So I have been working on the menu feature as I mentioned in the last post but I am also looking into ways of creating buttons. I am going to go for a clicking interface to cast spells. For instance I will have a row of small buttons at the top of my UI which will have images corresponding to their spell. I will also have an in game menu.
With these in place I can then implement a new level system. This would be good as it would add a lot more to the game.

With this project just about finished I have been thinking about my next game. I am thinking about going for a city builder. It will be a 2D game similar to Civilization. But right now I don't have much time to tell you about it. But I will update you tonight.

Monday 26 October 2009

day 4 : 2D game update

So guys I have started working on the main menu. I am going to get some placeholder graphics up and running and then hopefully get an artist to draw me up some cool things for my buttons and my backdrop for the menu. This is quite easy.

What I am doing is I am using an integer value named GameState. This is initially set to 1 which happens to be the main menu state. This right now shows up the basic blue screen. But when I then set the GameState to 2 it draws everything the game usually shows and takes input as normal. I can then take this further by having a GameState 3 which I could use as a pause state etc. This is a very simple solution to my main menu problem and it is one that I used in my First game of Pong. Although for the way I have coded this I do not like it. It means I have weird if statements everywhere whereas if I had everything set in appropriate public voids. Then it would be a lot better/cleaner.

For instance I would rather have

if ( GameState = 2 )
{

takeinput();
drawgame();
setlevel();
docombat();

}

whereas for the most part I have

if ( GameState = 2)
{

Then quite a lot of code.

}

So in my next game I am going to resolve this at the very outset. Then hopefully I can utilize this to a greater extent in my next games.

Anyway a quick screenshot to show you how the game is progressing. This contains placeholder graphics so try and use your imagination when looking at it. I will however have a download within the next 2 weeks so that you guys can have a shot at my game :D




More updates tomorrow!

Bye for now!

Day 4 : 2D game

For those that don't know I am currently in the process of creating a 2D game which I will add to my website GamerCity.co.uk for download when I am finished. This 2D game will be programmed in C# and XNA and shouldn't take longer than a week or two to finish.

Throughout the process of programming the game I will be giving daily updates as to how the game is coming along and what things I am going to add and other things like that!

So today I am working on adding placeholder sprites. "What?!" you say? Well I managed to find an artist that is willing to work for nothing in order to create decent looking art work for my game. This will hopefully come to fruition in the next couple of days and hopefully I will have some nice art to add to my game. I think the art will definitely add to the game as a whole but right now it isn't very fun to play. Although I have had some ideas.

Firstly I will make it a sort of boss type level found in games like devil may cry. For instance I will make it so that after the boss reaches 25% health I will have some sort of flying bat fly down and try to attack you. I will have it so that it is a sort of quick fire click fire. Then you have to click on the bats before they reach you. Hopefully this will bring a bit of fun to the game.

So today I have added a couple of things like

A sprite which travels across the screen to hit the enemy.  AKA a fireball
I have also added sprites which represent the player and the enemy
Also I added a timer function so that if you press the H button you can rejuvenate some health at the cost of some Magic Power.

More updates tomorrow

Day 3 : 2D game

So today I added quite a few things. For instance I set up a basic combat system. Which allows the player to fire  a spell at the enemy. This is all just numbers at the moment but I think I will steal the ball used in the 2D XNA tutorial and use that as my spell.

As for the sprites I need I have put up a thread in the help wanted section of GameDev.net and am currently waiting for a reply. Hopefully that will come soon.

Anyway I am still on the hunt for decent 2D sprites to fill the void. When I get them in it will look like a proper game!

I have also been thinking of a couple of new things to add to my game. Like for instance a floating health bar at the top of a character. This wont really be much use in the game its just that it will give me the knowledge of how to program one in.

So I thought I would give you a little screenshot to show you how the game is coming on!



As you can see I have added a few more stats to the game as well as put up the enemies stats in the top right corner. Currently I have added a few options:

Space to shoot a spell
P - makes you drink a Magic Power potion which allows you to fire more spells

thats all so far. But the combat system works. I am going to add a random number generator to see whether or not the spells hit the monster. And I am going to make it so that the monster attacks you right after you have attacked it. It will all be quite random. But I want to be able to add some sort of skill to the game. For instance. I could limit the number of potions you could drink to 1 per 3-4 turns. Which means you could try to finish the monster off with the magic power you have left or you could drink while the monster heals itself.

Another thing I need to add is the Magic Power regeneration feature. Which lets you rejuvenate so of the Magic Power used whenever you successfully hit the monster with a spell!

Anyway I need to go school time but more will come tonight!

Sunday 25 October 2009

Day 2 : 2D game

So guys this is my second day working on my latest game. I must say it will be complete fairly soon. Its not been that hard to do so far but this time I really want to spend a lot of time polishing it so that on the exterior it looks fairly professional. For instance I want to have decent artwork this will take me a while even if I do it myself. But it is more than likely that I will ask a newbie game artist to get it all done for me. This should be fairly easy as game artists are a dime a dozen for semi decent ones and also it gets me started networking. Which might help me get a job in the future. Anyway now I am looking at possible candidates for sprites.

I am simplifying the game so that I can get some practice on the more technical side of things. Like animation and  sound and things like main menus and in game menus. If i get all these in my game then I can then reuse them in my other games. This is me just building up my library. Then I can concentrate on other games to add to my website!

money maker