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.

Make it say something when you levelup.

Ok well can someone make me a script where a message pops up when you levelup like after your done battleing or ETC can anyone help?
 
No i know that but i want it to be a little more noticeable like say i get exp points for finishing a quest and i level up? then there is no way to tell that i did unless i look so i just want to make it say it.
 
Before you add the exp to your character, set a variable equal to the characters level. Call it "Chara LV"
Now add the exp
Create a new variable and set it to the character's level again. Call it "Current Chara LV"
Then make a conditional branch that checks if  "Current Chara LV" (> greater than) "Chara LV"
This will check to see if the character lv changed after adding exp.

If so, you can make an animation or display a message stating the character leveled up.
 

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