How can I make a character pass under a wall tile?

Little Paw

Veteran
Veteran
Joined
May 5, 2013
Messages
707
Reaction score
294
First Language
English
Primarily Uses
I want to make something like there is in some of the early Final Fantasy games, where you can walk up to certain walls on the left and right sides of the room and you will pass under them and into the black space around the room, where you can then follow an invisible path to a secret room.

How can I achieve this?
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
[SIZE=12pt]You can do this with events. You'll need a character sheet with the wall tile on it, then place an event where the character should be able to walk through the wall and set the graphic to the wall tile you placed on the character sheet. Finally set the event to be 'Above characters'. So long as the tile beneath the event is passable, the character will appear to walk through the wall.[/SIZE]
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
Or you can use a Wall-tile that has Star passability (that wall tile needs to be on one of the B to E slots, you can't use an Autotile for this).


That will automatically place the wall above the player sprite.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
The problem with that option is that sometimes when you pass under you can just see the top of the sprite's head.  It's fine if you are going up or down, it's when you are going from side to side that the difficulty can occur.
 

Little Paw

Veteran
Veteran
Joined
May 5, 2013
Messages
707
Reaction score
294
First Language
English
Primarily Uses
[SIZE=12pt]You can do this with events. You'll need a character sheet with the wall tile on it, then place an event where the character should be able to walk through the wall and set the graphic to the wall tile you placed on the character sheet. Finally set the event to be 'Above characters'. So long as the tile beneath the event is passable, the character will appear to walk through the wall.[/SIZE]
But how can I make this work with a wall autotile? Also it seems to not select the area properly, it's way bigger than a normal tile.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
But how can I make this work with a wall autotile? Also it seems to not select the area properly, it's way bigger than a normal tile.
Autotiles cannot be used for this - that's why many of the walltiles are also duplicated on B to E sheets.
If that tile isn't available there, then you need to edit the tilesets to get it there.
 

Little Paw

Veteran
Veteran
Joined
May 5, 2013
Messages
707
Reaction score
294
First Language
English
Primarily Uses
Autotiles cannot be used for this - that's why many of the walltiles are also duplicated on B to E sheets.

If that tile isn't available there, then you need to edit the tilesets to get it there.
I put it on the D sheet, but there's seemingly no way to just get a piece of the autotile. My walls are 1 ceiling autotile thick, and I can't seem to make it look like a proper piece of the wall.

(Removed image since it's solved and it's supposed to be a really secret spot in my game)

I want the player to pass through the wall on the right side near that pot at the bottom, but even if I put it on B-E, I can't get it to take that shape.
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,365
Reaction score
7,675
First Language
German
Primarily Uses
RMMV
no, not with those kinds of autotiles.


In those cases your only solution is to make a screenshot of the map with the tile, then cut out the 32x32 pixel area of that tile and copy it over an unused tile of one of the B to E sheets and use that modified tilesheet in the tileset for the room.


Only with that edited form from the screenshot you can place that tile correctly, because those tiles are cut and reassembled by the engine, you won't find an identical tile in the tileset.
 

Little Paw

Veteran
Veteran
Joined
May 5, 2013
Messages
707
Reaction score
294
First Language
English
Primarily Uses
no, not with those kinds of autotiles.

In those cases your only solution is to make a screenshot of the map with the tile, then cut out the 32x32 pixel area of that tile and copy it over an unused tile of one of the B to E sheets and use that modified tilesheet in the tileset for the room.

Only with that edited form from the screenshot you can place that tile correctly, because those tiles are cut and reassembled by the engine, you won't find an identical tile in the tileset.
Well then... is there a script that can achieve this?
 

Hollow

(◡‿◡✿)
Veteran
Joined
Jul 14, 2012
Messages
519
Reaction score
439
First Language
English
Primarily Uses
RMMV
Personally, I like to use Neon Black's Terrain Tags. It lets you do cover and block tiles, as well as make the player move diagonally (like on a slope), and you can even make bridges that the player can go over and under without using events; it's a pretty handy script.
 
Last edited by a moderator:

Little Paw

Veteran
Veteran
Joined
May 5, 2013
Messages
707
Reaction score
294
First Language
English
Primarily Uses
Personally, I like to use Neon Black's Terrain Tags. It lets you do cover and block tiles, as well as make the player move diagonally (like on a slope), and you can even make bridges that the player can go over and under without using events; it's a pretty handy script.
This seemed like a good script but... my head sticks out... See the pink on the lower right?

(Removed image since it's solved and it's supposed to be a really secret spot in my game)
 
Last edited by a moderator:

Hollow

(◡‿◡✿)
Veteran
Joined
Jul 14, 2012
Messages
519
Reaction score
439
First Language
English
Primarily Uses
RMMV
Put a cover tile there, and then also place a blank event there with it's priority set to "Same as Characters." That should fix it.  :)
 

Little Paw

Veteran
Veteran
Joined
May 5, 2013
Messages
707
Reaction score
294
First Language
English
Primarily Uses
Put a cover tile there, and then also place a blank event there with it's priority set to "Same as Characters." That should fix it.  :)
That totally did fix it :)

Thanks everyone. Thread resolved :)
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD

Forum statistics

Threads
105,868
Messages
1,017,070
Members
137,577
Latest member
SadaSoda
Top