Done! And anyways, here is yet another tutorial for your RM2K needs: HP Bars! That's one of many tutorials heading your way! Here's the HP Bar one:
STEP 1:Defining the percentages
Make a new common event. It should be a call event. Set the three variables to the corresponding objects(HP and Max HP).
Next divide the dummy max hp variable by 10(for 10% of the maximum). Now create a fork to check if the current HP and Max HP is the same. Code as of now:
<>Variable Oper:[xxxx:Hero HP]set, Hero HP
<>Variable Oper:[xxxx:Hero Maximum HP]set, Hero Max HP
<>Variable Oper:[xxxx:Dummy max HP]set, Hero max HP
<>Variable Oper:[xxxx:Dummy max HP]/, 10
<>FORK opt:[xxxx:Hero HP], [Hero Maximum HP]Equiv.
<>
:END Case
STEP 2

HOWING THE PICTURES
Within that fork show the full HP bar in the place you want(50, 30 is good). Now after the end case subtract the hero max HP variable by the dummy max hp variable. Then check if the variable Hero HP is GREATER THAN OR EQUAL TO Hero Max HP. In vthe branch case show the 90% health bar in the same place. Here is the code for after the first branch from the first step:
<>Variable Oper:[xxxx:Hero Maximum HP]-,var.[dummy max hp]
<>FORK Opt:Var.[xxxx:Hero HP] is var.[max hp] or more
<>Show picture:1, 90% HP
:ELSE CASE
(Insert the previous code in bold here but repleace the 90% HP picture with the one below and repeat).
NOTE:Repeat the previous process for the rest of the health
And now, for the second tutorial! Hide-and-Seek People! Here it is:
I can't TELL you, so I will put it in coding. But first make a map, say 40x40 and go to the events tab and make 3 events with graphix of some kids. (They are who you will be finding.) Put them side by side. Now name the events, Event 1, Event 2, and Event 3.
In Event 1, double click in the white space and go to Show Message:
<>Messg: If you find us, you will get a prize!!!
<>Set Screen Tone:(R000,G000,B000,S000),1.0sec(W)
<>Change Switch: [0022:Hiders Dissappear]-ON Set
<>Wait: 1.0s.
<>Set Screen Tone:(R100,G100,B100,S100),1.0sec(W)
<>
Now make a page 2 in the 3 events you've made and set graphic to blank (Pink) tile, and autostart. check the box beside switch and put in the switch you made.(Hiders Dissappear. Now make 4 events spread around the area and check the switch box again and put in the same switch, but instead of no graphic, put in their regular graphics this time. Name the three seperate events Hider1,2,and 3.
Make each of them push key and the following coding.
<>Variable Ch:[0023:Hider Found]+ ,1
<>
Now before heading on go ahead and make 3 switches. Hider 1,2,3. NOT IN this event, but go ahead and make them.
Now in Hider1 under the variable set the switch Hider 1 ON.
So in the event Hider 1, the coding should look like:
<>Variable Ch:[0023:Hider Found]+ ,1
<>Change Switch:[0019:Hider 1]-ON Set
<>
Now make a new page in this event and make switch Hider 1 CHECKED and make it a blank EVENT.
Now go to event Hider 2 and make do the same, but make switch Hider 2, it should look like this:::
<>Variable Ch:[0023:Hider Found]+ ,1
<>Change Switch:[0020:Hider 2]-ON Set
<>
Now make a new page in this event and make switch Hider 2 CHECKED and make it a blank EVENT.
Now go into event Hider 3 and the coding should look like:
<>Variable Ch:[0023:Hider Found]+ ,1
<>Change Switch:[0021:Hider 3]-ON Set
<>
Now make a new page in this event and make switch Hider 3 CHECKED and make it a blank EVENT.
Now, remember the first three events we made?(Event1, 2 and 3???) Well, now go in event 1 and make a new page. Check the bbox and put in the HIDER 1 Switch we made. Make the graphic of the same one on the first page. Now...Make the variable so that when it reaches 3(when you've found everyone) the leader (Event 1) gives you a prize. Basically the coding looks like this:::
<>FORK Optn:Varbl[0023:Hider Found]-3
<> Messg: Congrats! You've found everyon and you get the prize (whatever).
<> Add/Remove Item: ????->??Incr.
<> Change Switch:[0024:All found]-ON Set
<>
<>:ELSE Case
<> <>Messg:Oh No! You still have one more person to find!
<>
<>:ELSE Case
<>FORK Optn:Varbl[0023:Hider Found]-1
<>Messg:You still have the other 2 to find!
<>
<>:ELSE Case
<>
<>:END Case
<>
<>:END Case
<>
<>:END Case
<>
WHew! That was a lotta coding, eh? Now go to the EVENT Event 1 and make a new page and put check in the switch box and put in switch ALL FOUND that we made above. In the event box put:
<>
<>Messg: Thanks for playing Hide and seek!
<>
The third tutorial is a Bank one, so enjoy this one:
Let's start by showing you how to make the bank. Place the evnt whereever you want and have it activate on hero touch. Below is the coding for the bank:
<>Message: Hello, what would you like to do todday?
<> Show choice Deposit/Withdraw/Check how much money is there
<> Deposit case
<>Message: Please input how much you would like to deposit
<>Change variable Money set to Money(this money = how much gold they have)
<>Input (store in the variable insert gold)
<>Fork Condition- If insert gold > money
Message: Not enough money!
Else
<>Message: You money has been deposited!
Change gold held - insert gold
Change variable bank gold + insert gold
Withdraw Case
<>Message: How much will you be withdrawing today?
Input (store in the variable insert gold)
Fork Condition- if insert gold > bank gold
<>Message: You do not have enough money in your bank account!
Else
<>Message: gold has been withdrawn
<>Change gold held + insert gold
<>Change variable bank gold - insert gold
How much money is in there case
Message: You have /v[what ever the variable number for bank gold is] gold in your account
And that is how you make the bank. Now to gain interest you need a common event. This common event should be a parrelel process. The coding for the common event is below:
<>Wait 200s
Fork Condition- Bank gold > 2000
<> Change bank gold + 200
Else
Fork Condition- Bank gold > 1000
<> Change bank gold + 100
Else
Fork Condition- Bank gold > 500
<> Change bank gold + 50
Else
Fork Condition- Bank gold > 100
<> Change bank gold + 10
Else
Fork Condition- Bank gold > 50
<> Change bank gold + 5
Else
Fork Condition- Bank gold > 20
<> Change bank gold + 2
Else
Fork Condition- Bank gold > 10
<> Change bank gold + 1
These were all made in GamingWorld, so thank you very much! But I do have 2 more tutorials, one of which is a Bridge Walkover, now:
Step 1: Set up
I am making a simple bridge that you could follow along with if you want. First, I set up a map, all grass. Then, I put two mountains is so there is a space of around 5 chips between them. Next, I put steps going up those two mountains. Next, make sure your chip set has at least two of the same bridge chips. On the top and bottom of each ladder, I put an event. (In my demo, it has a neat climbing system, and easy to do, if you want to use it, go ahead, but I'm not including it in the demo) For 1 of the two bridge chip sets, have it be set to a circle, and so you can walk across it, but not all 4 directions... ==== would have the arrows < and >, as for those are the two directions you can walk. For the other one, have it be set to a star, and all four arrows. There, If you understood that, good. If not, you can always look off of my demo.
Step 2: Coding
OK, the easy part. Let's say chip 1 has a star, and chip two has the circle. For the top events on the ladder, add this coding.
<>Change Chip: Lower Chip 1 to 2 (sets the star chip set to the circle chip set)
<>
For the bottom event, add this coding.
<>Change Chip: Lower Chip 2 to 1 (sets the circle chip set to the star chip set)
<>
If you are on the top, have the bridge on the map start as the circle chip set(like me). If you are on the bottom, set the have the bridge on the map start as the star chip set(unlike me).
Someone unfamiliar, so don't worry about the demo. Anyway. the last one is... the Running System! I will post one more if you will read that one. Anyway, here it is:
Ever wanted to make a running system in which you tapped the cancel key to open the menu and holding the cancel key enables running? Well this simple tutorial will show you how. I?ve found NO errors with this running system (No accidental permanent speed ups/ slow downs, ect.) and the results are superb. Anyway, on with the tutorial.
Open up the database, make a new common event set to parallel process. The coding for the running system should go like this.
1. Enter password (Only the 6 key, do not wait until key hit). Store into var name "Run Key"- This checks to see if you are hitting cancel
2. Fork condition. If var. "Run Key" is equal to 6
3. Wait .2 Seconds
4. Enter password (Only the 6 key, do not wait until key hit). Store into var name "Run Key" (add ELSE case)
5. Fork condition. If var. Run Key is equal to 6 -These double forks/enter password actually determine if you are tapping or holding escape.
6. Call Common Event: Set to Running Speed* -Increases speed. See note. (You can enter a graphic change here)
7. Cycle
8. Wait 0.0 seconds - Lag killer
9. Enter password (Only the 6 key, do not wait until key hit). Store into var name "Run Key"
10. Fork condition. If var. "Run Key" is equal to 0
11.Call Common Event: Set to walking speed* - Decreases speed. See note. (You can resume graphic here as well)
12. Break Cycle
END CASE
< >
END CYCLE
< >
ELSE CASE:(To fork on step number 5)
13. Call Menu - if key was tapped.
END CASE
< >
END CASE
* "Set to running speed" common event?s coding needs to be another common event (Duh) With the following line of code:
< >Move event: Hero; Spd. Down, Spd. Down, Spd. Down, Spd. Up, Spd. Up, Spd. Up
"Set to walking speed" common event?s coding needs to be another common event with the following line of code:
< >Move event: Hero; Spd. Down, Spd. Down, Spd. Down, Spd. Up, Spd. Up
Those common events to call prevents all problems one would usually get with the standard "Move speed up" and "Move speed down" command. The common events physically SET the hero?s speed to Running or Walking, thus removing most common problems.
That's it, The perfect running system. Pretty easy, huh? ^_^
And now for the Picture Menu, before I finish posting. Here we go!
how to make a picture menu
Tried to make a cms or cbs in pictures, but you couldn't find out how, here is the explanation of how to make a picture based menu for your system. The basic is that you use a fork condition to let the system know which picture to show. For example if the variable is at 1 you see a picture with the first option selected, with 2 the second option. In that fork condition you put a password, which checks which button you press, so let's say if you press "down" the picture showing variable will change too 2 and then you will be able to select the second option, same for esc, enter key, and the other directions. So it would look like this (note that if you only use a cursor this code should be made so that the cursor pic changes his position).
<>label 2 no (this works like a cycle but will prevent lag)
<>Fork - cursor select - 1
<><> show picture - cursor - attack (or show picture - cursor - x50 y 100)
<><>enter key (password) (set everything so , the direction, esc, enterkey and the wait until key pressed).
<><>fork - cursor direction - 1 (down)
<><><>set var cursor select 2
<><>fork end
<><>fork - cursor direction - 4 (up) (this is the last option in this case run)
<><><>set var cursor select 4
<><>fork end
<><>fork - cursor direction - 5 (enter key)
<><><> (whatever you like it to do when it attacks
<><>fork end
<><>fork - cursor direction - 6 (esc)
<><><> go to label 1 no (this one is so you dont have to retype this the whole time.
<><>fork end
<>fork end
<> Fork - cursor select - 2
<><>show picture - cursor - skill (or show picture - cursor - x50 y 120
<><>enter key (password) (set everything so , the direction, esc, enterkey and the wait until key pressed).
<><>fork - cursor direction - 1 (down)
<><><> set var cursor select 3
<><>fork end
<><>fork - cursor direction - 4 (up) (this will let you go back to the attack option again)
<><><> set var cursor select 1
<><>fork end
<><>fork - cursor direction - 5 (enter key)
<><><> whatever you like it to do when it use a skill
<><>fork end
<><>fork - cursor direction - 6 (esc)
<><><> go to label 1 no (this one is so you dont have to retype this the whole time.
<><>fork end
<>fork end
<>Fork - cursor select - 3
<><> show picture - cursor - item (or show picture - cursor - x50 y 140
<><>enter key (password) (set everything so , the direction, esc, enterkey and the wait until key pressed).
<><>fork - cursor direction - 1 (down)
<><><> set var cursor select 4
<><>fork end
<><>fork - cursor direction - 4 (up) (this will let you go back to the skill option again)
<><><> set var cursor select 2
<><>fork end
<><>fork - cursor direction - 5 (enter key)
<><><> whatever you like it to do when it use a item
<><>fork end
<><>fork - cursor direction - 6 (esc)
<><><> go to label 1 no (this one is so you dont have to retype this the whole time.
<><>fork end
<>fork end
<>Fork - cursor select - 4
<><> show picture - cursor - skill (or show picture - cursor - x50 y 160
<><>enter key (password) (set everything so , the direction, esc, enterkey and the wait until key pressed).
<><>fork - cursor direction - 1 (down)
<><><> set var cursor select 1 (it goes to attack again.
<><>fork end
<><>fork - cursor direction - 4 (up) (this will let you go back to the item option again)
<><><> set var cursor select 3
<><>fork end
<><>fork - cursor direction - 5 (enter key)
<><><> whatever you like it to do when it use run
<><>fork end
<><>fork - cursor direction - 6 (esc)
<><><> go to label 1 no (this one is so you dont have to retype this the whole time.
<><>fork end
<>fork end
I had trouble with this code for 3 hours, so if something doesn't work carefully check you variables. Also be sure that before you go in the menu you allready have the "cursor select" variable to 1.
These tutorials weren't made by me, but they are plenty useful! Anyway, next up is Phone and other tutorials. Until then, bye!
~Tetris