VSCode RPGMakerMV Intellisense [UPDATE - Sublime & Atom Support!]

Kino

EIS Game Dev
Veteran
Joined
Nov 27, 2015
Messages
552
Reaction score
789
First Language
English
Primarily Uses
RMMV

RPGMakerMV Intellisense

These two files add intellisense to your RPGMakerMV code base when working with plugins, the base code, etc in Visual Studio Code. You can see every class available in the code base and the methods attached to them. Furthermore, you can even see the outputs of methods.



Features
  • PIXI.js documentation (version 4.5)
  • MV Scenes
  • MV Game Objects
  • MV Windows
  • MV Sprites
  • MV Managers
  • MV Globals


Download
http://endlessillusoft.com/download/2167/

http://endlessillusoft.com/download/2169/



Instructions - VS Code
  1. Download both files; keep the file names.
  2. Place the jsconfig.json and the rmmv.d.ts file in your js/ directory.
  3. Make sure you open your RPGMakerMV project as a folder (Right click -> Open with Code)
  4. Reload Visual Studio Code
  5. Enjoy The Intellisense!
Instructions - Sublime Text
  1. Download the Typescript plugin for Sublime via Package Manager.
  2. Place the rmmv.d.ts file in your game's js/plugins directory (if you create plugins in that folder); if you use a different folder, place the rmmv.d.ts file in that folder.
  3. Set your language for your JavaScript file to 'TypeScript' in the bottom right corner of Sublime.
  4. Enjoy!
Instructions - Atom
  1. Download the Typescript plugin in Atom via the Package Manager.
  2. Place the rmmv.d.ts file in your js/plugins directory (if you create plugins in that folder); if you use a different folder, place the rmmv.d.ts file in that folder.
  3. Save your JavaScript file as .ts and make sure your language type is 'Typescript' in the bottom right of Atom.
  4. Enjoy!
  5. When you're done editing your plugin, simply save it as a .js

Visual Indication - VS Code





Examples
Global Variables



Scene Classes





I hope this helps all of you coders out there! I'm sure this will be a great improvement to your productivity!

The jsconfig.json covers the plugins folder, so if you developer your plugins in a different folder relvative to the jsconfig.json you will have to edit the include section of the jsconfig.json

Original post, which will be kept updated on the website: http://endlessillusoft.com/rpgmakermv-intellisense/
 
Last edited:

Kino

EIS Game Dev
Veteran
Joined
Nov 27, 2015
Messages
552
Reaction score
789
First Language
English
Primarily Uses
RMMV
I started this, but given the colossal that required, I gave up.
Thank you I'm aware of the big work here.
I test on the spot.
:kaoluv:
AND PIXI !! wow
Haha glad I could provide it to the community. The PIXI Version is a bit higher than what MV has, but yea, it's included. The whole thing still needs documentation, but at least you now know what function and method is on each object within MV.
 

Kino

EIS Game Dev
Veteran
Joined
Nov 27, 2015
Messages
552
Reaction score
789
First Language
English
Primarily Uses
RMMV
You're very welcome! I hopr everyone gets some fun out of it. If you see any missing properties or anything, send em out here and I'll be updating the ts. :kaoluv:
 

Jonforum

Veteran
Veteran
Joined
Mar 28, 2016
Messages
1,623
Reaction score
1,431
First Language
French
Primarily Uses
RMMV
You're very welcome! I hopr everyone gets some fun out of it. If you see any missing properties or anything, send em out here and I'll be updating the ts. :kaoluv:
Since I work a lot with pixi and especially the pixi.text, it probably no work for style property style.
But I yesterday i adding them with automatic snippets and description..
Text Style : ts
[
PHP:
  "tsalign": { "prefix": "tsalign",
        "body": ["align:\"${1:center}\","],
        "description": "PIXI STYLE PRIMARY\n align: 'left' 'center' 'right',"
        },
        "tsdropShadow": { "prefix": "tsdropShadow",
        "body": ["dropShadow:\"${1:0}\","],
        "description": "PIXI STYLE\n dropShadow: '0:false' '1:true',"
        },
        "tsdropShadowAngle": { "prefix": "tsdropShadowAngle",
        "body": ["dropShadowAngle:\"${1:0.1}\","],
        "description": "PIXI STYLE\n dropShadowAngle: 'Math.PI / 6',"
        },
        "tsdropShadowBlur": { "prefix": "tsdropShadowBlur",
        "body": ["dropShadowBlur:\"${1:1}\","],
        "description": "PIXI STYLE\n dropShadowBlur: '0.5',"
        },
        "tsdropShadowColor": { "prefix": "tsdropShadowColor",
        "body": ["dropShadowColor:\"${1:rgba(0, 0, 0,0.5)}\","],
        "description": "PIXI STYLE\n dropShadowColor: 'rgba(0, 0, 0,0.5)' '#000000',"
        },
        "tsdropShadowDistance": { "prefix": "tsdropShadowDistance",
        "body": ["dropShadowDistance:\"${1:3}\","],
        "description": "PIXI STYLE\n dropShadowBlur: '0' 'false',"
        },
        "tsfill": { "prefix": "tsfill",
        "body": ["fill:\"${1:#000000}\","],
        "description": "PIXI STYLE\n fill: '#000000',"
        },
        "tsfillGradientType": { "prefix": "tsfillGradientType",
        "body": ["fillGradientType:\"${1:0}\", fill:['#333','#eee','white','#dbdbdb','white','#f1f1f1','#2c2c2c'],"],
        "description": "PIXI STYLE\n fillGradientType: '0:linearV' '1:linearH',"
        },
        "tsfontFamily": { "prefix": "tsfontFamily",
        "body": ["fontFamily:\"${1:Anjelik  MAIAN  Qarmic DigitalStrip}\","],
        "description": "PIXI STYLE\n fontFamily: 'Anjelik'  'MAIAN'  'Qarmic' 'DigitalStrip',"
        },
        "tsfontSize": { "prefix": "tsfontSize",
        "body": ["fontSize:\"${1:22}\","],
        "description": "PIXI STYLE\n fontSize: '34',"
        },
        "tsfontVariant": { "prefix": "tsfontVariant",
        "body": ["fontVariant:\"${1:normal|small-caps|initial|inherit}\","],
        "description": "PIXI STYLE\n fontVariant: 'normal|small-caps|initial|inherit',"
        },
        "tsfontWeight": { "prefix": "tsfontWeight",
        "body": ["fontWeight:\"${1:normal|bold|bolder|lighter|900|600|400}\","],
        "description": "PIXI STYLE\n fontWeight: 'normal|bold|bolder|lighter|900|600|400',"
        },
        "tsletterSpacing": { "prefix": "tsletterSpacing",
        "body": ["letterSpacing:\"${1:2}\","],
        "description": "PIXI STYLE\n letterSpacing: '4',"
        },
        "tslineHeight": { "prefix": "tslineHeight",
        "body": ["lineHeight:\"${1:-5}\","],
        "description": "PIXI STYLE PRIMARY\n lineHeight: '-5',"
        },
        "tslineJoin": { "prefix": "tslineJoin",
        "body": ["lineJoin:\"${1:bevel|round|miter}\", miterLimit:\"${2:5}\","],
        "description": "PIXI STYLE\n lineJoin: 'bevel|round|miter', miterLimit:"
        },
        "tsmiterLimit": { "prefix": "tsmiterLimit",
        "body": ["miterLimit:\"${1:5}\", lineJoin:\"${2:bevel|round|miter}\","],
        "description": "PIXI STYLE\n miterLimit: '10', lineJoin:"
        },
        "tsstroke": { "prefix": "tsstroke",
        "body": ["stroke:\"${1:#000000}\","],
        "description": "PIXI STYLE\n stroke: 'black',"
        },
        "tsstrokeThickness": { "prefix": "tsstrokeThickness",
        "body": ["strokeThickness:\"${1:4}\","],
        "description": "PIXI STYLE\n strokeThickness: '4',"
        },
        "tswordWrap": { "prefix": "tswordWrap",
        "body": ["wordWrap:\"${1:true}\", wordWrapWidth:\"${2:520}\","],
        "description": "PIXI STYLE PRIMARY\n wordWrap: 'true',"
        },
        "tswordWrapWidth": { "prefix": "tswordWrapWidth",
        "body": ["wordWrapWidth:\"${1:520}\","],
        "description": "PIXI STYLE PRIMARY\n wordWrapWidth: '450',"
        },
        "tslineStyle": { "prefix": "tslineStyle",
        "body": ["lineStyle:\"${1:'top'||'middle'||'bottom'}\","],
        "description": "PIXI STYLE PRIMARY\n lineStyle: 'top'||'middle'||'bottom',"
        },
 
Last edited:

Tea's Jams

I'm human
Global Mod
Joined
Mar 28, 2017
Messages
1,023
Reaction score
2,534
First Language
English
Primarily Uses
RMMZ
I can't wait until I get good enough with code to use this! :D
 

AceOfAces_Mod

Engineering to infinity!
Veteran
Joined
Sep 7, 2014
Messages
1,716
Reaction score
1,197
First Language
Greek
Primarily Uses
RMVXA
:rhappy: That's really handy. Good job, mate.
 

Kino

EIS Game Dev
Veteran
Joined
Nov 27, 2015
Messages
552
Reaction score
789
First Language
English
Primarily Uses
RMMV
Thanks! I had a lot of fun working on it.
 

Dr.Yami

。◕‿◕。
Developer
Joined
Mar 5, 2012
Messages
1,003
Reaction score
757
First Language
Vietnamese
Primarily Uses
Other
This topic should be pinned in this box!
 

Gamefall Team

Nebula Games Leader
Veteran
Joined
Jan 10, 2017
Messages
348
Reaction score
472
First Language
Italian
Primarily Uses
RMMZ
Hey dude, you made a very cool thing to deal with! Thank you very much! :kaojoy:
 

Kino

EIS Game Dev
Veteran
Joined
Nov 27, 2015
Messages
552
Reaction score
789
First Language
English
Primarily Uses
RMMV
Glad it could help you! I feel this should also be in the JavaScript section.
 

Poryg

Dark Lord of the Castle of Javascreeps
Veteran
Joined
Mar 23, 2017
Messages
4,124
Reaction score
10,625
First Language
Czech
Primarily Uses
RMMV
For some reason it doesn't work for me in Sublime 2. I've also got a problem with not responding Type script plugin (due to long timeouts), so this can be why.
 

Kino

EIS Game Dev
Veteran
Joined
Nov 27, 2015
Messages
552
Reaction score
789
First Language
English
Primarily Uses
RMMV
Hmmm let's see; can you show me your directory structure? Might help with seeing what I can do to help
 

Zeriab

Huggins!
Veteran
Joined
Mar 20, 2012
Messages
1,266
Reaction score
1,409
First Language
English
Primarily Uses
RMXP
Awesome work <3
 

Poryg

Dark Lord of the Castle of Javascreeps
Veteran
Joined
Mar 23, 2017
Messages
4,124
Reaction score
10,625
First Language
Czech
Primarily Uses
RMMV
My directory structure is more or less the standard structure, concerning javascript plugins. Shown directly from my Sublime text 2.
 

Attachments

LTN Games

Indie Studio
Veteran
Joined
Jun 25, 2015
Messages
701
Reaction score
625
First Language
English
Primarily Uses
RMMV
Thanks for the mention Kino. I really only did one class :p but I do plan on adding some good detailed documentation for Window_Base and more commonly used methods. I love the idea behind this and I think it's a great opportunity to help with newcomers who want to code their own game.
 

Kino

EIS Game Dev
Veteran
Joined
Nov 27, 2015
Messages
552
Reaction score
789
First Language
English
Primarily Uses
RMMV
Huh and the language is set to typescript in the bottom right corner?
 

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

Latest Threads

Latest Posts

Latest Profile Posts

I have a riddle for you all, I wonder if you can solve it!

I stumbled upon 2 articles about why time goes faster as we age, and how to "slow down time".
Check them out, very interesting read. :D
Faster Time
Slower Time
Anyone can recommend a good gaming mouse? My mouse wheel has given up. Last mouse was steel series diablo iii edition (I know, it's been a while)

Forum statistics

Threads
104,271
Messages
1,005,165
Members
135,784
Latest member
Flamyxchan
Top