Home > Tutorials > RPG Maker 2003 > Mirrors
Mirrors
Have two sets of Below Hero touch events, plus one event called Mirror Image. Then draw a 3x2 or 3x3 in either chipsets or make 3 door sized mirrors (the other two are the left and right edges, and if you wanna try this on charsets 3x3 makes a three way expandable mirror. Now, make it so the mirror image faces you when you face the mirror. You'll also want to control the position by constantly changing event location, to reflect where you think the object should be. I dunno if any of you guys understand mirror physics, but an object in the mirror is always facing the way you're facing, but at your general position. So rather than walking towards you or away from you in reverse, it equals you. So?
If you're facing down, it faces up, if you're facing up, it faces you. If you walk towards or away vertically, it does the same in the opposite direction. BUT, if you face left or
right, it faces the same (although mirrored) direction as you, and walks left as you walk left. Doing this by following or move events will likely give you a headache (and may involve alot of variables), so instead do this code:
-If Facing Left:
-Mirror(Face Left) (it would be ideal if you had a mirrored image made of the character's weapons, etc)
-Proceed with Move
-If Facing Right:
-Mirror(Face Right)
-Proceed with Move
-If Facing Up:
-Mirror(Face Down)
-Proceed with Move
-If Facing Down:
-Mirror(Face Up)
-Proceed with Move
-Change Event Location (Your location, up a few vertically)
-Mirror(Change Graphic to you)
Okay, testing it out. A few tips, be sure to include the facing before the teleport and change graphic, and put in a proceed with movement. Despite constantly teleporting like this, there seems to be almost no lag, but without the proceed with movement, it teleports the original direction (usually straight) each time. Also, you'll want to have an event the lets you "push against" the mirror (a Same level touch) turning down if you suddenly push up. Don't bother with change locations here. The beauty of using Change Event is that you have no need to worry about the fact that this mirror is a Same Level, which would normally involve phasing.
You know how at the beginning I said there are two sets of touch tiles? The other one is to change the graphic to blank image, when you go away from the mirror's vision.
|
|
Details
|
|
Tutorial:
|
Mirrors |
|
Date Listed:
|
Mon, 26 Apr 2010 14:38:43 -0400 |
|
Author:
|
bulmabriefs144
|
|
Total Hits:
|
2058 |
|
|