Submit Your Article Guild Wars 2 Forum RPG Maker VX.com
 
RPG Maker
 

 Username:
 Password:
   Not a member? Register!



Home > Tutorials > RPG Maker VX > Another Easy Lighting Effect Thing

Another Easy Lighting Effect Thing


This is very similar to my Lantern Effect Tutorial, but I will show ways to activate and use a flashlight.
You could probably go farther and add batteries that deplete and such, but I'm going to keep this simple.

I'll be making a more complex version later

End Result

For those looking for a lantern effect:
Click This

Step 1: Obtaining/Creating Images

For this you will need 4 images for shadows, 1 for each of the cardinal directions, if you use and 8 directional movement script, you will need 4 more, which I could supply if I felt like it. Here are mine(I don't know if these links will work or not):

Facing Up

Facing Right

Facing Left

Facing Down

Notice the white face the different directions? The white is actually transparent, it just doesn't show right on there. It might not save right either.

Whether you use your own images, or mine, the end result will be about the same.

Step 2: Import to RMVX/XP/2003

I'm pretty sure you can do this on 2003, possibly 2000.
I'm also sure everyone can import a picture to RMVX, if not, I explained it somewhat in Lantern Effect.

Step 3: Activation

The easiest way to do this is to create an event on parallel process in a cave, or use a common event.

The event will look something like this:

@>Conditional Branch: Player is facing Down
@>Show Picture: 1, 'SightDown', Upper Left (0,0), (100%,100%, 255, Normal
@>
: Branch End
@>Conditional Branch: Player is facing Left
@>Show Picture: 1, 'SightLeft', Upper Left (0,0), (100%,100%, 255, Normal
@>
: Branch End
@>Conditional Branch: Player is facing Right
@>Show Picture: 1, 'SightRight', Upper Left (0,0), (100%,100%, 255, Normal
@>
: Branch End
@>Conditional Branch: Player is facing Up
@>Show Picture: 1, 'SightUp', Upper Left (0,0), (100%,100%, 255, Normal
@>
: Branch End

With Eight Directional movement, instead of Player facing on the Conditional Branch, Use Button Press.
So it would look like this:

@>Conditional Branch: The Down Button is Being Pressed
@>Conditional Branch: The Left Button is Being Pressed
@>Show Picture: 1, 'SightDownLeft', Upper Left (0,0), (100%,100%, 255, Normal
: Branch End
@>
: Branch End

Except you would do all the combinations:
Down, Left
Down, Right
Up, Left
Up, Right

Step 3: Turning On and Off

If you placed the event in a cave, use erase picture.
If you used a common event, create another common event.

This new common event will:
1. Erase Picture
2. Shut Off the First Common Event
3. Shut Itself Off

I think you can figure that out.

I know this tutorial is bad, trust me, I can't even remember half of what I've typed here.
I also know that this is all common sense to an experienced RPG Maker Person Thing...
But I also know, alot of people are buying the VX and have no clue what to do.
I made this tutorial for those people.
Buh-Bye Now! 
Details
Tutorial: Another Easy Lighting Effect Thing
Date Listed: 2009-08-23
Author: Jacklo
Total Hits: 8883


Embed
Short URL:

HTML:

BB Code:



RPG RPG Revolution
RPG RPG Revolution is your #1 stop for game development and console RPG games, as well as those created by people like you. Link to us to support us, so we may grow to be better website community for you.

RPG RPG Revolution is an Privacy Policy and Legal