I know this sounds dumb, but I changed the default movement code using the converted version of SirBilly's turning code, converted by mjshi (https://raw.githubusercontent.com/mjshi/RPGMakerRepo/master/TurnInPlace.js) but when I load my project nothing has changed. The tutorials I'm watching don't show any steps I missed, am I leaving something out?
How to implement code
Javascript/Plugin SupportI have moved this thread from RPG Maker MZ Support to JavaScript/Plugin Support.
when you open up that page, right click that anywhere and hit save as.
then you take that .js file you just saved and put it into the js/plugins folder of your project.
then you open up rpgmaker and go over to your plugins manager and add it to your project.
you shouldnt have had to make any changes to your game's code itself.
then you take that .js file you just saved and put it into the js/plugins folder of your project.
then you open up rpgmaker and go over to your plugins manager and add it to your project.
you shouldnt have had to make any changes to your game's code itself.
This description doesn't tell us what you did.
Did you install the plugin, as @Robro33 described (and as you can find in MV's instructions and various tutorial videos)?
Did you do something to your existing *.js code files?
If you installed the plugin, you need to make sure you've configured any plugin parameters, then you need to save your project and start a new playtest. If you load a save game, changes to plugins will not be reflected.
oh sorry, no I didn't use the plug in approach, I simply changed the existing default file. Does that have any negative consequences for MV?
I'll try out the plug in approach soon
Yes, you should never modify the engine's code (and you shouldn't have seen instructions for you to do so).
Plugins exist so all of your changes are clearly segregated in one place, and the code is (presumably) correctly formatted.
You can go to your MV installation directory, look in the NewData folder, and replace the contents of your project's js folder with copies of the originals to reset them.
Plugins exist so all of your changes are clearly segregated in one place, and the code is (presumably) correctly formatted.
You can go to your MV installation directory, look in the NewData folder, and replace the contents of your project's js folder with copies of the originals to reset them.
It can break parts of the game and create incompatibilities with other files.
Original thread: https://forums.rpgmakerweb.com/threads/how-to-implement-code.164095/