Showing posts with label XNA Game Studio. Show all posts
Showing posts with label XNA Game Studio. Show all posts

Sunday, September 30, 2012

Back from the Brink

Hello to everyone! I am excited to say that I am coming back to this blog and to game programming as a whole. I have many things to update everyone on since my last visit here. Since my last post I have started a new job, moved to a new city, and bought a new car! Many things have changed for me now and I am happy to say that I am finally getting some time back on my hands to program again (as well as blog about it).

I hope everyone will forgive my absence over the last few months. Real life has been more crazy than normal, and I must say that I am ready for things to slow down for awhile. While I have enjoyed my time away from programming games, I am anxious to begin again, and with the upcoming release of Windows Phone 8, I am happy to say that (*spoiler alert*) I will be delving into the world of making games for the Windows Phone using my trusted friend, XNA Game Studio.

I am looking forward to beginning development on my next fun project, a simple 2D game (more details to come) for Windows Phone. Stay tuned for my next blog posts to read about the exciting work I will be doing in the world of the Windows Phone.

Sunday, February 5, 2012

Xna Platformer Update

Hey guys here is a quick update on my platformer game. I've been able to add in some decent player physics, modeled after the Platformer Starter Kit on the Xna website. I've also spent most of my time on the editor lately, getting it up to speed with my engine and designing it in such a way that I will be able to create platformer games much quicker than just hard-coding in the levels for this one game.

 

Thanks for taking the time to check up on my game. I'm really looking forward to developing the engine and editor even more. One of the things I'm in the process of adding is a dedicated object layer for the maps. Right now, the only thing on that object layer (which is loaded in from a file by the way) is the player. Most likely, the next thing I will add to the layer is an exit tile, which will load up the next level (tile map in my case). This, I feel, will make the game start to feel more like an actual game than just a level demo.

Stay tuned for more updates!

Wednesday, February 1, 2012

Prospectus Xna Relaunch

Hello everyone, I have exciting news to bring you today! I finally have discovered a way to make Prospectus available to everyone and utilize the ClickOnce feature which will allow for Prospectus to automatically update itself whenever a newer version is available.

My solution actually came about because I recently have been poking around on the dreamincode.net site and have become involved in a project that is hosted on CodePlex.com. Ironically enough, I was digging through their web site today and discovered that ClickOnce applications actually work on that site (my guess is because it is owned by Microsoft, but that may be incorrect).

Anyway, setting up the project was easy and I have uploaded the Alpha 1.0 version here. If you are a fan of the game, please stop by and download a copy (for free) of Prospectus, and it will update itself whenever I provide updates (pretty cool, huh?). Again, thanks for everyone who has followed along with this project and I do apologize for going so long without an update...and yes, for those of you wondering, this does mean that I'm back to using Xna for the development of Prospectus (let's face it, I love programming in C#)

Until next time!

Saturday, January 28, 2012

The Progress of My Platformer

Hey guys, it's been a few days and I thought I would update you on my current project, a classic platformer modeled after that oh so famous plumber we've all heard about before. Again, I'm back to using Xna for this project. For me, it's the simplest and quickest way to make a game the way I want to...through programming. I thought I would show you some video of the game so far. I'm also making an editor for the engine. Both of these started with Nick Gravelyn's Tile Engine series and have since branched off, as he made his engine for an rpg and mine is for a platformer.

On to the good stuff!
Here's a quick demo of the "game" so far (this is more of a tech demo than anything ;) )

I've done quite a few things with this game so far and I plan on going over some specifics with you soon, but for now I leave you with the flashy eye-candy that you've just seen. If you would like for me to cover something specifically that I'm doing in this game, please let me know in the comments. I like writing about game making and I like helping you guys out when I can.

That's all for now!

Friday, August 5, 2011

Java 2D TileMap Code Optimization

Hey guys, just thought I would give you guys a quick tip on 2D tile map optimization that's been helping me in this transition from Xna to Java. Normally what I do in this kind of a game is have a 2D array of tiles (Tile class) which make up the contents of the map. I then set each tile to be the appropriate kind of tile (i.e. dirt, grass, rock, etc).

With this new Java version of Prospectus though, I thought I could do a little better than that, so I set off to find a different way to get the same result. I came up with the idea of using a 2D array of characters instead of tiles. I then use that character map to decide what tile I need to draw in my draw method, as I need it. I then use a few different methods that allow me to retrieve the correct type of tile to draw/do calculations with for a specific x and y coordinate on the map, solely based on what character is that the x and y coordinate.

This, I believe, saves me time and speeds up the execution of my code. Instead of having to keep each tile on the entire map in memory, now I only care about the tiles that are on the screen (plus a couple rows and columns for cleanliness). This also helps with start-up time because I'm setting character literals instead of user-defined class instances.

I hope this has given some of you ideas on how to improve your own games in Java or C#/Xna (this method will work for either language). As I near completion of the port to Java, I'm getting more and more excited about where Prospectus can and will go in the future. Thanks for reading and be sure to check back soon for more updates.

-Cheers

Monday, July 18, 2011

Thoughts on the Future of Prospectus

Hey guys it's been a few days now since I released the first Alpha of Prospectus and I must say 'Thank You'. I've seen a great response from you, the community, toward my game and I'm very excited about the future of this game. I've been working hard on adding in new features to the game to make it feel more like a game than just a blank sandbox world and I will be posting on here my updates as I make them.

I am also working very hard to come up with an effective way to make the newer versions of Prospectus automatically download and update your installed version, without requiring you to manually install them each time. I really appreciate everyone who has visited the Prospectus website and I would love to hear any feedback you may have at prospectus.game@gmail.com.

Until next time...

Friday, July 15, 2011

Prospectus Alpha 1.0 Is Here

Hello everyone, I am pleased to announce that I have chosen to name my game Prospectus, as it was the most popular in the poll. I appreciate everyone who voted in the poll and am excited about uploading Prospectus for you to download and play!

I have been hard at work creating a basic website for Prospectus for you to get your free copy of the Alpha 1.0 version. It's been a long time coming that I would distribute a game online and I am very excited to get feedback from the community about Prospectus. I have set up an email address as well that I would like you to direct any comments, feedback, bugs, issues, etc. of any kind to so that I can better organize my Prospectus-related traffic.

Again, I really appreciate everyone who reads this blog and look forward to hearing what you think about Prospectus. Please understand that right now, there is only basic mining and inventory in the game and it is very similar to early versions of Terraria and Minecraft, but rest assured I will be adding unique gameplay features very soon.

There will be detailed instructions on how to install Prospectus on the web site, along with a Read Me text file to assist with installation, basic gameplay, and controls.

You can find Prospectus here and feel free to contact me with any comments and feedback here. Thanks again everyone and have fun!

Sunday, July 10, 2011

Boring Work Before First Build

Hey guys, I know it's been a couple of days since my last post and I wanted to say that I'm still here and still working on the game, though I'm now in the boring part of cleaning up the code that I have before I make this first version ready for download.

I would like to apologize because I do not like to go this long between posts. I'm making minor tweaks to the code that will hopefully make it less buggy when it's ready for download. I'm getting very excited to see what everyone thinks about it up to this point. I would like to say to everyone who intends on downloading it to keep in mind that at this point it is basically a straight clone of Terraria. My plan is to make this game more of a Zelda-style game than a Terraria/Minecraft-style game before I'm done with it.

What do I mean by Zelda-style? I mean more intricate dungeons with bosses in the dungeons, different levels (as opposed to biomes), more NPC interaction with special items awarded (similar to Zelda games), and many more features to come! I hope that everyone appreciates this game and I would ask that anyone who decides to download it and has any type of comment (positive or negative) about it to let me know in a comment or in an email (I'll have an email address set up just for this game by Friday).

Thank you to everyone who follows this blog and game!

Tuesday, July 5, 2011

Alpha 1.0 Preview

Hey guys I'm just giving you a quick update about the latest addition to the game...updated, custom sprites for the player! I am very excited about this latest addition, mostly because I am not really an artist, just ask my wife :)

I'm getting even more excited about launch day, which I am glad to announce will be this next Friday, July 15. I will be uploading the first build of the game, mostly bug-free probably after I get back from the midnight showing of Harry Potter.

I will leave you now with a preview of my player:

And don't forget to vote for what the name of the game should be.

Friday, July 1, 2011

Revamping the Terrain and Caves

Hey guys I've been busy reworking the terrain and cave generation code to give smoother and less rigid results. I've also cleaned up the HUD to show less things and not clutter up the screen as much. Enjoy!

Monday, June 27, 2011

Game Demos on YouTube

Hey guys I figured it was about time I upgraded my presentation quality with this game and starting recording some actual "gameplay" for you to see. So without further ado, here is the first in-game video for my Adventure Resource game:



I apologize for the low framerate, I'm still getting use to this new video capture program. I assure you the game runs plenty fast.

Sunday, June 5, 2011

Terrain Generation using Midpoint Displacement

Well it's been a productive couple of days since my last post. I've been busy working on implementing a better random terrain generator for my game using some tiles that I made myself using Paint.net. I must say that I have never been a strong algorithmic programmer, but I have been reading up on the subject and from what I have found, an easier way to implement random terrain is to use the Midpoint Displacement Algorithm.

This algorithm repeatedly uses two points in space and places a midpoint between them. Then, one point on either side of the midpoint is created at a random height (or displacement) from the midpoint. This algorithm recursively calls itself and continues to create a rough terrain shape. The more times this is done, the smoother the effect.

I'm definitely not the expert on this subject, so if you would like to read more about it check out this post. In the meantime, here is a sample the results of my terrain generation code. Note that there is still much work to be done to clean it up and improve it. This is definitely the first time I've done this.

That's all for now...

Thursday, June 2, 2011

Mouse input is now a reality

I'm happy to say that last night's dev session resulted in the game now having a decent mouse input handler in which the player can remove blocks and place blocks in the map. For now, the player can only place 'ground' blocks because I don't have any inventory system in place (yet) for the player.

I have also started making simple artwork for the different types of blocks found in the game. This is a very exciting game for me to make because I feel like I'm making great progress on it and these little successful additions really make the development process more fun and rewarding. This also gives me motivation to continue my efforts in making this game.

Also, I'm going to need a title for the game (maybe not right now, but soon). I don't want to keep calling it 'the game' or 'my Minecraft clone'. So if you have a suggestion for a name that would go along the lines of a 2D Resource gathering Rpg, please leave it in the comments :)

I'm really looking forward to the weekend because I'm going to work on changing over from the simple red and green tiles to some actual artwork. This is more of a challenge than it might seem because I will need to change my current map generation system. Basically, I will need to take it from a purely random generation to a more structured generation system that looks at the blocks next to the one it is currently generating in order to decide which block to place.

Check back and see how I do.

Wednesday, June 1, 2011

A New 2D Resource Game

Over the past few days I have begun creating a new XNA game that I am quite excited about. This game is a resource gathering game with rpg elements. I have found a new love for Minecraft and have discovered how much fun 2D resource games like Terraria can be. Truth be told, the fact that Terraria is written in C# using XNA Game Studio gave me new inspiration and motivation to create my own game.

The problem I usually face when creating a game is finding the motivation to finish it. It's true, I've only finished one game really (a space shmup) and have dozens of unfinished games lying around. I am determined to make sure this new game will be different though and I'm using this blog to help me accomplish that.

The basic premise of the game is to survive by gathering resources and building things (i.e. crafting weapons, constructing buildings, etc.) while monsters try and attack you. Later on there will be a day/night cycle and monsters will only come out at night, but that's for later. As for now I will focus on building the game in small increments. This will allow me to focus on the pieces of the puzzle as opposed to looking at the whole (and incomplete) picture itself, thereby keeping me more focused on the features in the game. One element of the game that will make it different from other games like Minecraft and Terraria is that the player will have skills that they must level-up in order to (for example) craft better tools, cook better food, make better potions, gather rarer resources, etc.

So far the things I have in the game are:
  • Random world generation
  • Platformer-style physics (modeled after the Platformer Starter Kit on the XNA site)
  • 2D camera that follows the player and does not allow him to leave the map (modeled after Nick Gravelyn's camera in his Tile Engine Tutorial)
  • Map saving and loading with the player's position saved as well (modeled after Nick Gravelyn's saving/loading in his Tile Engine Tutorial)
Other things that I will implement may include:
  • Items, gatherable and creatable
  • Enemies with basic AI
  • Block gathering / placing
  • Basic inventory
  • Menus
  • Crafting
  • And more...
Like I said before, I am only focusing on one or two features at a time to keep my spirits up and my mind focused...

Please check back for updates about the game and feel free to offer any comments about my game. Oh, and here is a screeny for your viewing pleasure.

Update 1.0 "Where have I been?"

Well after a long time I finally have something to write about. I apologize for being away for so long but I have been very busy with real life, family, and work. The truth is, I'm not especially skilled at blogging (although I nearly have a Bachelor's in English with a writing concentration) and, consequently, I find it very easy to neglect this blog.

I would like to say 'Thank You' to the people who have read the meager posts I have created up to this point. I would also like to say that I am working on a new XNA game that will give me much more to write about (hopefully) and should be a fun experience.

I plan on treating this blog as a quazi-journal of sorts for the development of this game. For me, this has a couple of benefits. First, it will help me keep track of the game's progress as I create it. Second, it will help me order my thoughts and ideas about the game in a somewhat structured manner. My hope is that this development journal will also be at least mildly interesting for the people who read it. At this point I intend to only add in things that I want to, things that I think would make the game more fun...but I will divulge more in the next post.

Thanks for everyone who reads this.
Jeff

Thursday, August 19, 2010

Introductions

Salutations to everyone reading this blog. I would like to say "Hello" and introduce myself a little... I am currently a web developer working for Texas Wesleyan University, just graduated from there with a B.S. in Computer Science, and play way too many video games. I remember my first console was an SNES with Donkey Kong Country as the in-box game. Those were great days...

Anyway, I have a wife and three month old son who are the two best friends I have. I am also starting to develop small video games for Windows and XBox360 with XNA Game Studio. In the future, most of my posts will probably involve game developmental progression, as well as some things I have learned along the way...

Well, that's it for this post, just a short "Hello" and "How you doin'?" to get things started. Check back often because I will be updating this blog with new posts as I find things to talk about.