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.

Time skips

Hi there I'm new here :smile:
Anyways I wanted to make a Dragon ball Z based game throughout the series theres various time skips where they get stronger/weaker and I wanted to include that into the game.
So for example say character A had 100 attack and defense I would want that to automatically increase by 25% without changing the level after the time skip.
Would that be possible?
If so how would I go about doing it?
Thanks for any help.
 
Well, I'm sure this can be done with scripting, but unfortunately, I'm not familar enough with Ruby yet to give you a line of code. A way of doing this without scripting would be to create a 'state' in the database that gives the desired stat boost and just use the 'Change Actor State' event command whenever you want their power or whatever to increase.
 
You could also use variables.

Code:
Set Variable: [0001: Stat] = Actor1's Attack
Control Variable: [0001: Stat] / 4
Control Status: Actor1's Attack + [0001: Stat]

That would increase the character's attack by 25%.  It's a little longer than scripting would be, but it works just the same.
 

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