Hello guys and tank you for your attention. i was wondering...is there a way to make your basic outside map (houses and such) but instead of having to port into a smaller map (the inside of the biding) been able to actually get into the building in the same map making the roof go invisible wile your inside? if i were to refer a game that have this feature it would be "project zomboid"
So what do you guys think? can it be made here in PRG Maker?
also if possible...can there be multiple levels in that building?
Make roof transparent when walk in...
● ARCHIVED · READ-ONLY
-
-
it is possible but tricky.
Basically the regular map has only one level, and you need either events or pictures to place something above the map - no matter if it's a roof or a fog overlay or whatever.
In your case it might be "easiest" (not simple, still a lot of work) to make sprites for the roofs - sprites can be a lot larger than the 32x32 grid, and they are cut only in the editor but full size in thew game. Place one roof event for every house, and when the player steps on the door have that event turned transparent.
Theoretically it's possible to do the same with pictures, but that would require you to experiment with coordinates and autorun events for placing them. On the other hand, roof pictures are easier done and smaller than roof sprites, so you might try the same with show pictures.
Multiple building levels require multiple maps.
There is a system in the editor that allows to simulate the behaviour of a two-level-dungeon (follow the link in my signature to the tips and tricks to learn about that), but that will not work for multi-level-buildings. -
Moving to VX Ace Support. This is a "how do I ..." question, not a general discussion, so belongs in the support forums
-
alternativelly, you can telleport without fade and give the illusion that this is what happened
-
Basically make all your maps without a rooftop. Then, in a program like Photoshop, create an image the exact same size as your map, and add in the rooftops for all of the houses. Leave everything else transparent. Then save this image in the picture folder. Find a script that fixes a picture to your map (I think Yanfly has one), and be sure to apply this to that picture.
Then simply have an event on that map run on parallel process and show the image. Use erase event afterwards.
Then create an event at each doorway (which could be the door itself, if you want), below player and player touch. Have it erase that picture, and turn self switch A on. Create a new event page with its condition set to self switch A. Below player and player touch. Show the same picture again and turn self switch A off. Do this for every house/door you have on the map. -
Nice advices, thank you all :wub