bye bye ruby, hello java!

This makes me excited as I know Java better than Ruby. This means I can call libraries in JS. Sure the games would be mac and HTML5 incompatible. This means we can use things like SWIG to do the following:

> var mylib = require("./build/Release/mylib")> var c = new mylib.MyClass(5)> c.sayHello()Hello, my number is:5and have it call C++, Python, C#, and yes even Ruby for some older RGSS scripts.

We can use things like emscripten to import C libraries straight into JS.

That means for all you "I wanna make an MMO!!!" Now this will be possible! Not that I particularly care about MMOs but with JavaScript the sky is the limit.

This is super exciting!
Please don't call it Java, as there's a lot of people who don't know the difference between Javascript and Java.


And those things were already possible with ruby on Rpg Maker Vx Ace 🙂
This makes me excited as I know Java better than Ruby. This means I can call libraries in JS. Sure the games would be mac and HTML5 incompatible. This means we can use things like SWIG to do the following:

> var mylib = require("./build/Release/mylib")> var c = new mylib.MyClass(5)> c.sayHello()Hello, my number is:5and have it call C++, Python, C#, and yes even Ruby for some older RGSS scripts.

We can use things like emscripten to import C libraries straight into JS.

That means for all you "I wanna make an MMO!!!" Now this will be possible! Not that I particularly care about MMOs but with JavaScript the sky is the limit.

This is super exciting!

Its not Java its Javascript. You would need babel to make that code work, as the system uses ES5
Java is to javascript what ham is to hamster.
really wish people would stop calling javascript java, I have a senior dev i work with, he thinks java and javascript are the same and theres no way to deter him >.> hes also 60 ......which explains everything, time to retire gramps
I think (hope) once it's out and people are using it, we'll see less of this mis-reference.

hes also 60 ......which explains everything
two problems with that statement ...


60 doesn't explain why he can't get it at all - there are people older than that who adapt quite well


I'd wager a lot more people under 30 are using the wrong term than people over 50
You can build a Java based back-end with, say, Spring Boot and consume that webservice through JavaScript in your MV game.

So please take care of expressing yourself accurately.

*hugs*
You can build a Java based back-end with, say, Spring Boot and consume that webservice through JavaScript in your MV game.

*hugs*
I would never do this, and there is a huge difference between java and javascript. 
Almost evryone I know confuses Javascript and Java.

I just stopped arguing. It's pointles..
Yeah, I worked with brilliant coders over the age of 60.
I would never do this, and there is a huge difference between java and javascript. 
The interchange format is JSON. The game shouldn't care whatever the server uses to process the requests.
The interchange format is JSON. The game shouldn't care whatever the server uses to process the requests.
I know.
Now is possible to save the game on line and use a user account to recover it. 
var val = $('#select-one option:selected').val();$.ajax({ url: "servletURL",//servlet URL that gets first option as parameter and returns JSON of to-be-populated options type: "POST",//request type, can be GET cache: false,//do not cache returned data data: {one : val},//data to be sent to the server dataType: "json"//type of data returned}).done(function(data) { var second = $("#select-two"); $.each(data, function() { options.append($("<option />").val(this.value).text(this.label)); });});There I wrote a code which calls Java backend, requiring you have JDK installed and AJAX. While I am not that proficient at Ruby per say, I know Java and JS. People saying "It's not Java its JavaScript" calm down. JS is interpreted whereas Java is compiled... thats it, the code is very interchangable. One thing I hate about JS, however, is the branching madness so whenever possible, I simply use AJAX now, which allows me to do some serious stuff. You can build an entire database, completely unlimited, outside of RPG Maker MV and use SQL to edit the entire thing, using only the front end stuff in the game to edit the story and switches. Handling SQLExceptions is so much nicer than dealing with the limited in-game database. 

Original thread: https://forums.rpgmakerweb.com/threads/bye-bye-ruby-hello-java.46232/