Zelaron Gaming Forum

Zelaron Gaming Forum (http://zelaron.com/forum/index.php)
-   RPGMaker (http://zelaron.com/forum/forumdisplay.php?f=188)
-   -   Behind the Head (http://zelaron.com/forum/showthread.php?t=38912)

Noble Swordsman 2006-03-13 03:42 PM

Behind the Head
 
I used to have a problem with making certain chairs, curtains, and the like. I wanted them to appear above my charcter when he was on the same tile, but not cut off the top of his head when he was on the tile beneath. So I came up with a simple solution. I made the tile (a chair with it's back toward the screen for example) an event below hero and touch activated. When activated it turns a swith on ( I'll refer to it as X). Then I made a second event page that has the same graphic, but is above hero and is only active when switch X is on. Finally I made a second event just below the chair that has no graphic, is below hero, and touch activated. All this event does is turn off switch X. This method is fairly simple and efficient, but if anybody knows a better way please tell me ( BlueCube I'm looking in your direction). Also let me know what you think of this simple method.

Lenny 2006-03-13 03:44 PM

I can remember doing that. :)

I think there's a way of setting the object in the Database to make it appear behind the character. Something like making it a O or an X or something.

Blue can help.

Noble Swordsman 2006-03-13 03:50 PM

Yeah, making it a star makes it go above you when your on the same tile. But if your directly under that square part of your head gets cut off, which is why I came up with this method. I hope there is a better way...

BlueCube 2006-03-13 04:17 PM

That's also the way you make bridges that you can go under - pretty much the only real way of going about it.

Edit: Though you would have it somewhat like this, on a bridge:

Code:

XXXXX
 BBBBB
O=====O
 BBBBB
 XXXXX

The Os would turn our switch on, X's turn it off. When the switch is on, the Bs would be set to the "same layer as hero", and the ='s would be set to be below the hero. When off, the switch would cause the B's to be below the hero and the ='s to be above the hero. If you use a chokepoint you can reduce the number of X's on either side and save a bit of resources. Or you can just surround the O's with X's and do it that way, but it's difficult to show with symbols how the "bridge" works in that case.

Noble Swordsman 2006-03-13 06:01 PM

Thanks Lenny and BlueCube.


All times are GMT -6. The time now is 04:03 AM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.