Jump to content

unity 2d game with Java

easylifeforme

Hey everyone,

 

I'm doing a school project for my computer class and I'm trying to use unity to make a game, however it can't be in C it needs to be in java. Does anyone know of any tutorials for unity that would help me make a 2d game? If you do thank you a ton.

Link to comment
Share on other sites

Link to post
Share on other sites

Unity runs on the Mono framework, and only supports C#, UnityScript, and Boo.

 

You'd have to use something like LibGDX http://libgdx.badlogicgames.com/

main(i){for(;i<101;i++)printf("Fizz\n\0Fizzz\bBuzz\n\0%d\n"+(!(i%5)^!!(i%3)*3)*6,i);}

Link to comment
Share on other sites

Link to post
Share on other sites

First of All, as always dont mistake Javascript with java ..

As was said - it uses C# (personally using just for networking or AI stuff , algorythms) then UnityScript (Basically Javascript in different jacket :) ) which i use basically for every minor code.

If your game need to be in java, then you cannot use Unity, BUT there are plenty of libraries for java.

You can try lwjgl (light weight java gaming library(mostly for 3d stuff)) or SlickUtils for 2d game development.

Still depends on what does your school expect from you .

You can just use Swing and just paint the graphics and as a game idea you can go for tick tack toe . (i guarantee you will learn much even from something like this). 

As i said, depends on expectations/requirements.

Feel free to message me back if you will need any help .

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×