Are you using an IDE?

● ARCHIVED · READ-ONLY
Started by Roguedeus 39 posts Page 1 of 2 View original ↗
  1. I am curious of the number of people working with MV's code in an IDE (or well set up Text Editor) and how you manage to do so.

    Specifically:

    • Your setup and the steps you take to get it working.
    • Does it help with play testing? If so how?



    For the sake of discussion:

    It seems to me that there are some rather complex requirements just to get console log, and reliable error feedback. (Local Host, etc...) Creating a fairly significant barrier to entry... Which sort of defeats the purpose of RPGMaker catering to the less code inclined.

    In contrast, VXAce had a simple code tool and test runs displayed the console front and center. Super fast. Super easy. Though I always used Sublime Text for coding, the fact that Ruby was so user friendly, made things markedly easier. MV and the complexity of JavaScript, in comparison, looks intimidating.

    Personally, I am hoping I won't have to setup a Local Host just to get reliable feedback from writing plugins.
  2. I use a localhost, but because I want to, I didn't even try to hit the "play test" button on MV yet.

    I also write everything on sublime, but I already did that with ace too.
  3. I use Notepad++/Brackets and XAMPP as webserver to see the console output (in the browser).
  4. I use Sublime Text 3 as my editor, and I either use my local webserver (XAMPP), or, much more commonly, I use the desktop client.

    I find that sublime makes it easier to edit, because I have all the scripts separated by class name and in folders regarding what file the classes came from, so it's actually really nicely organized:

    Spoiler
    DOU71Mv.png
  5. Zalerinian said:
    I use Sublime Text 3 as my editor, and I either use my local webserver (XAMPP), or, much more commonly, I use the desktop client.

    I find that sublime makes it easier to edit, because I have all the scripts separated by class name and in folders regarding what file the classes came from, so it's actually really nicely organized:

    Spoiler
    DOU71Mv.png
    And we can just type the name of a method and hit F12 to check it's code :D
  6. Would anyone be willing to write up a 'How To' for setting up XAMPP to work with a MV project, and how one might use it to make things easier?

    Hudell said:
    I use a localhost, but because I want to, I didn't even try to hit the "play test" button on MV yet.

    I also write everything on sublime, but I already did that with ace too.
    I take it you are actually play testing. Just via the local host rather than via the tool set test.

    I am exceptionally ignorant regarding most code concerns. Any further details you can offer, will help a lot.
  7. /me downloads Sublime.
  8. Kirikaz said:
    /me downloads Sublime.
    Well, that won't separate the classes themselves, I spent the time to actually separate them into separate files. That experience sucked ._.   But it was only like, 20 minutes.
  9. Zalerinian said:
    Well, that won't separate the classes themselves, I spent the time to actually separate them into separate files. That experience sucked ._.   But it was only like, 20 minutes.
    You could have done it with a single linux shell command :X

    There are probably tools to do this on windows too.
  10. Would anyone be willing to write up a 'How To' for setting up XAMPP to work with a MV project, and how one might use it to make things easier?
    1. Download XAMPP: https://www.apachefriends.org/de/index.html

    2. Install it (Apache is the most important)

    3. Open XAMPP Control and click on "Config" (Apache) and select "httpd.conf"

    4. Change the DocumentRoot and Directory to your MV Project Folder (where the index.html is located)

    5. Start Apache and type "localhost" in the browser

    If you have Skype you must also change the ports in the httpd.conf and httpd-ssl.conf or deactive "use port 80 and 443" in skype (i have only the german client :/ )
  11. I use atom, browserify and gulp to compile my scripts. I also use Babel to use modules and export of those modules.
  12. Siebenkeim said:
    1. Download XAMPP: https://www.apachefriends.org/de/index.html

    2. Install it (Apache is the most important)

    3. Open XAMPP Control and click on "Config" (Apache) and select "httpd.conf"

    4. Change the DocumentRoot and Directory to your MV Project Folder (where the index.html is located)

    5. Start Apache and type "localhost" in the browser

    If you have Skype you must also change the ports in the httpd.conf and httpd-ssl.conf or deactive "use port 80 and 443" in skype (i have only the german client :/ )
    I do have Skype. Are there specific ports I should change it to?

    edit:

    This helped: http://stackoverflow.com/questions/11294812/how-to-change-xampp-apache-server-port
  13. I would use something like 8080 and for SSL 444.

    Then you need open "localhost:8080" in the browser.
  14. Oh now THIS is cool.

    localhost:1234 in the browser and SHAZAM! Fully working test project.

    Thank YOU.
  15. Siebenkeim said:
    1. Download XAMPP: https://www.apachefriends.org/de/index.html


    2. Install it (Apache is the most important)


    3. Open XAMPP Control and click on "Config" (Apache) and select "httpd.conf"


    4. Change the DocumentRoot and Directory to your MV Project Folder (where the index.html is located)


    5. Start Apache and type "localhost" in the browser


    If you have Skype you must also change the ports in the httpd.conf and httpd-ssl.conf or deactive "use port 80 and 443" in skype (i have only the german client :/ )
    I tip my hat to you.
    If I run my game through XAMPP, the playtest lag dissapears.


    btw, if you type http://localhost/?test it loads in testplay mode, with Debug Options.
  16. This may seem obvious. But where would I be able to see the console output?
  17. Roguedeus said:
    This may seem obvious. But where would I be able to see the console output?
    In Firefox I just hit F12.

    screenshot_17.png
  18. Now you can also use "console.log(arg)" and get formatted output like the content of an array or the complete object definition ...

    EDIT:

    and of course syntax error like missing braces
  19. Speaking of localhost, this reminds me of Bracket, text editor from Adobe might be a good choice.

    If I remembered correctly, it does create localhost and also live reload for you.

    @Zalerinian: Would you mind sharing zip file of that folder (the one in your screenshot) >_<?
  20. Woratana said:
    Speaking of localhost, this reminds me of Bracket, text editor from Adobe might be a good choice.

    If I remembered correctly, it does create localhost and also live reload for you.

    @Zalerinian: Would you mind sharing zip file of that folder (the one in your screenshot) >_<?
    I have been given approval to do so, but I have some things I need to do before I'm allowed to officially post it. I'll work on them after dinner ^-^