Or anything about knowing the plugin is being used right or not? I'm literally lost and been trying to figure this out the past 30 mins.
I'm plugging in some scripts I've found from Yanfly, followed the tutorial video by locating my game file and js, and lastly made sure the plugin is saved into the plugin folder; however, the plugin is not working and I made sure status is ON.
I know I have to copy/paste the code from the provided links, then paste it on Visual Studio javascript thing under Universal. Save it and run it to be sure there's no errors, but the plugin is still not working. And I cannot find a Javascript download anyway on google. It only directs me to download Java for free, which I already have.
Unless Javascript is not compatible with Windows 10, I'm pretty much in a bind here. Help?
There's no such thing as "download javascript". The javascript processor is inside the game and inside your browsers.
Does your game show any error message? Try pressing F8 to open the console window, it should have some kind of information there.
It shows the errors on Yanfly. It states that WinJS is undefined.
Issue is with Visual Studio and Javascript, is that I have no clue where to put the scripts. Everything is cluttered and setup for me to use .-.
I'm a C# person. Usually templates are blank, not filled in.
Since you said that you set them to "ON" on the plugin manager, you put them on the right place.
On Visual Studio, if you go to File -> New and pick Javascript File from under "Scripts", it should create a valid JS file, you can paste the content there and save the file with the correct name from there.
But the better option would be to download the plugin as a valid JS file already.
Wait, are you trying to code your own plug-in, or just use a plug-in? If it's the latter, you're doing WAY too much. All you need to do is download the plug-in, put it in your project folder, and select it in the plug-in manager. You don't need to copy/paste, open in some other program, etc.
Copy/pasting the code might be messing it up, because the filename has to be exactly what the coder set it as. If you change it, it probably won't run.
You cannot use visual studio to test plugins, because plugins are not complete programs, they require the rest of the game engine to function.
However, you need to place them in files named exactly as they were originally named - they will not work if you rename the js file before placing them in the plugin directory.
Don't create a new project, create just a single javascript file! Those templates have nothing to do with Rpg Maker.
And if you are using chrome and you click on a link from Yanfly's thread, you can just hit ctrl+s when you see the code and you'll be able to save it to a file.
On firefox I think it won't save as a valid JS.
Ahh, I see, you're trying to create an Android port directly. Don't do that, ue the guide given to you in the MV Manual. Trying to put all the code directly into Visual Studio is bound to give you issues, as you're experiencing, because you aren't putting all of the game's code into VS. If you really want to do it this way, include the default files (rpg_whatever) into the project in the following order:
rpg_corerpg_managersrpg_objectsrpg_scenesrpg_spritesrpg_windowsAfter you include those, you can start to include the plugins themselves into the cordova project, but this is really not an efficient way to do things. You'd have to manually edit the plugins.js file so that the settings are all correct. It'll be much easier for you to just make your game in the editor, and then use the guide give to you for porting to Android/iOS.
Alright, I was able to find the plugins to download instead. It's on a different yanfly website, so I might as well do that rather than having to rewrite everything.
I just wish the creator would've posted a link on their thread, unless I skip passed it. Otherwise, people that aren't familiar with Java is going to be pulling their hair out.
As for the blank template, it doesn't provide me one. Unless I am not looking in the right place.
Even on the forums (for Yanfly's plugins at least), all you need to do is right click the link to the plugin and click on "Save Link As", and make sure its saved to the right folder. It'll automatically save it as a JS file, and will appear in your plugin menu in program. Its really about as simple a process as it can be, unless I'm thinking you're trying to do something completely different than what you actually are, in which case I apologize.
So when it comes to creating my own scripts, just use Notepad++? And not visual studio for future reference?
You can use either, but I think notepad++ is better for JS. And other tools like Sublime and Atom are even better than notepad++.
Alright. Thank you guys for the help!
Yeah, there are probably better things to use, I just suggested something that's a default to most Win PCs 😛
(I'm not a scripter myself so I dont really know the tools of the trade)