LunaTechsDev

Lunatic Moon
Member
Joined
Aug 12, 2020
Messages
17
Reaction score
168
First Language
English
Primarily Uses
RMMV
LunaTechsLogo_03BlkBG.png
Hello all, it's Wednesday again; this is Kino(EISKino) from the LunaTechs team.

Today, we're bringing to you RPGMakerMV/MZ IntelliSense for use within your project whether you're making plugins or just doing edits to one, this will come in handy. The instructions are similar to the ones we provided for the original project for RPGMakerMV, therefore these definitions should work the same for the same targets.

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

Features
  • PIXI.js documentation (version 4.5 for MV)
  • PIX.js documentation (version 5.2.4 for MZ)
  • MV/MZ Scenes
  • MV/MZ Game Objects
  • MV/MZ Windows
  • MV/MZ Sprites
  • MV/MZ Managers
  • MV/MZ Globals

Screenshots

Screen Shot 2020-09-02 at 8.41.06 PM.png



Download


LunaLite MV/MZ Files


You can download the above files for your engine by:
  1. Clicking the link
  2. Click the file name
  3. Right click raw in the right corner
  4. Save as
  5. Follow the instructions below




Instructions - VS Code
  1. Download both files; keep the file names.
  2. Place the jsconfig.json and the lunalite-pixi-mv.d.ts/lunalite-pixi-mz.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 lunalite-pixi-mv.d.ts/lunalite-pixi-mz.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 lunalite-pixi-mv.d.ts/lunalite-pixi-mz.d.ts 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

Note: if you have any issues, please response on this thread. If the jsonconfig.json, has an error in it for you not having the lunalite-pixi-mv.d.ts or lunalite-pixi-mz.d.ts because you don't need it for your engine, just remove it.
 

Eliaquim

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
2,836
Reaction score
2,174
First Language
Portuguese - Br
Primarily Uses
RMMZ
Oh god, that is super helpful!
I remember the first day that I found the MV Version...
Thank you so much!!! :kaoluv:
 

Kino

EIS Game Dev
Veteran
Joined
Nov 27, 2015
Messages
562
Reaction score
811
First Language
English
Primarily Uses
RMMV
Glad it could be of use to you!
 

Lavapulse

Villager
Member
Joined
Apr 29, 2012
Messages
8
Reaction score
7
First Language
English
Primarily Uses
RMMZ
You are a hero. For the record, I'm using Visual Studio instead of VSCode and your intellisense file still works perfectly. Thanks a bunch!
 

Kino

EIS Game Dev
Veteran
Joined
Nov 27, 2015
Messages
562
Reaction score
811
First Language
English
Primarily Uses
RMMV
Glad it's helpful to you!
 

TheouAegis

Veteran
Veteran
Joined
Dec 27, 2020
Messages
58
Reaction score
23
First Language
Korean
Primarily Uses
RMMZ
This is indeed very helpful when you do coding, great job!
 

Jragyn

JABS codemonkey
Veteran
Joined
Aug 14, 2012
Messages
314
Reaction score
249
First Language
English
Primarily Uses
RMMZ
Dear VSCode,
I promise that $gameParty.gainGold(cashmunny) is a real function of Game_Party-
HERE IS THE EVIDENCE.

Thank you, I had one for MV I was using (in MZ, because something is better than nothing) that seemed to be incomplete.
 

Kurochan

The Silver Wolf
Member
Joined
Aug 18, 2019
Messages
17
Reaction score
6
First Language
English
Primarily Uses
RMMZ
Hey there @Kino is there a way to use the intellisense feature with Webstorm by JetBrains too? Do you think you can add a short guide for setting it up for Webstorm too? Thanks in advance!
:ptea:
 

Jragyn

JABS codemonkey
Veteran
Joined
Aug 14, 2012
Messages
314
Reaction score
249
First Language
English
Primarily Uses
RMMZ
Hey there @Kino is there a way to use the intellisense feature with Webstorm by JetBrains too? Do you think you can add a short guide for setting it up for Webstorm too? Thanks in advance!
:ptea:
I do my plugin development in Webstorm myself, and dissected the uber long singular typescript definition file into multiple files, and stuffed them in a folder elsewhere.

Feel free to observe my setup over here:

./defs contains the various definition files (broken up from the very big one).
./ (root) contains the jsconfig file.
./plugins contains all the code that the jsconfig file defines types for.

Webstorm seems to have none-minimal issues for me comprehending this (the extensions for stuff like String and Number are hit and miss and I have no idea why).
 

Latest Threads

Latest Profile Posts

After a little test with the parallax mapping, found it lags like a cat on a leash. Instead of the original idea to parallax map the entirety of the ship, I guess I'll settle for editing the tilesets. Probably should have done that first. :kaosigh:
So I kinda came back and learned how to mod other RPG Maker games so... Hello everyone!
Captura-de-pantalla-475.png
Version 1.0.1 done! Now finally free time... oh
Capture.PNG
I'm Really proud of how my game over screen looks!
UldJFr1.png
I felt inspired by a piece of art I saw. So I made this.

Wanderer Doge.png

Forum statistics

Threads
123,282
Messages
1,155,474
Members
161,680
Latest member
Said789
Top