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!
Showing posts with label 1st day game development. Show all posts
Showing posts with label 1st day game development. Show all posts
Wednesday, 28 October 2009
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!
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!
Saturday, 24 October 2009
2D Side Scroller
Today I managed to get quite a few things up and running with little trouble. I thought I would give you a quick preview of what the game looks like after the first day in development.
As you can see programmer art leaves a lot to be desired. But I am happy as I have gotten the viewport set up as well as health. I am going to have the enemies stats in the top right of the UI. and all the rest at the bottom. The bottom right will play host to the backpack to which I have no idea as to how I will get that implemented.
I haven't got round to getting a decent sprite for my character, nor my enemy character. I will also need to get a couple of sprites for attacks such as fireballs and arrows. Close quarter combat will have to wait until I learn animation and how to use character sprite sheets.
Any way time to have my sleep so that I can continue to work on my latest game tomorrow.
Remember to become a follower so that you can track how my game is coming along!
Subscribe to:
Posts (Atom)

