Hello, I want to implement a hunger system to my game.
The point is that every certain step the main character displays an icon that says he is hungry. I have managed to make the system, every so often the character deploys the icon and his life begins to fall. and heal with some food.
What I want to do is that instead of "time" be "steps" since having that parallel event in "wait 999" like 7 times all the time makes the game a little slow.
The question is: how can I calculate the number of steps? can I take it in some variable? I want something like every x steps that make him hungry.
Step counter
● ARCHIVED · READ-ONLY
-
-
Hello, I want to implement a hunger system to my game.
The point is that every certain step the main character displays an icon that says he is hungry. I have managed to make the system, every so often the character deploys the icon and his life begins to fall. and heal with some food.
What I want to do is that instead of "time" be "steps" since having that parallel event in "wait 999" like 7 times all the time makes the game a little slow.
The question is: how can I calculate the number of steps? can I take it in some variable? I want something like every x steps that make him hungry.
Control Variables command -
@Isabella Ava
hahaha, I'm so fool xD thanks! -
Just so you know it's out there, I developed a very elaborate plugin to handle any number of extra HP attributes including Hunger, Thirst, Oxygen, Psyche, Body Temperature and/or anything else you'd like to implement. It's extremely customizable, has UI elements built in and allows for things that are only possible with a plugin. It's probably worth taking a look at even of you don't think you'll use it.
https://forums.rpgmakerweb.com/inde...tom-hp-in-your-game-demo-now-available.92623/