MZ Pushing a rock into a wall causes the playtest game to freeze-what should I do?

Hi all. Noob hobbyist here looking to try RPG Maker MZ and make a game for fun. This is probably nothing compared to the projects and troubleshooting that everyone's posted here, but I'm a bit stuck on something quite basic.

I'm following the in-built tutorials just to get a feel of the engine, and I reached step 10, the one about pushing boulders (Event application 2). I've followed the steps fine, but I've ran into a problem; pushing the rock into a wall or any surface with collision causes the playtest to freeze and stop running. I can't move or exit to menu and the only way to "fix" this is to close the playtest.

I've played around with the "skip if cannot move", and "wait for completion" boxes on the commands for both the rock and the player but no matter what combination of ticks or no-ticks I do, this always seems to persist.

What am I doing wrong? Is this a bug? Any way to fix this at all?

Any help would be greatly appreciated!
Probably because you've made a moveroute and didn't enable skip if can not move so the rock continuously tries to step into a tile that's not passable(Though you said you enabled that). But without any screenshots of what you actually did, it's hard to say.

Refer to this post when asking for help:
Especially the last point. Screenshots. We need to be able to see what you've concocted to be able to tell you what you did wrong.
Probably because you've made a moveroute and didn't enable skip if can not move so the rock continuously tries to step into a tile that's not passable(Though you said you enabled that). But without any screenshots of what you actually did, it's hard to say.

Refer to this post when asking for help:
Especially the last point. Screenshots. We need to be able to see what you've concocted to be able to tell you what you did wrong.
Here's some screenshots. I'm not sure if this is the best format they could be in, but this is what I have:

rock1.png

This is the event page of the rock itself ^

rock2.png

This is what I have when I open the first line on Contents (Set Movement Route: This Event) ^

rock3.png

And this is what I have when I open the "Set Movement Route: Player" line ^

Please let me know if any other screenshots are required (I'm new to this engine and coding/programming as a whole so I have no idea what I should be including in these-apologies)
Yeah so both moveroutes have no "Skip if can not move" and "Wait for completion", so the game tries to let the boulder move into a wall, which is obviously not passable and you're telling it to wait until the boulder is inside the wall, which will never happen, making it so you will never be able to move, open the menu, or do anything else.

Also not sure why the boulder has a direction fix ON when the first thing you do is turning direction fix OFF when touching it.
Also not sure why the boulder has a direction fix ON when the first thing you do is turning direction fix OFF when touching it.
Maybe because he is : "Noob hobbyist" :LZSrasp:

Here's some screenshots. I'm not sure if this is the best format they could be in, but this is what I have:

View attachment 363540
This is the event page of the rock itself ^

View attachment 363541
This is what I have when I open the first line on Contents (Set Movement Route: This Event) ^

View attachment 363542
And this is what I have when I open the "Set Movement Route: Player" line ^

Please let me know if any other screenshots are required (I'm new to this engine and coding/programming as a whole so I have no idea what I should be including in these-apologies)
As @SGHarlekin said, you need to check the “skip if cannot move” box; otherwise, the game will keep trying to force the action over and over.
And you need to uncheck the “fixed direction” box for the rock because, anyway, when you touch it with your character, it switches to “fixed direction off,” so you might as well just never enable it...

As for the “player's forward step,” I find it strange as a player to see my character follow the rock even though I'm no longer pressing the directional key.

In my opinion, you shouldn’t have the player follow it

(in Pokémon, the trainer doesn’t move once they’ve moved the rock; they have to take another step to move it again)

Test both versions and use the one you like best, of course 🙂
As for the “player's forward step,” I find it strange as a player to see my character follow the rock even though I'm no longer pressing the directional key.

In my opinion, you shouldn’t have the player follow it
Just chiming in with an opposite opinion. Unless your game is built entirely around the mechanic of pushing things, I prefer the player to follow the thing pushed, like you've done. 99.999% of the time you're going to follow it anyway to push it further, and the player already pressed the directional key to initiate the push.

If your game is built entirely around the mechanic of pushing things, I'd say you should base it on how long the directional key was pressed – short tap to push without moving, otherwise push and move. This might boil down to not having a forward step (because if your key is still held the player will move anyway), but I'm not sure.
Maybe because he is : "Noob hobbyist" :LZSrasp:
That's why I pointed it out. :LZSrasp:
Update: I think I figured out what was the problem.

Turns out, part of the problem was that I was editing the contents wrong. On the contents page, I was double clicking on the already existing command, believing that would open the highlighted one, when in reality it should've been right click + edit. Seems like I was adding a whole new command and just confusing the engine. I didn't know that you should be using right click + edit this whole time. :I

So the way I understand it, there should be a tick on "Skip if cannot move", and no tick on "Wait for completion" for This Event, and putting a tick on both for "Player", as per @SGHarlekin said. I think that was the sequence, but at the very least this got rid of the freezing. :LZSgrin:

@Solar_Flare I honestly don't think my game will involve too much pushing obstacles as a gameplay feature, but I'll keep that in mind should I ever include a pushing puzzle or a game based around it, thanks.

@alasth Turns out not putting a tick on "Direction fix" does indeed not conflict with the commands, it was what the tutorial told me to do so I just went along with it. I guess this saves a step though in the grand scheme of things.

Again-apologies for the really novice question-coding and syntax and programming was never my strong suit! Thanks for everyone's help! :LZSproud:
I was adding a whole new command
There was nothing of the sort in the screenshots tho.
right click + edit
You can also hit the space bar once you selected an event command to open the edit. I find that to be a little quicker and less cumbersome than right click>edit.
There was nothing of the sort in the screenshots tho.

You can also hit the space bar once you selected an event command to open the edit. I find that to be a little quicker and less cumbersome than right click>edit.
At the time, in the screenshot, I hadn't yet done that, but I do recall from memory that I had been doing that the whole time while attempting to "fix" it.

Also-thanks for the spacebar shortcut, this is actually really helpful 😀
At the time, in the screenshot, I hadn't yet done that, but I do recall from memory that I had been doing that the whole time while attempting to "fix" it.

Also-thanks for the spacebar shortcut, this is actually really helpful 😀
You're very welcome. Good luck with your project and feel free to make new threads for the inevitable new problems you will encounter.
(Also feel free to report your first post as "Solved" so mods can close it.)
1774626834810.png
As for the “player's forward step,” I find it strange as a player to see my character follow the rock even though I'm no longer pressing the directional key.

In my opinion, you shouldn’t have the player follow it

(in Pokémon, the trainer doesn’t move once they’ve moved the rock; they have to take another step to move it again)

Test both versions and use the one you like best, of course 🙂
If you can push a human sized rock five feet without you yourself moving, I am impressed.
If you can push a human sized rock five feet without you yourself moving, I am impressed.
If it's only as big as a human, then I don't even need to push it... I just have to step on it :LZScool:

Original thread: https://forums.rpgmakerweb.com/threads/pushing-a-rock-into-a-wall-causes-the-playtest-game-to-freeze-what-should-i-do.183031/