• Log in or sign up for an account here: https://www.sythe.org/login

C++ or Java???

Which one is better?

  • Java

    Votes: 26 38.8%
  • C++

    Votes: 40 59.7%
  • Other(Post it name)

    Votes: 1 1.5%

  • Total voters
    67
Status
Not open for further replies.
Joined
Jan 31, 2007
Sythe Gold
0
Messages
447
Location
Argentina
i want to do a 2D game like runbescape....i know that runescape is made in java but whats better to do this???C++ or Java???
 
it depends i suppose both could make a game but java would be easier to learn before game programming i would suggest that you get the basics of the language down and then try to expand your knowledge and make games
 
UWotM8?
For a faster time to make a game like rs, Java definatly, for a better looking and better game, C++, for the best of both worlds python.
 
well to make a game like runescape java is better. c++ is a bit harder to learn and takes more time. like java is easy, c++ maybe hard but it also works with everything! :-D
 
c++ is hard but extremely fast
Java is easy but not that fast

if you want to write a game i strongly suggest java as it is simple to use, and fast enough. Thesedays java can have 3d games with top notch graphics, so it shouldn't be a problem handling some 2d game.
 
UWotM8?
tbh uncomparable, java is platform independant, c++ is very platform dependant. c++ would need an exe, java could embed on a web page. C++ would be faster, java would be smaller. They are polar opposite languages. Its like comparing an apple and an orange.
 
if you want gaming etc, Java, but if you wana hack like games C++ can hack moslty everygame, my friend OneWhoSighs hacked Runescape, he made something which i dont know... something to do with worlds..

with C++ i created a program for runescape, Once it fully kicked everyone out of the game :) << dont tell me it was server shutdown because it was not.
 
CrimsonFire, I know you from mafiacoders and I honestly doubt any of what you said in that post was true. :| I do like your launcher for gunz though, even though you took a lot of the source from dexgod ;p.

Don't listen to 1337 Byte, I don't know why he thinks java sucks...I mean java cross platform (everyone can play your game, regardless if they are a windows or linux user) and it's fast enough for what you want to do.

IMO If you're starting off in programming use java, because java is basically a simplified version of C++. If you're gonna make a 2D game java will work fine...if you later want to add 3D graphics, you can still do it in java, but chances are it will run a lot slower because of the way java creates a "virtual machine" so it can run on all platforms. If you get to that point, you may want to consider learning some type of "C" language: C++ or C#. I'm not sure if C# works well for games or not, but I know its a useful language to learn...

Another option is Visual Basic, which a lot of 2D game engines are made in.
 
tbh uncomparable, java is platform independant, c++ is very platform dependant. c++ would need an exe, java could embed on a web page. C++ would be faster, java would be smaller. They are polar opposite languages. Its like comparing an apple and an orange.
True, but that doesn't mean you cannot determine which language is better for specific purposes.
If it's for a game, speed is a necessity, therefore c++ is best. Use OpenGL if you want a cross-platform game (which I doubt you do).
 
i learned C++, with that i created Dlls for Gunz,
i dont play Games, i hack games and then release hacks.. Remember SantaClause.dll? i made it with a little help from Phun/Phailz/waryas/Novocian..

they told me about Gunz and i created Plvl they helped me with some Other Codes.

now going to learn Packet Editing. For me C++ is a strong language, Some of the times i thought i should leave Learning C++ and start learning something else. I should learn VB, which i am now and maybe later one learn Perl :)
 
tbh uncomparable, java is platform independant, c++ is very platform dependant. c++ would need an exe, java could embed on a web page. C++ would be faster, java would be smaller. They are polar opposite languages. Its like comparing an apple and an orange.

I KNOW THIS ONE!
ITS A PEAR!
AM I RIGHT?
WHAT DO I GET?
 
Depending on how you want the game, web-based or not. If you want it web-based i recomend Jave, on the other hand if you want it to be like a clinet(program) Then i recomend C++. In the long run C++ comes out on high heels, but the choice is yours, i can only give my opinion.
 
Status
Not open for further replies.
Back
Top