caiopalhares

Villager
Member
Joined
Feb 18, 2018
Messages
8
Reaction score
7
First Language
English
Primarily Uses
RMMV
Hi everyone,

Newbie here, so apologies if this is basic.

I'm trying to create a puzzle in which the character has to push logs, and consequently the logs to roll. The log event image is bigger than a single tile, so I created the sprite and added it using the $ symbol before the name.

Everything is cool, par from the fact that the upper tile is not solid per say. The character can pass through it.
See pics attached for clarification.
Question1.png Question2.png
Is there a way to make it solid entirely without having to create a parallel event? Because I need the log to roll if the character pushes any of the two tiles.

Thanks in advance,

Caio
 
Last edited:

caiopalhares

Villager
Member
Joined
Feb 18, 2018
Messages
8
Reaction score
7
First Language
English
Primarily Uses
RMMV
I tried fixing by using two tiles event. I manage to get both events sprites syncing:
2018-03-08 19_01_53-Tales Of Keruneru - RPG Maker MV.png

However, no matter how I set the movement route, if the player pushes one of the tiles, it will differentiate from the other when obstacles are hit:
2018-03-08 19_01_03-Tales Of Keruneru.png

Can anyone give me a hand with this?
 

CosBlade

Veteran
Veteran
Joined
Dec 12, 2015
Messages
44
Reaction score
27
First Language
English
Primarily Uses
RMMV
The quickest way I can think of doing this is using a variable to check its position. Let's say the starting place of the log is variable "LogPos" at value 0. Let's assume that the leftmost point it can move is 0, the rightmost point it can move is 7.

When the player pushes against the log, you do this:

Conditional Branch -> (direction player is facing, as I assume there is a furthest point to both the left and right)
Within that, another Conditional Branch that checks the LogPos variable to see if the log is at it's furthest point

From there, just event it as needed.

So if the player is facing right, as in your picture, and the LogPos variable is at 7 (it's up against the stack of lumber) you do not move the log events. Instead maybe play a SE for "bumping" it, and that's it. However, if the player is facing left, the log moves, and the LogPos variable value is reduced by 1.

I hope that makes sense. It might be easier if you see it all in editor...
 

Latest Threads

Latest Posts

Latest Profile Posts

Big Google Warning Today for chrome users - apparently some kind of security threat has happened and everyone is being advised to update their Chrome browser ASAP by going to settings and/or "About Google Chrome", to update their browser version to a new one just released.
Firefox pointed me to a little inspiration: https://www.atlasobscura.com/articles/writers-maps

So, I shared. :D
To be released 2021/10/21
Now that I made this "What the MZ RTP is missing" spreadsheet it's itching me to fill some the gaps D:
Aaaaand I completely forgot about the RMMV Chicken Rave my brother decided to implement in a parody of my VERY FIRST UNFINISHED project. We could not escape the chicken rave... The chickens would block the ladder...

Forum statistics

Threads
115,949
Messages
1,094,294
Members
151,207
Latest member
majinludde
Top