Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    223
  • comments
    165
  • views
    79712

Ups and Downs

Sign in to follow this  
Stephen R

97 views

Today was a day of extremes.

I woke up thismorning early - which I never do. It took me two seconds to figure out that I was awake because my throat was on fire and my brain was in agony. My body must have decided it was unfair to hog all the pain for itself. Anyway I got up, shoved down some medicine of a soluble nature and turned on the TV.

I went into Dublin City then to browse the bookshops as I'd recently come into some moneys. I found a copy of Game Programming Methods. Took a quick flick through the book and was very impressed. Saw mittens name on the terrain engine article and bought the book. I have to say that I'm very happy with it.

Once I got back I got to work on the walking scene of the demo. I didn't get the text code done today but I did put a nice polish on the code I did yesterday. A bit more efficient rendering code but most of my work went into getting a good frame rate to use in animations. The main problem stems from the fact that I'm using the music to synk the demo. I use its GetTime function to get the offset in milliseconds from the beginning of the file. I decided to use the musics GetTime function to synk the scripted events but use the high resolution QueryPerformanceCounter function to time the animations. I haven't got that fully implemented yet but it shouldn't take me too long.

On the other side of the coin I realized that I'm going to have to restructure the rendering system. At the moment the walking scene is pretty much a selfcontained hardcoded system. Everything would have to recoded for the next scene which would result in huge amounts of redundant code. I'm going to bring in my Scene Graph code that I have in Kernel Chaos and edit it for the demo. I keep on reading about seperating the rendering aspects of the scene-graph from the update/animation aspects. I'm not quite sure how I'm going to go about this but I'll figure something out. My current code for the walking scene will be used but it will be split up and placed in more reusable containers. Another few days work but I don't mind as it will save me much more in the long run.
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

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!