Gw Temp

Menu

Tutorial - 'Flashlight' by ATARI

An item about RPGMaker 2000 posted on

Blurb

ATARI teaches us how to use a simple flash light.

Body

Hi folks! It's ATARI again! This time I'm going to teach you how to use a flashlight.

What you need to know to use this tutorial
1. Pictures
2. Fork Options
and prefferably Idraw.

So what do I mean by a flashlight? Well, if you've ever played some RPGS, they have caves where it's totally pitch black. Well we can do that in RM2K, and make a flashlight so you can see a few tiles ahead of you.

The first thing you need to do, is make a new 320x240 picture. Make it entirely pitch black. Now in the very center of the picture, (it's easiest to get that in Idraw because you can change grid sizes and find the exact middle.) In the exact middle point, make a green dot, using the transparent green color (another reason to use Idraw), which is the same color as the RTP character sets backrounds. Then above that, make 3 small things, then 5 above that, and 7 above that, and etc. until you think it is long enough.

It should look something like this.
---------
xxxxxxx
xxxxx
xxx
x
----------

Now save it as "flash-up." Now go into RM2K, use the RAW Importer, and import it. If the green flashes, upload it. If not, try another green until you get it to flash. Now on the map you plan to use the flash light on, extend both sides by 20. (EX: if it is 50 x 50, it would then be 70 x 70.) Make at least ten tiles worth of unpassable tileset on all four sides of the map. Now make a new parrell process event. Make it display the picture at 160,120. and then wait 0.1. Try it out. You can see, it only works when you go up. You can also change the postion of the picture to change how much of the hero you can see too. Now let's make it work when you go left, right, and down.

Go back into that parrell process event. Cut the stuff in it, and make a new fork option that says ,"IF hero is facing UP, then" the paste the stuff you cut under that fork, remove the wait. Erase pictures 2, 3, and 4. Then add the wait 0.1. In the else, make a fork that says, "If hero is facing DOWN, then," this is all we can do right here for now. Now go back into your flashlight picture. Take the point where the one dot is. Erase everything except that one dot. Then start making it all over again, facing downwards. When it's the same length, save it as "flashlight-down." Now go back to the event, make it display that picture at the same corridinates, using the number 2, instead of one. Then erase pictures 1, 3, and 4. Then wait 0.1. Now go back into that picture, do it again making it face left. Name it "flashligth-left," and then again for the right. Name it "flashligth-right." Now go back into that event. Make a new fork in the else case. Make it, "If hero is facing left, then," display the left picture using pic number 3 at 160,120. Erase 1,2, and 4, and wait 0.1 Make another fork, "IF hero is facing right, then," make it the right (pun intended) picture at 160,120, pic number 4, erase 1,2,3, and wait 0.1 In the last else, have nothing in there. Try it out. Congradulations you have completed it. You may notice you can see everything for a small moment when you enter the map. You avoid this in the actual game though, throught the event that teleports you to that map. Make that event erase the screen, wait 0.1, teleport you to the cave map, wait 0.4, and show screen.

Congradulations!

Good Luck,
Remember,
"Even the greatest gamers were n00bs."