Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

[XP] Food, water, and fatigue script.

pliio8

Member

Heres what I'm requesting:

I want a script that makes 3 bars one on top of each other in the UPPER CENTER of the screen, inside of these bars are 7 pictures. water.png on the top bar, food.png in the second, and z.png in the bottom one. When these run out, your character will have effects. When you run out of water, you will have 250 seconds before you die. Out of food, and your health will begin to lose health slowly. When you begin to run out of fatigue, then the screen will flicker and shake, and random objects from the pictures folder. Ball1.png, ball2.png, and ball3.png will begin to fly around the screen.

You can increase these by events or items that call a common event, with a script that will increase them by a certain amount.

This script can be released to the public.

Thanks for any questions or completing of the script.
 
Check out this hunger & thirst system to see if it's close...

http://www.rpgrevolution.com/forums/ind ... &hl=hunger

You could probably combine this with your common events to do what you need.

Also, I would recommend using a 'positive' term/value for fatigue, such as 'energy' or 'verve'.
(Yes, I realize 'hunger' & 'thirst' are also negative terms, but the point is to stay consistent with any other status bars in your game. Since HP & SP are OK when they are 'full', so should the 'food', 'water', and 'energy')

Be Well
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top