How to push an object in RPG Maker in less than 60 seconds
Disclaimer: As of April 6th, 2022, all my tutorials are done in RPG Maker MV, but this is a mostly agnostic solution, applicable in all the makers. If you need help in a particular software package, let me know!
Yesterday I wrote this article that covered the same topic we’re addressing today. As a software developer, it’s easy to over-think and over-engineer a solution without stopping to think, “is there a better way?” After being appropriately roasted by other individuals, I took some time to ponder what went wrong. Well, it turns out that the answer to my question is a huge, “yes.”
Without further ado, here’s yesterday’s tutorial rectified.
All too often we find ourselves stuck behind a perfectly spherical rock that our skinny human arms refuse to allow us to push out of the way. Why do we have to allow our puny game characters that same burden?
In this (now even shorter) short RPG Maker tutorial, we’re going to remedy that solution in one simple event. Here’s the outcome you will be able to create:
Step 1: Create the Rock Event
It’s not just a boulder…it’s a rock!
To get started, we need to create the rock event.
Give it a name, assign it an obvious movable rock graphic.
We need to verify that the priority is set to “Same as Character” and that the trigger is set to player touch.
Now let’s move on to create the logic which moves the rock.
Step 2: Moving the Rock
Moving the rock is even easier than ever before! Create a Set Movement Route command, making sure the scope is set to This Event. Remember to tick the Skip If Cannot Move checkbox. This is important as we don’t want to freeze the game if the rock gets pushed while up against another object.
Then add in a simple Move away from Player command.
This would also be the time to add in a sound effect to play when the rock is pushed.
Step 3: Playtest
Give the rock a quick playtest and make sure it performs exactly as intended.
Addendum
I appreciate this humbling lesson of being told there is a better more concise way. It helps me to better understand the intricacies, learn and disseminate that better to my readers. So to everyone who read the last one and wrote me feedback, please keep it coming!
I hope you found this helpful! I write articles and publish articles here on Medium. If you liked this one please give it a clap or subscribe — Medium tracks these metrics very closely and any little bit helps. Additionally, I publish further articles and long-form video tutorials on my Patreon @ThePixelCrow. Finally, I create short-form video tutorials (about 1–2minutes) on Reels, YouTube and TikTok @ThePixelCrow.