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.

need a script please

jpah

Member

Let me explain the situation, in my game u can change into the hero by pressing a button, i need a way to make it so that when in hero mode a little bar goes down and thats how long u get, also it recharges slowly, also u get more time as u gain level and new powers, plese help me, ill be eternally grateful.:)
 

mor

Member

I think you can do it using events, expect for "little bar" I think, because it makes much more works - but you can take it for i.e someone's hud:)?.
and if you want that time increase when you gain levels, you should create some formula, for the example: Time=Level^2+(New_Powers+STH)/2
 

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