![]() Solargraph is not a necessary component for this, but I highly recommend it as it provides SO MANY useful things for you, even if you don't end up coding at all. VSCode Ruby in particular provides syntactical highlighting and color coding, which will make it so much easier on you as a developer to read and determine what is written. Ruby and VSCode Ruby are two extensions found in VSCode that provide documentation and language support for Ruby - which is used by RPG Maker - in the program. ![]() Many of the common and most helpful packages used in Ruby are installed via this component - most prominently the Solargraph extension - so while this might not show up in code often I say it's necessary. Ruby Gems is a necessary component to install Ruby packages onto your computer. I've listed the bare minimum of things to install below for this, but play with what you will to how you like it. The actual scripts used here can allow for whichever IDE you choose to use, but for the sake of this tutorial I'll be using Visual Studio Code. the list of calls that bring up exactly where an error might take place - will help pinpoint not only where the error happened but the conditions that made the error occur to begin with. With the scripts provided at the end of the tutorial, the stacktrace - aka. Pulling up method definitions can help make sure you're using the right method at the right place and are putting in the right inputs. ![]() No more compilation errors due to a missing bracket or end! Most IDE's have built-in syntax coloring / highlighting that helps differentiate between all the types of variables and will often auto-complete brackets and quotations. Having the ability to pull up a method definition and immediately go to all files that either use or define the method GREATLY eases the headache of code navigation.Īuto complete will help ensure that you are using the right method definitions and can help with misspellings and typos of variables / methods. The benefits of using an external editor come from the use of the editor itself and what it offers - I'll be praising the use of Intellisense, since yes, it is really that good if you're coding, and really most of the benefits come from Intellisense. It's a lot of added work for a payoff that may not even be applicable. This setup takes away all code from the RPG Maker environment and puts it into an external editor, then uses a custom script to import all code back into the game. If you are working on a project that uses very little custom scripting - or you are not experienced with coding - I would not recommend doing following this tutorial. This tutorial is geared toward easing the coding and development experience. This tutorial is more focused toward developers who have coding experience and assumes some level of programming - or at least IDE - knowledge. The way the scripts are imported into the game ends up being a lot slower than the default RPG Maker IDE - this is due to how the import method works and can't really be worked around. ![]() I have yet to try this on encrypted games. So far this works when the game isn't encrypted, so I'd call this a good means of development with code. So I took matters into my own hands and came up with something that would allow me to use an external IDE, but still compile / play and debug the game. It's been a hot minute since I've started working on my VX Ace game again, but at this point I just can't with the IDE. Hell, it's basically only a step above Notepad. IDE's that I've used commonly come with things like Intellisense - auto-completion for methods, variables and tracking of references for where methods are called - and nice syntactical checking / labelling to allow for ease of reading.Īs a software engineer by career, I can say with certain objectivity that the IDE in RPG Maker VX (and Ace) objectively sucks. The IDE - the integrated development environment - is the program or interface used for coding, often coming with its own compilers, plugins and toolsets to allow for intuitive coding.
0 Comments
Leave a Reply. |