New account registration is temporarily disabled.

C++ AND JAVA

Posts

Pages: 1
I really like this community and I don't really see many users using custom engines (well the name of the community is RpgMakerNet so It woudl be weird if it wasn't that way) So I decided I will go for it more things to learn but also more freedom. and in the future support users who want to create a game with custom engines,

But to be honest I am little lost, I got two big languages of programming, Java and C++, I decided to go for java because they told me it is friendly with android, android? well why not, and now learning 3 hours per day and actually enjoying it a lot. the problem is that I don't really see many things of great games with java (minecraft only)and a lot of C++.

And thanks to my friend google see that there is not actually best, some prefer java and some others c++ and I even thinking of integrating this two since I don't know wich one to choose.

So for those who know programation (no matter if is not much) I would like to read what do you think?

Sorry for my lack of english and if this topic has already been in the community I wouldn't have a problem if it ends in the archives.
It is possible in Java and C++. I personally would use C++ if I was limiting myself to those two, just because I like it better. It doesn't really matter what you use though. Just start with the basics and go from there.

My friend is currently working on an Action RPG Engine and Creator to be able to easily develop games similar to the first Diablo. I'm helping out a little mostly with graphics, but once it's completely done (soon...) we're thinking of making tutorials about developing your own RPG from scratch.
dragonheartman
Developer, Starless Umbra / Heroes of Umbra
2966
When it comes to choosing a language, there are always tradeoffs.

C++ is the faster of the two, but Java does a little bit of extra work to ensure you're accessing valid memory, pointers aren't null, and so on. Both can be cross-platform, but Java is generally the easier of the two due to it's utilization of the Java Virtual Machine, system architecture is negligent.

Jumping in to developing a full-length game on the Android platform is a bit difficult for beginners but by all means I would say give it a go if you have the ambition. The only problem is in order to do anything moderately complex you need to use the OpenGL ES library, which can be a bit tough as well. I'm working on a small game on Android in my spare time and it's a challenge, but I'm enjoying it otherwise.

I've actually been programming for longer than I've been using RPG Maker (since 2002), however, RPG Maker manages a lot of the pains of creating your own game/engine from scratch, and creating an RPG takes a really long time.
author=Julev
we're thinking of making tutorials about developing your own RPG from scratch.


Yeah, actually that is also one of my biggest goals to achive, game tutorial on java or C++

author=dragonheartman
When it comes to choosing a language, there are always tradeoffs.

C++ is the faster of the two, but Java does a little bit of extra work to ensure you're accessing valid memory, pointers aren't null, and so on. Both can be cross-platform, but Java is generally the easier of the two due to it's utilization of the Java Virtual Machine, system architecture is negligent.

Jumping in to developing a full-length game on the Android platform is a bit difficult for beginners but by all means I would say give it a go if you have the ambition. The only problem is in order to do anything moderately complex you need to use the OpenGL ES library, which can be a bit tough as well. I'm working on a small game on Android in my spare time and it's a challenge, but I'm enjoying it otherwise.

I've actually been programming for longer than I've been using RPG Maker (since 2002), however, RPG Maker manages a lot of the pains of creating your own game/engine from scratch, and creating an RPG takes a really long time.


thanks, I think I will investigate about the OpenGL ES library, by the way what language are you using now.

also, longer than you have been using RPG maker?, wow (maybe that's why I love starless umbra :P)
slash
APATHY IS FOR COWARDS
4158
C++ is typically considered the industry standard for game development. Aside from Minecraft, Java isn't hugely prevalent; I believe many programmers have issues with the memory management, especially for console development. Whether this is good or bad, I can't say, but I know there's going to be a much larger amount of resources and information on C++ engine development, and that can be huge if you've never made an engine before.

If you don't need to develop an engine, I highly recommend against it, but if you like to have that fine-tuned control then you have to resort to a hand-made engine.

Good luck!
Yellow Magic
Could I BE any more Chandler Bing from Friends (TM)?
3229
author=MrChearlie
But to be honest I am little lost, I got two big languages of programming, Java and C++, I decided to go for java because they told me it is friendly with android, android? well why not, and now learning 3 hours per day and actually enjoying it a lot. the problem is that I don't really see many things of great games with java (minecraft only)and a lot of C++.
Runescape? 8U

EDIT: I agree with slashphoenix for the most part; in terms of game development C++ is the way to go. Android may not be the best idea because of problems regarding compatibility with different-sized gadgets and the like (although I think Ice Cream Sandwich fixes this problem somewhat)
@slashphoenix well, that is indeed a huge advantage on C++ and well the reason of why I am learning programming is not because of I need it, it is because I want to be able to do it and do cool things with it.

@Yellow Magic I really hate that game (some things I really don't want to mention), but yeah I deserves credit, my bad :/ sorry.

K-hos
whoa You guys are hi-chaining without me? That's just not right. :<
721
I would go with C++ myself, as it a little less restrictive than java.

But really, if you get good at one you won't have much problem learning the other.


Also I am making a versatile 2D game engine in C++. :>


Also you can use C++ (or maybe it was just C) on android with the NDK.
dragonheartman
Developer, Starless Umbra / Heroes of Umbra
2966
author=MrChearlie
thanks, I think I will investigate about the OpenGL ES library, by the way what language are you using now.

also, longer than you have been using RPG maker?, wow (maybe that's why I love starless umbra :P)

I'm using Java and C++ concurrently. For Java, I'm developing a simple Android game and for C++ I am writing plugins for DynRPG, specifically for SU and once the bugs have been ironed out they'll be available for the general public (the one or two others that still use 2k3 over here).
There are more games in C++ because C++ is older, better established, and favored amongst more experienced programmers. The speed difference is, in my experience, negligible and JAVA is much more programmer friendly; its libraries are simpler and its syntax is actually based on the idea of simplifying C++. I use both but I do like JAVA for that. You can make a good game in JAVA; for the most part, if not 100%, if you can do it in C++, you can do it in JAVA.
@dragonheartman

How it helps knowing both?
dragonheartman
Developer, Starless Umbra / Heroes of Umbra
2966
author=MrChearlie
@dragonheartman

How it helps knowing both?

The programming concepts will carry over from Java to C++ and vice versa. It's just a matter of learning the syntax of the languages.

C++ is the industry standard for games because of it's speed and age, but games in Java and C# are also emerging. It really depends on how comfortable you are with programming concepts. Learning those concepts also helps you do greater things even with RPG Maker. :)
The language you learn between Java and C++ doesn't really matter. If you learn how to program you practically learn how to program in all languages, the only thing that you would have to adapt to would be the syntax. I see C++ as a more powerful language because it is low-level and being low level means it can be used to develop applications like keyloggers and etc. Thats why most hacking prorams and viruses are coded in c++, because the access is there.

Java however is a high level langauge and you do not have access to the computer's resources like you do in C++. Java is a good langauge to start with because you learn object oriented programming and the basic concepts are easier to learn in Java. The syntax of Java and C++ are fairly similar with only a few differences because C++ has more options added to it.
Well, that's pretty much all, so thanks ;), anyway if someones has something more to help in this topic feel free, it could help or even help someone else.
Pages: 1