Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Creating a map where you can go inside a tent

I've been working on a way to go inside a tent (other than the obvious way...) What I've done so far is create two maps, nearly identical, and on the front of the tent I've got an event to transfer to the same location on the second map. Then, all the tent graphics on the second map become transparent, except for the back wall of the tent that I've created. I think it looks pretty good. I've also included the new tiles, they're recolors and edits of the tent tiles on a fused ultimate exterior tileset from Kraft(from his map off demo) and a tent interior . Here's a few shots to illustrate:
this has the new tent entrance I made, feel free to use it if you like it... it's edited from the "fused ultimate exterior that I got from Kraft's map-off demo.http://i67.photobucket.com/albums/h318/ ... tTiles.png[/img]

Has anyone else come up with a way to do this kind of thing? If I knew how, I could attach a demo, in case this doesn't make sense...

Keep in mind I'm a total newbie, so be gentle if I've got some obvious errors, but I've been searching the posts and haven't found anything like this.

One problem I found was in the entrance event, I set it to touch, and I could touch it, then back out of the tent and leave it transparent, I fixed this by forcing the player forward when he enters the tent.

Another problem I've found with this setup is that I can't have an event graphic inside the tent. Can anyone think of a way to do that? Is there a way to have the tent transparent like that without making it an event? I'd like the main character to be able to walk into the tent, see a note, and read it.
 
What you want to do is create a blank event, then click on "New Event Page". On the 2nd page, set the requirements to have a switch on (ex.1), and put in text for the note and everything. Then make two events, one at the entrance, and one right below the entrance. Set both of them to Player Touch. The top one should make the tent transparent and turn the switch on (ex.1). The bottom one should make the tent translucent, and turn the switch off.

Hope that helps, if you don't get it send me a demo and I can do it for you.

EDIT: Oh and by the way, this should be in the RMXP/RMVX General Support section I believe. Reported for a move. ;)
 
Souloux: it had already been moved.

Jam, I don't think you need a complex multi-page event.
It's just a matter of how you set the passage (the 2nd map is for Inside the tent(s) only,
so you don't need to worry about the character walking outside the tent.), and where you
place the transfer events.
Take a look at this demo:  http://www.box.net/shared/t87szg4g0c

Be Well

[ EDIT ] I fixed it up a bit, so it won't transfer if you walk across the doorway. I also added another map, "Tent_event" to show how you can do this with events on a single map, and a "Tent" character set.  If you already downloaded it, download it again.

Be Well
 
reg: I've tried several times to figure out your description... I'll look at some tuts, see if I can figure it out without having you do it for me first.

brew: I was able to download the first demo fine (wasn't quite what I'm looking for)... but can't open the second. It says "not a valid Win32 application", any ideas? ??? My computer just had a major overhaul, so it's possible I'm missing a simple program. I've got winrar on already, and tried manually opening it through that, but won't work.
 
I uploaded the 2nd one without deleting the 1st, so that may have caused a problem.

Here's a new link:  http://www.box.net/shared/t87szg4g0c

Assuming you get it downloaded & unzipped (It's a WinZip file, not a .rar),

Map 002 & 003 are the first example, using a different map to show the inside of the tent.  Map 002 has the transfer & transition. Map 003 shows the different position of the exit event so the player can walk around inside the tent without accidentally exiting. (The Conditional branch is redundant, you can eliminate it and make the event transition just like the first one.)
If you look at the tileset in the Database, you'll see how I set the Passage(4 dir) to keep the player inside the tent.

Map 004 Shows how you can accomplish the same thing on a single map using an event for the tent. To test it, set your "Starting Position" outside the tent.
In this case, the Condition Branches are necessary to keep the tent from changing if the player walks across the event (right or left), rather than in or out of the tent.
Look at the character set "Graphics\Characters\Tent.png" for reference. I only have 2 images (Forward facing, and Left facing). I use "Turn Left" or "Turn Down" to change the image that is displayed. I also set "Always on Top" when switching to the transparent image so the player appears inside the tent, and turn it off so the normal priority takes effect when he's outside.

Play around with both, and use which ever one you like.

Be Well
 
brew: thanks... the same map solution is exactly what I was looking for.

now I get to play with condition branches and figure those out  ;D

thanks to reg, too. i think this was basically what you were getting at.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top