Skip to toolbar

Health Value problems

Welcome Forums Get help Health Value problems

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #27930
    bourgeoisHellion
    Participant

    So I’m making a game where the hero can increase their health value (“Energy”) by eating breakfast, but the health value has not been going up at all. There’s a lot of spaces in the screenplay, but all actions seem to be fine and everything else is working perfectly when he eats. The problem is that the health value won’t increase. Is this a glitch or am I doing something wrong?

    Here’s an example of something very repetitive:

    Beginning line of code

    0
    #27938
    deWiTTERS
    Keymaster

    You have the health value, which is the current health of the hero. But you also have a health max value, which is the maximum health the hero can have.

    So you also need to increase this health max value for the hero to become stronger.

    0
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.