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.

Event Level Up Notice

Level Up Notice With Events
By: OD-Arhses
Intro
Ok. I would like to start Out by saying this is not only my first tutorial, but also my First Post...
Basically I = Noob
But thats ok, we all have to start off somewhere,  :)
Now, my friend was playing my RPG xp game and he told me it was really annoying that every time he leveled up, he was left out of the loop. I checked the forums and found 2 level up script systems, Tricksters link was broken and the other was not compatible with my other scripts...
So I made my own, with events...
This system notify you when you level up, on the map, after the battle.
With extra work it can tell you when you gain a skill!
It supports leveling up multiple times in one battle.
P.S. Please don't post about how much more useful scripts are v.s events, I already know.
Demo at bottom.

I have put this into 6 hopefully easy steps.

Step 1
For this system you will need:
2 Switches
15 variables per character
2 Common events
1 Switch per Skill (Optional)

Name the Variables:
1:Char1-Level 
2:Char1-Level-New
3:Char1-Level-Old
4:Char1-Hp
5:Char1-Hp-New
6:Char1-Sp
7:Char1-Sp-New
8:Char1-Str
9:Char1-Str-New
10:Char1-Dex
11:Char1-Dex-New
12:Char1-Agi
13:Char1-Agi-New
14:Char1-Int
15:Char1-Int-New

For more Characters just make 15 more variables, with Char2 instead of Char1.

Name the Switches:
1:Start Level Up Window
2:Level Up Window
3:Skill Name (Optional)
and on and on depending how many skills you have to learn.

Name the Common events:
1: Level Up Window-Reset
2: Level Up Window-Run

Step 2:
Go to the Common event "Level Up Window-Reset"
Up at the top set the trigger from "none" to "Parallel". Set the Condition Switch to "Level Up Window-Reset"

In Level Up Window-Reset input this code, Note: You don't need the comments.
http://i185.photobucket.com/albums/x244 ... /Step2.jpg[/img]

Step 3:
Go to the Common event "Level Up Window-Run"
Up at the top set the trigger from "none" to "Parallel". Set the Condition Switch to "Level Up Window-Start"

In Level Up Window-Start input this code, Note: You don't need the comments.
http://i185.photobucket.com/albums/x244 ... tep3-F.jpg[/img]

Step 4:
Ok, now you have a working level up system for one character. But if you try it out, it doesn't work?! In your game you need to make and event turn the Level Up Window and Start Up Level Up Window Switches on. MAKE SURE THE START UP LEVEL UP WINDOW IS THE FIRST TO TURN ON! or the system freaks. Now if the Character levels, it should work.

Step 5:
Repeat with other characters! May/Will end up looking like this:
Level Up Window-Reset
http://i185.photobucket.com/albums/x244 ... tep5-1.jpg[/img]
Level Up Window-Run
http://i185.photobucket.com/albums/x244 ... p5-2-F.jpg[/img]


Step 6: (Optional)
This is a feature you can add, that take a little extra work. I find that it is an amazing improvment.
With this addition it notifies you when a skill is learned. Be warned: This takes a little time PER SKILL. so if you have a character learning 100 skills, this will take a semi-long time.

Just add one condition per skill under the stats text:
http://i185.photobucket.com/albums/x244 ... /Step6.jpg[/img]

The DEMO:
http://www.megaupload.com/?d=3KLYXDMI

Well... thats that.
Thank You for paying attention/using this event script, Peace.
Tactful Feedback would be much appreciated.
 
There is a much simpler way to do this. I believe you should find that one out. This tutorial is massive and wasteful of things. You could do it with 2 variables and one 1 switch rather than the amount of what you have here.
 

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