Advertisement Jump to content
Sign in to follow this  
Spikes1471

Does Unity2D/3D let you code with Java?

This topic is 1776 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Edited by Spikes1471

Share this post


Link to post
Share on other sites
Advertisement
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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!