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

"sorry it took me so long to respond" - can we please agree not to say that anymore unless it actually took a long time?! (Like 36hrs at least) I mean, I'm running out of funny responses here xD
Ugh... 4:53AM over here and I can't sleep so why not just game make.
I just love the MV feature that allows you to create your own animations!
I typically ask this on my normal social media channels, but figured there may be good replies here. Anyone got any good horror movie recommendations? I've seen a lot, but I always love getting suggestions! Bonus points if you know which service it is streaming on (in the US) - bring on the spOoooOky!

Forum statistics

Threads
115,912
Messages
1,093,940
Members
151,164
Latest member
danielgotnotime
Top