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

Poryg

Dark Lord of the Castle of Javascreeps
Veteran
Joined
Mar 23, 2017
Messages
4,063
Reaction score
10,364
First Language
Czech
Primarily Uses
RMMV
Yes, language is set to typescript. But not that it matters, because everytime I launch Sublime text 2, it tells me that a plugin may not be responding due to huge call time (0.5 seconds) or whatever it is called, in other words something is called, but it takes so long that the interpreter decides to stop calling it and just skip it.
It started popping up exactly after I installed my typescript plugin into Sublime text 2. So the fault is in the sublime text plugin itself.
 

Kino

EIS Game Dev
Veteran
Joined
Nov 27, 2015
Messages
515
Reaction score
682
First Language
English
Primarily Uses
RMMV
That's unfortunate; I wish I could help with that. That's what worked for me, so it may just be the size of the file itself. I might have to make a stripped down version also. I'll keep you posted.

Otherwise, VSCode is a pretty good alternative to sublime and works on all PCs and it's not visual studio. It's a lightweight text editor with a lot of the same sublime features.
 

Poryg

Dark Lord of the Castle of Javascreeps
Veteran
Joined
Mar 23, 2017
Messages
4,063
Reaction score
10,364
First Language
Czech
Primarily Uses
RMMV
I'll check it out :} Tried Atom, but that is a heavyweight one with very misplaced install directory, so decided not to use it...
 

Kino

EIS Game Dev
Veteran
Joined
Nov 27, 2015
Messages
515
Reaction score
682
First Language
English
Primarily Uses
RMMV
Totally agree there; Atom isn't as nice to use for me. Takes forever to open a project.
 

Poryg

Dark Lord of the Castle of Javascreeps
Veteran
Joined
Mar 23, 2017
Messages
4,063
Reaction score
10,364
First Language
Czech
Primarily Uses
RMMV
Yay, in VSCode it works! Took a while to load, but works now ^_^ Awesome!
 

Jonforum

Veteran
Veteran
Joined
Mar 28, 2016
Messages
1,615
Reaction score
1,417
First Language
French
Primarily Uses
RMMV
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.
you can add link for download it.
https://github.com/pixijs/pixi.js/releases

simply replace the version rmmv by this new version (work good without bug)
This version will also give some extra awsomes features.

aef34ae33.png

I know you work on a tutorial with the eventlistener.
It would be nice if you could add a section that also deals with PIXI.ticker

ex:
PHP:
var myPixiListener = new PIXI.ticker.Ticker;
// and add function listener inside (eatch tiker frame maybe?!)
  myPixiListener.add(function (delta) {
      // stuff
  }
[/B]
I test its operation and it works very well to listen objects.
The operation is similar to the event Listener, but probably more efficient and much more manageable.
But there is not much information on this subject.
@+ :rock-left:

 
Last edited:

hc phoenix

Villager
Member
Joined
Aug 15, 2017
Messages
20
Reaction score
1
First Language
English
Primarily Uses
RMMV
Hi @Kino, this is really helpful. Question, though: most MV plugins I've seen add functions on to existing classes and/or encapsulate them with namespace functions; with typescript using these library definitions is that still possible? I haven't found a way that doesn't throw errors all over the place. Do you have some sample code?
 

Jomarcenter

jomarcenter-MJM
Veteran
Joined
Apr 24, 2012
Messages
1,243
Reaction score
183
First Language
ENGLISH
Primarily Uses
RMMV
Hey, I am having trouble setting up the intellisense with VSCode or Visual Studio 2015 & 2017 as nothing happened when I setting up. This intellisense setup gonna help me in working on my first script.
 

Kino

EIS Game Dev
Veteran
Joined
Nov 27, 2015
Messages
515
Reaction score
682
First Language
English
Primarily Uses
RMMV
It only works on VSvode I believe and not Visual Studio.

You're having issues? What's the issue no pop up with intellisense?
 

AceOfAces_Mod

Engineering to infinity!
Veteran
Joined
Sep 7, 2014
Messages
1,714
Reaction score
1,179
First Language
Greek
Primarily Uses
RMVXA
@Archeia I think you'll need to install jshint through nodejs first.
EDIT: Do you have the JSHint extension installed? Maybe the extension throws the error.
 
Last edited:

Kino

EIS Game Dev
Veteran
Joined
Nov 27, 2015
Messages
515
Reaction score
682
First Language
English
Primarily Uses
RMMV
I agree with Aces you'll need to install jshint if vscode is giving you such an error.

I wish I could make the process easier.
 

Kino

EIS Game Dev
Veteran
Joined
Nov 27, 2015
Messages
515
Reaction score
682
First Language
English
Primarily Uses
RMMV
Hmmmm okay I'll see what I can do. I'll see what the issue is as I never had the jshint issue.
 

Archeia

Level 99 Demi-fiend
Developer
Joined
Mar 1, 2012
Messages
14,766
Reaction score
14,660
First Language
Filipino
Primarily Uses
VNM
I'll try to uninstall node and everything later and see if it fixes everything.
 

Kino

EIS Game Dev
Veteran
Joined
Nov 27, 2015
Messages
515
Reaction score
682
First Language
English
Primarily Uses
RMMV
Hopefully it works for you!
 

Jomarcenter

jomarcenter-MJM
Veteran
Joined
Apr 24, 2012
Messages
1,243
Reaction score
183
First Language
ENGLISH
Primarily Uses
RMMV
It only works on VSvode I believe and not Visual Studio.

You're having issues? What's the issue no pop up with intellisense?
Sorry for the late reply Like I say VS code or Visual studio itself nothing pop up on my side when i try to type in something.
 

Spoopy

Web Developer, PHP, NodeJS, RubyOnRails, Sass, HTM
Veteran
Joined
Dec 24, 2016
Messages
78
Reaction score
43
First Language
English
Primarily Uses
Thank you for this to you and the others involved, much appreciated. Also thank you for the Node.JS plugin tutorial on your site for MV.
 

Jonforum

Veteran
Veteran
Joined
Mar 28, 2016
Messages
1,615
Reaction score
1,417
First Language
French
Primarily Uses
RMMV
lol ok
PHP:
{
  "compilerOptions": {
    "target":"es6"
  },
  "files": [
    "./rmmv.d.ts",
    "./rmmv-pixi.d.ts"   
  ],
  "include": [
    "./*",
    "./plugins_dev/*.js",
    "./plugins/*.js"
  ],
  "exclude": [
    //"./plugins/*" ??? fix
  ]
}
I wondered why it does not work with my plugins in this directory.
 

cetra777

Warper
Member
Joined
Sep 18, 2018
Messages
3
Reaction score
5
First Language
English
Primarily Uses
RMMV
Hello @Kino,

I am new to the coding side of RPG Maker and having a great deal of fun learning. This is a great resource! Thanks for you work!
 

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

Latest Threads

Latest Profile Posts

Imagine after all this time, its RPG Maker MV Ace?:p Even if it has huge improvements, that would just be disappointing somehow xD
Kes
Came up with a good name for something. Checked on internet - device trademark filed in India 2017. Back to the drawing board.
I want to see the Features of the new RPG Maker.. NOW!!
Can't wait for it!
KDS
Check out some gameplay of a game iam working on :)
Me : "Wearing glasses is annoying."
*put out glasses*
Also me : "Keep mistaking 0, 6 and 8."

Forum statistics

Threads
98,126
Messages
949,503
Members
129,410
Latest member
Charles_Chandra
Top