So, uh, what's this RPG Maker Unite thing?



"RPG Maker Unite is built on top Unity, so developing for mobile and browser platforms has become easier than ever!"

Browser? Unity WebGL? It's worst feature?

download (8).gif


No really though, the details on this are really sparse so I'm keeping my expectations low. But, whatever it is -- it'll be a start.

EDIT:

Actually, the features are laid out.

  • Map Editor
  • Database System
  • Events!!
Native FHD,
explicitly aimed towards 2D,
new UI allowing simultaneous accec via tabs
no backward compatibility

available to all unity users (including users of the free version of Unity Personal and Student license plans)

devlog 1 on steam ... nice pictures, nice pictures ô.O
devlog 1 on steam ... nice pictures, nice pictures ô.O
The link to that. (for those who don't know where to find it)
Damn. Now I'm going to have to reboot my project again just to keep my platform targets. Not to mention that I have already deprioritized MV and MZ tools for consoles because of Unite. This is going to be rather... interesting, to say the least.

But on the other hand, at least the only thing I need Pro for is to publish my game as I originally planned.
It looks good! It will be my firsr rpg maker game on PC!
I don't particularly like the idea of using C# on something that relies on community this much.

The beauty of Ruby and Javascript is, they are dynamically typed languages. You can expand objects and functions easily and work with undefined variables. It's entirely possible to make various plugins influencing the same scene, sometimes even the same thing, work together.

However, C# is a statically typed language. Everything has to be declared on compile time. I would love to see the code to get my mind changed, but I reckon compatibility patches are going to be a nightmare.
I don't particularly like the idea of using C# on something that relies on community this much.

The beauty of Ruby and Javascript is, they are dynamically typed languages. You can expand objects and functions easily and work with undefined variables. It's entirely possible to make various plugins influencing the same scene, sometimes even the same thing, work together.

However, C# is a statically typed language. Everything has to be declared on compile time. I would love to see the code to get my mind changed, but I reckon compatibility patches are going to be a nightmare.

It's also faster than both of the languages you just mentioned

Plus, it's really not that bad.

You can mostly get away with using `var` to declare variables rather than declaring the static type.

Honestly, you can write class extensions and work with null variables in C# too...


The advantage to using statically typed languages is that you know what to expect.

Function parameters are very explicitly defined. Like, this function will only accept strings and will throw a compile error if you give it a bool or anything else.

This is the same reason why lots of people use Typescript instead of Javascript (TypeScript is just a statically typed version of JS).

Plugin development is largely the same... otherwise the Unity Asset Store would be useless.
The link to that. (for those who don't know where to find it)
VERY excited about Unite! I just started learning MZ recently but gosh, Unite already has a number of features I wish MZ had [like the modeless nav] and we only have the first devlog 😍
Plugin development is largely the same... otherwise the Unity Asset Store would be useless.
Plugin development in Unity asset store works in such a way that the plugins are maintained by the owner. If someone wants an extension, it's solely at the author's discretion. In rpg maker community you don't have just standalone plugins. You have plugins expanding upon existing plugins. And at times you even have other people making compatibility patches or fixes of existing plugins.

Honestly, you can write class extensions and work with null variables in C# too...
I wasn't talking about class extensions per se. Class extensions are nice, but it's pointless to have them if you can't call them.

In Javascript you can have 50 plugins extending the same function through aliasing. This allows you to have 50 plugins that can be compatible with each other as long as they aren't interfering with each other. In C# method overriding is impossible. Once a method is defined, the compiler will ignore any further attempts to override it. This means that extending existing plugins is pretty much impossible unless you have control over the main loop somehow.
In Javascript you can have 50 plugins extending the same function through aliasing. This allows you to have 50 plugins that can be compatible with each other as long as they aren't interfering with each other. In C# method overriding is impossible.


Not quite. In C#, there's a thing called "virtual" and "abstract" functions. If you wanted to override a method, you would inherit from the same class and literally use the override keyword.

public class Animal { public virtual void MakeASound() { throw new System.Exception("You didn't override me!"); } } public class Dog : Animal { public override void MakeASound() { Debug.Log("Bark bark!"); } } public class GreatDane : Dog { public override void MakeASound() { base.MakeASound(); Debug.Log("WOOF WOOF!"); } }

Calling Animal.MakeASound() will throw an error, but it's made to be overridden.

Dog.MakeASound() will print "Bark bark" in the console. It's completely overridden the Animal.MakeASound().

GreatDane.MakeASound() will print both "Bark bark" AND "WOOF WOOF!". Calling base.MakeASound() will call the logic from Dog.MakeASound (the base class it inherits from).

You can recycle the same logic from a base class and extend it.

Tbh, I find this cleaner than JS plugins littering object definitions in 50 different places.


Plugin development in Unity asset store works in such a way that the plugins are maintained by the owner. If someone wants an extension, it's solely at the author's discretion. In rpg maker community you don't have just standalone plugins. You have plugins expanding upon existing plugins. And at times you even have other people making compatibility patches or fixes of existing plugins.

There are tons of Asset Store plugins that integrate with each other.

Typically, C# code is pretty neatly packed up in namespaces. I suppose it's the equivalent of:

import Code from 'package';

This makes it rather easy to access other plugin's code and work with compatibility.


___________________

I'm getting off topic, but I use Javascript a ton at work and I definitely prefer using C#.

If you're interested in picking up the syntax and such (if you don't already know), check out the latest edition C# Player's Guide.
Not quite. In C#, there's a thing called "virtual" and "abstract" functions. If you wanted to override a method, you would inherit from the same class and literally use the override keyword.
I see we've got a syntax clash here. I'm a C++ developer, so I know how virtual and abstract functions work. In fact they work the same in Javascript too, although you don't see it much there. However, I am not talking about overriding parent definition with child's definition. But overriding the very function itself. In other words changing the definition of an already existing function.

Code:
function foo() {
console.log("foo");
   };
var bar = foo;
foo = function() {
   bar.call();
console.log("bar");
   };
   
foo();

Calling foo() will print "foo" and "bar".

It is a kind of dirty practice, however given the large community drive behind the plugins it offers a very easy way to integrate even potentially incompatible plugins. No such thing will be possible in Unity, because we won't be able to change function definitions to fix compatibility issues between plugins.
Oooo yeah, I see what you mean there.

Yikes, yeah that is really anti-OOP which C# is the foundation for.

Tbh, I'd be fired if I wrote anything like that at work lol.

In the end, to accomplish this in C#, you'd have to use inheritance or maybe Action and Delegates.

C#:
public class FooClass {
    public Action BeforeMethodCall;
    public Action AfterMethodCall;

    public void Foo() {
        BeforeMethodCall?.Invoke();

        Debug.Log("foo").

        AfterMethodCall?.Invoke();
    }
}

var fooObj = new FooClass();

fooObj.BeforeMethodCall += delegate() { Debug.Log("I happen BEFORE foo is printed.")};
fooObj.AfterMethodCall += delegate() { Debug.Log("I happen AFTER foo is printed.") };

fooObj.Foo();


// Console Output:
// I happen BEFORE foo is printed.
// foo
// I happen AFTER foo is printed.

Events are pretty handy for injecting logic.

For any JS devs, delegates are pretty much anonymous functions.
It's also faster than both of the languages you just mentioned
Not really. Both javascript/ Node.js and C#/mono performance actually comparable.
Not really. Both javascript/ Node.js and C#/mono performance actually comparable.

A compiled language is always faster than an interpreted language.

This is why you don't see many game engines built in Javascript (unless it's an HTML5 engine).

Yet, you'll find a good amount of C# based game engines.
A compiled language is always faster than an interpreted language.

This is why you don't see many game engines built in Javascript (unless it's an HTML5 engine).

Yet, you'll find a good amount of C# based game engines.
it's not that easy, it's actually very hard to have fair comparison between different programming languages, many things need to consider, practically.

For example :
this benchmark has specific criteria to meet when comparing different performance of programming language.
it's not that easy, it's actually very hard to have fair comparison between different programming languages, many things need to consider, practically.

For example :
this benchmark has specific criteria to meet when comparing different performance of programming language.

I suppose at this point, you aren't testing the speed of the languages -- rather their frameworks that they're built in.

For instance, Node is faster than Mono in a lot of places, yet slower than .NET in many places.

Unity uses Mono by default, sure. I typically change the scripting backend to .NET 4 in any new project I make, though.

In the end, it's maybe less about speed but more about which language is better for games.


You'll find most prominent game engines use statically typed, compiled languages like C# or C++.
A compiled language is always faster than an interpreted language.
not always - there are disadvantages to compiling as well, or all interpreted languages would have gone the way to the trashcan long ago.
it's the same as with the eternal discussion about 3D being better than 2D - no, for quite a lot of cases 2D is better or everyone would make every game with 3D by now.

but that leaves the topic here
not always - there are disadvantages to compiling as well, or all interpreted languages would have gone the way to the trashcan long ago.
it's the same as with the eternal discussion about 3D being better than 2D - no, for quite a lot of cases 2D is better or everyone would make every game with 3D by now.

but that leaves the topic here

It's more about use case, here.

Like, if I want to build a web server or web API -- I'm not choosing C# or C++...

I would use Ruby or Python or JS. It's faster to do so and easier on the web -- there's a ton of ways to optimize servers that the languages speed ceases to make a huge difference and the developers prioritize ease of use and rapid iteration.

For a game, that's run on individual hardware rather than being retrieved from a server someplace -- that speed difference starts to matter.

An example being: the average web server has to respond in 300ms or its considered too slow. Think of this as the time it takes for a website to load when you visit.

In game development, if a function takes that long -- it's lag. Because games are real-time.

Not only that, a lot of the errors you run into with dynamic languages aren't possible with compiled languages. Example: passing an array to a function that's meant to take a string == compiler error (big reason why JS developer love Typescript).

In a field as bug prone as gamedev, a dynamic language can also lead to developer mistakes especially depending of their skill level.
yeah, i can see that typed language is suitable for large scale application. But now there is A Proposal For Type Syntax in JavaScript

yeah, i can see that typed language is suitable for large scale application. But now there is A Proposal For Type Syntax in JavaScript


This is cool! I hope it goes through.

But, we're getting off topic lol.

I think Unite will lead to some really cool stuff -- I definitely plan to game jam with it. That's actually a good idea, to have a Unite game jam sometime after launch.

Definitely plan to contribute to the community once it's up and running.

My main point is: Don't fear C#. It'll take getting used to, but it's a good language to know!

Original thread: https://forums.rpgmakerweb.com/threads/so-uh-whats-this-rpg-maker-unite-thing.144933/