Advertisement Jump to content
Sign in to follow this  
kyokai

Question about Java Vs. C# Vs. C++

This topic is 4646 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

I'm fairly new to Java, I can make Apps and Frames and stuff like that, but I am curios as to what I should use to make a game, something like a zelda type of thing. Java, C#, or C++. Many thanks in advance.

Share this post


Link to post
Share on other sites
Advertisement
Any of the mentioned languages could be used to make a zelda clone, or pretty much any other game for that matter.

Share this post


Link to post
Share on other sites
Hi, welcome to the world of programming! It IS possible to create a Zelda-type game in Java, both 2d and 3d, but a 3d game in Java is... in one word: pointless. Java is way too slow for 3d games.

Share this post


Link to post
Share on other sites
For a Zelda type game, any of the above would work. If you are comfortable with Java, you can even stick with it to get a taste of the 3D graphics world using LWJGL (Light Weight Java Game Library), which gives you access to OpenGL and some other stuff: www.lwjgl.org

Most commercial games are written in C/C++, but until you get to a certain level of proficiency, it doesn't really matter which language you use.

Share this post


Link to post
Share on other sites
You know there should be a disclaimer that says you can make a game in just about any language [smile]

To answer your question directly, you'll be just fine with Java.

Share this post


Link to post
Share on other sites
Quote:
Original post by WiseElben
Java is way too slow for 3d games.


We don't want to start any sort of flamewar here, but that information is **VERY** old. Java can be compiled JIT now, and performs very well. Then throw in the fact that most graphics work is being shoved onto the GPU nowadays, and it is even less accurate.

Like I said before, Java is fine to get started, and probably will be fine to continue with by the time to get to the point where performance is an issue.


Share this post


Link to post
Share on other sites
Thanks a lot you guys, I'll stick with Java, but I will probly slip into C#, or C++, along with sticking to Java.

Share this post


Link to post
Share on other sites
Quote:
Original post by smitty1276
Quote:
Original post by WiseElben
Java is way too slow for 3d games.


We don't want to start any sort of flamewar here, but that information is **VERY** old. Java can be compiled JIT now, and performs very well. Then throw in the fact that most graphics work is being shoved onto the GPU nowadays, and it is even less accurate.

Like I said before, Java is fine to get started, and probably will be fine to continue with by the time to get to the point where performance is an issue.


Well, I never realized this. When did this happen? Along with Java 1.5 or something? Anyway, sticking with Java is a good choice. Once you get a grasp of Java, you can easily learn C# and C++. Good luck! =)

Share this post


Link to post
Share on other sites
Quote:
Original post by WiseElben
When did this happen?


JIT happened a long time ago. Hardware accellerated Java3D happened in 1.5.

Share this post


Link to post
Share on other sites
Take a gander at Tribal Trouble - the poster child for Java games. They recently posted their sales stats online. You can take the approach they did and use LWJGL for direct access to OpenGL, OpenAL, and native input (or take an alternate approach with JOGL, JOAL, and JInput - all of which can be found at javagaming.org). Or you can take an entirely different approach and go with the Java2D API like Three Rings did with YoHoHo! Puzzle Pirates (though they are going with LWJGL for their next game, Bang! Howdy).

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!