Are you using an IDE?

Roguedeus

It's never too late to procrastinate...
Veteran
Joined
Mar 19, 2013
Messages
532
Reaction score
107
First Language
English
Primarily Uses
N/A
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.
 

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,342
Reaction score
3,053
First Language
Portuguese
Primarily Uses
RMMV
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.
 

Siebenkeim

Villager
Member
Joined
Apr 18, 2014
Messages
23
Reaction score
5
Primarily Uses
I use Notepad++/Brackets and XAMPP as webserver to see the console output (in the browser).
 

Zalerinian

Jack of all Errors
Veteran
Joined
Dec 17, 2012
Messages
4,695
Reaction score
928
First Language
English
Primarily Uses
N/A
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:

 

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,342
Reaction score
3,053
First Language
Portuguese
Primarily Uses
RMMV
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:

And we can just type the name of a method and hit F12 to check it's code :D
 

Roguedeus

It's never too late to procrastinate...
Veteran
Joined
Mar 19, 2013
Messages
532
Reaction score
107
First Language
English
Primarily Uses
N/A
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?

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.
 
Last edited by a moderator:

Seriel

Veteran
Veteran
Joined
Aug 16, 2014
Messages
3,018
Reaction score
508
First Language
English
Primarily Uses
Other
/me downloads Sublime.
 

Zalerinian

Jack of all Errors
Veteran
Joined
Dec 17, 2012
Messages
4,695
Reaction score
928
First Language
English
Primarily Uses
N/A
/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.
 

Hudell

Dog Lord
Veteran
Joined
Oct 2, 2014
Messages
3,342
Reaction score
3,053
First Language
Portuguese
Primarily Uses
RMMV
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.
 
Last edited by a moderator:

Siebenkeim

Villager
Member
Joined
Apr 18, 2014
Messages
23
Reaction score
5
Primarily Uses
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 :/ )
 
Last edited by a moderator:

DarknessFalls

Rpg Maker Jesus - JS Dev.
Veteran
Joined
Jun 7, 2013
Messages
1,393
Reaction score
209
First Language
English
I use atom, browserify and gulp to compile my scripts. I also use Babel to use modules and export of those modules.
 

Roguedeus

It's never too late to procrastinate...
Veteran
Joined
Mar 19, 2013
Messages
532
Reaction score
107
First Language
English
Primarily Uses
N/A
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
 
Last edited by a moderator:

Siebenkeim

Villager
Member
Joined
Apr 18, 2014
Messages
23
Reaction score
5
Primarily Uses
I would use something like 8080 and for SSL 444.

Then you need open "localhost:8080" in the browser.
 

Roguedeus

It's never too late to procrastinate...
Veteran
Joined
Mar 19, 2013
Messages
532
Reaction score
107
First Language
English
Primarily Uses
N/A
Oh now THIS is cool.

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

Thank YOU.
 
Last edited by a moderator:

Seriel

Veteran
Veteran
Joined
Aug 16, 2014
Messages
3,018
Reaction score
508
First Language
English
Primarily Uses
Other
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.
 

Roguedeus

It's never too late to procrastinate...
Veteran
Joined
Mar 19, 2013
Messages
532
Reaction score
107
First Language
English
Primarily Uses
N/A
This may seem obvious. But where would I be able to see the console output?
 
Last edited by a moderator:

Siebenkeim

Villager
Member
Joined
Apr 18, 2014
Messages
23
Reaction score
5
Primarily Uses
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
 
Last edited by a moderator:

Woratana

Veteran
Veteran
Joined
Jul 4, 2012
Messages
101
Reaction score
98
First Language
Thai
Primarily Uses
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) >_<?
 

Zalerinian

Jack of all Errors
Veteran
Joined
Dec 17, 2012
Messages
4,695
Reaction score
928
First Language
English
Primarily Uses
N/A
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 ^-^
 

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

Latest Threads

Latest Posts

Latest Profile Posts

Yesterday, for my youngest sibling's birthday, we watched one of his favorite movies.
Ponyo is such a beautiful, but certainly strange, movie.
I just have to say that I prefer the majority of Studio Ghibli's works to those of Disney.
*sees work place in incoming call history* .... =www= hisssssSSSSSssss.
Please pop up a storm. Please pop up a storm.
So I tried composing a battle theme for the Linear Motion Battle System that I'm probably going to implement into my game. I really love real time combat, and I think that this theme might help give some energy to battles. Tell me what you think of it in the comments! Also, please do not use my music in your games.
My LMBS battle theme
* Me start speak in voice chat
"Lol, you're actually a girl?!"
(But I'm a guy tho... well, let's just pretend and see how long it will last)
* Years has passed... I have changed.

Forum statistics

Threads
97,807
Messages
947,086
Members
129,017
Latest member
mindstream
Top