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

Adding life span to creatures

Sign in to follow this  



Just implemented life spans for the various creatures in the game. Each creature have their own attributes such as health, age, aggression, if the can drive vehicles, if they can be pets etc. What I've done is to make them get older, thus their age changes which can be viewed when clicking on a creature. The age increments in line with a day/night cycle and when the said creature reaches a certain age, they pass on. Now, this certain age I've set for the various different types of creatures, thus rabbits don't live as long as crocodiles for instance. I'm thinking of making all this customizable at some point allowing the player to change attributes of each creature.

Looking at implementing some visuals to show the different aging of the creatures today if have time and then adding more dangerous creatures to the lower levels of the underworld in the game...


Sign in to follow this  


Recommended Comments

What is gained by having age as a stat for creatures? Are there systems that require dead creatures or breeding?

Share this comment

Link to comment

The stat is used for added realism, creatures are going to go slower and be less able bodied as they get older.  Although your comment about a system for dead

creatures sounds like an idea :-)  Thanks for your comment.

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!