Step counter

● ARCHIVED · READ-ONLY
Started by Kato-A 4 posts View original ↗
  1. 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.
  2. Kato-A said:
    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.
    upload_2018-7-22_10-20-49.png
    Control Variables command
  3. 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/