Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    23
  • comments
    31
  • views
    19956

Let the game(s) begin!

Sign in to follow this  
coderx75

407 views

I've been meaning to start this journal for quite some time. I've finally got my GDNet+ account (WOOHOO!) and quite a bit of "usable" code written over the past couple of months.

I've played around with writing games before but I always run into the same problems... weak memory management, lack of a decent GUI, flat physics model, the list goes on. Any past attempts have pretty much been a hodge-podge of code and have resulted in inflexible applications, giving me no room to do what I want to do (or to even finish for that matter).

To remedy this, I'm writing a flexible (but somewhat simple) game engine. Keep in mind, I write code for a living 8 hours a day so the game is coming along slowly for now. I have a series of games in mind that I plan on implementing with this engine, each more complex than the previous but based on the same concept.

Here's how I've come along so far:

- Memory management: Easy-to-use components that deal out objects and destroy objects upon request. Great for use in a builder pattern.

- GUI: A flexible GUI class that can easily be extended into many GUI objects.

- Command processor: Command class is extendable to many command objects that may be queued into a command processor to handle major functions of the application. Good for running commands from a console. Plus, it's a nice little exercise before diving into the light-weight script engine I'll be needing later on.

- Console: Crap. I'm rewriting it using the GUI and command processor above.

- Physics system: Pretty robust but badly designed and, worst of all, 2D. It manages objects within "spaces", allowing collision detection on about 12,000 moving objects simultaneously @ 50 fps on a P4 1.5GHz. Not bad, just needs a rewrite.

- All the basics such as DirectInput, system timer, File I/O (w/ serialization), etc.

- Other tidbits: Parser, AI, good targeting and leading with some of the worst path-finding ever, etc.

Currently, I'm building a multi-threaded application using most of the above and plan on starting the first game of the series ASAP. I think about how much I've written so far and I feel like I'm almost over the finish like. Then, I think about how much further I have to go. Ugh!
Sign in to follow this  


5 Comments


Recommended Comments

Hey!

Glad to see another journal up and running [smile]

Obligatory Rating++ for journal

-MoCo

Share this comment


Link to comment
Simply outstanding! Welcome to GDNET++!! RATE+ FOR U!

Also. You said you code for a living? Real Job, or Hobby Job? Tell us about it! ;)

Share this comment


Link to comment
"Real" job. =) I work for MySanAntonio.com. We're the web site for San Antonio Express-News which serves South Texas. I work with ColdFusion (BLECH!), Perl, C++ and for the past year, we've been using .NET (C# it t3h r0x0r3z! =b) I usually stick to web companies... it's not so taxing that I can't write a lil' code when I get home from work. ;-) Speakin' of, I got codin' to do. [disturbed]

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!