Advertisement

Does Unity2D/3D let you code with Java?

Started by March 11, 2014 11:43 PM
1 comment, last by Fiddler 10 years, 10 months ago

So does Unity let you code with Java? I want to TRY to make a game with Java. Is it possible? (In Unity)

EDIT: Also what engine should i use to make HTML5 Games?

No. Unity allows you to program with UnityScript (which is very similar to JavaScript (which despite the name, is unrelated to Java)), C#, or Boo (which is similar to Python).

You could try libgdx if you're learning Java - it's a lower level framework, but is quite capable, very popular, and I believe can export HTML5 projects. jMonkeyEngine is also a popular choice for Java developers.


Construct 2 is a popular and easy-to-use option for creating HTML5 games. You could also look at Game Maker.

- Jason Astle-Adams

Advertisement

You might be able to use IKVM to compile Java to a .Net dll that can be used in Unity. The main caveat is that Unity is using a very old version of the Mono runtime (2.6.x IIRC, which is half a decade old), so you might hit some odd bugs.

That said, I am extremely impressed by how well IKVM works. 9 times out of 10 you can just grab a random Java project, compile it with IKVM and it will run on .Net on first try.

[OpenTK: C# OpenGL 4.4, OpenGL ES 3.0 and OpenAL 1.1. Now with Linux/KMS support!]

This topic is closed to new replies.

Advertisement