Archive

Posts Tagged ‘To-Do’

Broadening My Horizon…

October 27, 2008 Leave a comment

Well, not really broadening my horizon, but broadening the topics covered in this blog.  There’s more to me than computer science, and much of that I’d like to share –

  • Metal (music)
  • Guitar
  • Fantasy

On another note, you won’t believe how hard it is to find a theme that isn’t 2 inches wide.  All my code and embedded photos are cut off.  But at the same time, I’m tired of the bland look, so I’m changing it.  Now that WordPress hosts images I no longer have to go through an external photo-hosting service to get images on here, and hopefully when I upload those images they’ll be properly displayed.  This means I will probably have to re-upload the few photos that are in my posts (if they’ll then be properly displayed).

Advertisements
Categories: Miscellaneous Tags:

To-Do

October 25, 2008 Leave a comment

I’ve got to get this thing up and running once again.  Here’s a checklist of what I’d like to do to the site before I begin to add new content:

  1. Change the title and description.
  2. Re-do my Categories and Tags to more accurately reflect the content of the post.
  3. Re-organize and update my links. (Decided wasn’t necessary)
  4. Re-do my Books page to include photographs of the books.

These should take me no longer than a few hours.

I also would like to add more visuals and enhance the look.  Since the last time I was posted pictures WordPress has added the ability to upload photos from my computer.  This will make it much easier to add photos as before I would have to log in to my Photobucket account, upload my photos, get the URL to the image and paste the URL in my blog post.  So, hopefully I’ll let my creative juices flow a bit more and we’ll see some more visuals up here.

Categories: Miscellaneous Tags: ,

Quick To-Do

Here’s a quick list of what I plan to implement in the near future, in tentative order:

  • Items (Discussed below)
  • More Linked-Lists (Discussed below)
  • Shops/NPCs – Need somewhere to spend the Gold
  • Quests – With all this world for the player to traverse, they need some sort of goal
  • Classes – As of now, there are no classes, only attributes
  • Magic/Spells – If there’s Classes, there needs to be Magic

I’ve explained the first two implementations in my previous post below. As for the others, these will most likely occur in this order. The Classes and Magic are expected to require the most work, as I will most likely have to scrap my battle system and write a new one.

Categories: Game Development Tags: ,

To Come…

Well, there’s still a lot to be done, but the next few things I want to implement are:

  • Items, particularly Weapons, Armor, and Potions.
  • More Double Linked-Lists

Items – The game needs them. I am planning on making a base class, Item, that my Weapon, Armor, and Potion classes will all derive from. My intentions for the use of items will be simple: Weapons will add to the characters attack value, Armor will add to the characters defense value, and Potions, when used, will add to the characters Health value.

By having all the Weapons, Armor, and Potions inherit from the Item class, I can use pointers-to-Items to access them. By doing this, I can create an array of pointers-to-Items, and my array could then hold all the Weapons, Armor, and Potions in the game. This would mean all the Items in the game would have to be explicitly created, but that is what I intend. This way, I could use the D&D weapons, perhaps, with all their attributes. Also, by having all the items in the game be accessible through pointers-to-Items, I could have all the character’s inventories be simply a vector of these pointers-to-Items. Since it is much easier to pass around pointers than the items themselves, this will work out good.

More Double Linked Lists – This will allow for more world to be created and accessible to the user. Currently, the game world is made up of just one Double Linked List, and the user starts at the head of the list and fights their way through to the end. Pretty linear, and pretty boring, so I came up with an idea that I think will be easy to implement. I could add to the Room class a pointer to the head of another double linked-list, which is just another Room. This would allow the player to not only move horizontally, but vertically like so:

Here is the current game, where the player starts in roomA1 and fights through to roomA100:

Now with these added lists, the player could do A LOT more. Each Room in the A list has a linked-list leading off of it, and actually each Room could have a linked-list leading off of it, but that would get pretty messy, so I’ll just stick to what I have. This would allow for many cool things to be added, perhaps the A list would be the wilderness, or outside, and then saw roomA3 was a forest, the D list could be a cave that the player happens upon, where they could go through the many depths of this cave.

As I said, I think this would be easy to implement, seeing as my game loop just needs a linked-list to operate, it wouldn’t matter what linked-list it is. To shoot the player off into another linked-list, I could just set the player to the head of the new linked-list, rather than just the Next or Previous Room.

Categories: Game Development Tags: ,