Jump to content
Sign in to follow this  
  • entries
    11
  • comments
    24
  • views
    10892

Shop updates, day/night, time and speech bubbles

Sign in to follow this  
steg

1098 views

Hi,

Well today, I had a little bit of time so I've updated the shop object - they now have opening and closing times, who the shop keeper is and items they sell. If the shop is closed it is drawn darker than normal, although you
can click on it and will be told so. Creatures that walk past shops sometimes show speech bubbles about the shop and at the moment I'm implementing letting them actually go inside the shop.
The speech bubble class allows you to set a delay of when bubble disappears, the text you want in it, work very well. Going to use them to allow the creatures to do some conversations - they may say hello, stuff like that
and I've now added a list object in the creature main abstract class where now creatures have a list of friends, if they see these, they will use the speech bubbles to talk to them :-)

Added night/day cycle to work with the game time - the game time is 1 minute is 1 hour, works very well, creatures also age against the night/day cycle adding to the realism.

Lastly today i added dynamic weather, so it may rain, snow or be dry for random periods of time, seems to work ok.

Next up is to do the inside of the shops...still thinking of how this should look, want it to show any creatures that could be inside as well as shop keeper.

Happy coding til next time.

new1.png

new2.png

Sign in to follow this  


2 Comments


Recommended Comments

Thanks :-)

 

The creatures say various things, when walking past shop they may say it is open and even pop into the shop!

 

Creatures are going to be assigned friends who if they meet in the world, they will speak with and if the friend is killed by you, then anybody linked to this friend will be

verbally off with you or even attack you!

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!