[VSCode] RPG Maker Javascript Snippet for plugin developement

Jomarcenter

jomarcenter-MJM
Veteran
Joined
Apr 24, 2012
Messages
1,269
Reaction score
205
First Language
ENGLISH
Primarily Uses
RMMV
NEW Version 2.0.0 with minor tweaks for MZ plugin developers!

The semi-Complete snippet for the RPG Maker MV and MZ plugin development snippets for Visual Studio code

Make your necessary parameters easier as well making setting up your plugin in a snap




Features And planned:
Complete Pixi.js snippets (planned)
Complete function set (working on it)
and more

Also Coming soon a Visualized VS Code extension that allowed you to do this but with visuals.

List of Snippets



Code:
# rmmvpluginsnippet List of Prefixes
All snippet always start with "!rmmv" and @type
## Content
This list all the content so you can easily start making the plugin
### Initial set
!rmmvStart - This create the body of the plugin
!rmmvStructContent - This create the initial Struct (please put this at the bottom)
## parameters
this is the list of parameters you can use in MV Plugin
### Numeric
@type float - adds a float parameters
@type limitFloat - adds a limited float parameters
@type int - adds a int parameters
@type limitint - adds a limited int parameters
### Condition
@type bool - This creates a bool parameters
### Text
@type note - This create a note parameters
@type text - This create the text parameters
### Files
@type file - This creates a generic file parameters
@type audio - this creates a audio file parameters
@type image - this creates a image file parameters
### Struct
@type struct - This create the struct parameters, if you making the struct please use !rmmvStructContent first.
### Objects
@type class - creates a class parameters parameters
@type weapon - creates a weapon class parameters
@type actor - creates a actor class parameters
@type animation - create a animation class parameters
@type skill - create a skill class parameters
@type item - create a item class parameters
@type armor - create a armor class parameters
@type enemy - create a enemy class parameters
@type troop - create a troop class parameters
@type state - create a state parameters
@type variable - create a variable object parameters
### Lists
@type ListsString - create a "string[]" parameters
@type ListFile - create a "file[]" parameters
@type ListString - create a "string[]" parameters
@type ListsText - create a "Struct<struct>[]"parameters
### Misc
@parent - This create "@parent" parameters, why it is separate, well you tell me
@text - creates a "@text" parameter, why it is separate, well you tell me
### MZ Only
List of snippets code that can only run on MZ
@target - added @target only works on MZ

Easy installation:
https://marketplace.visualstudio.com/items?itemName=MJMCreativeWorksAndIdea.rmmvpluginsnippet

Manual vsix Installation:
https://github.com/jomarcenter-mjm/RPGMakerJavascriptPluginSnippet

Instruction:
(download vsix file)
1. Open Visual Studio Code
2. follow Go to the extension tab
3. follow the "..." and click the "install from VSIX"

4. locate the vsix file and install

Complete Manual Installation:
https://github.com/jomarcenter-mjm/RPGMakerMVPluginSnippet

Instruction (windows):
1. Clone or download the entire repository
2. go to <your User folder>/.vscode/extension
3. copy or move the folder over to the extension folder

License: MIT License
Copyright 2019 MJM Creative Works and Ideas

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Thanks:
Special thanks to Yeechan Lu (orzFly) for making the list of parameters from the Plugin editor demo in the past,
without it the snippets might be incomplete or I have no idea what I am doing.
The RPG Maker Community as a whole for helping out in the development of this extension

Author note:
All of my visual studio plugins are made to help you out in making plugin quicker and efficient saving you time in the process. if you like my work, you can support me on ko-fi at

https://www.ko-fi.com/jomarcentermjm

it would really help me out in the long run.
 
Last edited:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
39,935
Reaction score
13,574
First Language
English
Primarily Uses
RMMV
ooh, shiny!

Pity I don't use VS :(
 

Jomarcenter

jomarcenter-MJM
Veteran
Joined
Apr 24, 2012
Messages
1,269
Reaction score
205
First Language
ENGLISH
Primarily Uses
RMMV
ooh, shiny!

Pity I don't use VS :(
can you tell my what your code editing solution? I can see if I can have a add-on created for it.
 

Gamefall Team

Nebula Games Leader
Veteran
Joined
Jan 10, 2017
Messages
348
Reaction score
471
First Language
Italian
Primarily Uses
RMMZ
This is really nice!! :kaoluv:
I'm not a real fan of VS code, but it would be interesting to give it a try!

It would be amazing to have supports for code editor like Sublime Text 3!
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
39,935
Reaction score
13,574
First Language
English
Primarily Uses
RMMV
I'm using Sublime
 

Jomarcenter

jomarcenter-MJM
Veteran
Joined
Apr 24, 2012
Messages
1,269
Reaction score
205
First Language
ENGLISH
Primarily Uses
RMMV
I'm using Sublime
This is really nice!! :kaoluv:
I'm not a real fan of VS code, but it would be interesting to give it a try!

It would be amazing to have supports for code editor like Sublime Text 3!
thank you for the suggestion, I have 3 Extension and plugins being works on for Plugin development and I will see if I can put sublime in the development list especially for the UI based plugin generator which is being work on VSCode.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
39,935
Reaction score
13,574
First Language
English
Primarily Uses
RMMV
That would be awesome! Thanks for considering :)
 

Jomarcenter

jomarcenter-MJM
Veteran
Joined
Apr 24, 2012
Messages
1,269
Reaction score
205
First Language
ENGLISH
Primarily Uses
RMMV
Version 1.3.0 will be released with some Major changes.
because of the amount of changes does in individual functions please test it out and I want your input before I would ship it out to everyone you can download it via this github page. please follow the manual installation instruction for this one
https://github.com/jomarcenter-mjm/RPGMakerMVPluginSnippet/releases/tag/1.3.0-test

you can also show your input at
https://github.com/jomarcenter-mjm/RPGMakerMVPluginSnippet/issues/2

once everything is good to go. the version 1.3.0 will ship out to everyone who have the extension installed.

-mjm
 
Last edited:

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
1,546
Reaction score
880
First Language
Portuguese - Br
Primarily Uses
RMMV
Oh my God, I cannot believe that I do not see this before!!!
Thanks a lot!!!
 

Jomarcenter

jomarcenter-MJM
Veteran
Joined
Apr 24, 2012
Messages
1,269
Reaction score
205
First Language
ENGLISH
Primarily Uses
RMMV
I am currently determine the best course of action for MZ. it either a new plugin or a minor tweak and update to this plugin to make MZ compatibility and include MZ specific snippets.

Edit: The plugin has been updated now it have been renamed to RPGMaker Javascript series
 
Last edited:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

sooo I'm making the music for my game and yeah... prepare for a very non typical rpg ost... I don't even know how to make typical sounding stuff. I can do D&B, hiphop, glitch, and whatnot all day tho lol.
It's interesting that the logic involved in skill range obstructions is also used for Tetris...
Saw a resource and was like "Oh, there was a request for that, I can help that person now!"... turns out, request was nearly two years ago. Welp.
My garbage collection service has the BEST hold music I've ever heard. Sometimes, I legitimately hope to be on hold for more than a few minutes just to hear the song to completion.
Streaming now, maybe it will work this time!

Forum statistics

Threads
103,070
Messages
997,051
Members
134,535
Latest member
AlskaNoelle
Top