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.

HP Raising and Day & Night System

Orkal3

Member

I wanted to figure out a few things.

1. How do I increase the character's HP every 2 minutes or so?

2. How do I add a day & night system to my game?
 
This should be pretty easy using events no?

Make a common event that works on a trigger that you have set on your map and put something like this.

Restore HP: All party +30 or whatever
wait:20 frames

Its not that hard.
If you want to use a script for the day and night then go ahead, but its prettymuch the same principal as the hp regen.

Common event set on a trigger

Wait: a bunch of frames
tint screen: afternoon color
Wait: a bunch of frames
tint screen: night color
Wait: a bunch of frames
tint screen: normal

Thats pretty much the most basic event based one i could think of off the top of my head. Scripts are nice but most of the time not really necessary.
 

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