Libgdx Monogame & backend

MonoGame is an open source framework taking over as XNA dies.

MonoGame will be getting PS4 support soon

From MonoGame’s side people have actually already acknowledged how good libgdx is and wrote code and made guides like this: Port a 2D libgdx game to MonoGame

While this is a possibility I am seriously considering, it would be much nicer of course if there was a direct backend.

Since libgdx is very popular and everyone wants a route to PS4, this seems… not that bad.

question about MonoGame is also how good those re-implementations are, performance wise

couple of times the author says it was just a quick port

At the least, the thread title is misleading… This isn’t really about making games in libgdx, it’s about getting rid of libgdx+Java and replacing with MonoGame/C#/VisualStudio.

You have a point that libgdx+Java doesn’t have a good path to PS4, while all the other major engines including Mono, Unity, Unreal, etc do.

Hopefully, the RoboVM guys can flesh out a PS4 production path, like they have with iOS, and give developers options, and let people who want to use libgdx or jMonkeyEngine the choice to do so.

Hmm… I really love Eclipse, because you can hot swap code… I don’t know about C# compile times, but C++ seems to take 10 times more time before it starts for me… Thats another draw back for me :smiley:

And the title is really misleading… I thought it will be a how to port libgdx game to monogame, but… Owell…

C# is closer to Java than C++. It’s just the name that is similar. Like JavaScript has a similar name to Java, but the technologies are quite different.

Well, it is about how to port your game off of libgdx and get rid of libgdx… I expected this was some Mono backend for libgdx.

well yeah I said

[quote] it would be much nicer of course if there was a direct backend.
[/quote]
Now in that guide you can see that they saw libgdx and created a whole bunch of classes that have the same API as the libgdx classes to make migrating easy.

backends like the libgdx GWT HTML5 backend do translate your code into GWT code.

while C# and Visual Studio arent bad, I too would really favor a real backend.
I can’t imagine it would be THAT hard… of course if you want to port all of libgdx including 3D, that might be a mouthful

Compiling with C# is just as fast as Java; C++ is slow as ass yeah

I wonder if Visual Studio has hot swapping… gotta check their debug features. But remember while eclipse is loved by many, most game developers across the board do use Visual Studio

Sure, Microsoft tools are dominant, which is why I like this site as one of the very few voices for non-Microsoft centric tool chains.

… BTW, I don’t really like Eclipse. I like Gradle/SBT for project definition and builds, and something like IntelliJ for editing/browsing.

IntelliJ changed my life!

Although personally use Eclipse, IntelliJ’s has some really cool features e.g:

Eww hungarian notation? :stuck_out_tongue:

Anyway, did not know that about the Color thing in IntelliJ. Nice to know! Seems to only work with java.* imports tho. Wonder if you can teach it to also show the color for libGDX Color class?