+ 3
I want to make a game ...so what should I prefer..?? pls tell me??
gamming..
12 Answers
+ 5
Not at all. Both are independant languages with their own pros and cons. Anything you can create on Java, you can create on C++, and vice versa. Even more so that they are both object oriented languages.
+ 2
Depends what kind of games. Text based games can be made without any external libraries. 2D based games can be made with graphical libraries, such as SDL, and 3D games can be made with 3D engines such as Unreal or OpenGL. Make sure you have a fairly thorough understanding of basic C++ concepts before you start dabbling in this stuff, though.
+ 1
What's a library?
+ 1
A library is a pack of source code and header files that you include in to your program, so that you are able to use the functions inside that library.
In short, a library is just a bunch of functions that make your job as a programmer, a lot more easier. With a library such as SDL, they have functions to load images, load windows, render on to that window etc. If you was to create that functionality from scratch, no doubt it would take you a rather long time
So the SDL library is there for you to use and include in to your programs, so you can use the functions that are includedđ
0
is Java compulsory for c++ game programming :/
0
Java is a fantastic language and I urge people learning programming to learn it. I know they have made advances with Java but I don't think it's robust enough for hardcore games. text based or SI.please 2D graphics games are easy enough to do with Java. Most major 3D engine though is based in C++.
0
u can make a game by using 3d engine like opengl or many other but ur basics in c++ should be clear.
0
Stefano Nebo. C++ and Java are independent languages, you can learn either one or both if you want to. but when programming you will have to use the language your IDE supports. Both languages have similar functionality but different syntax
0
Try to find a simple game, recreate it, and modify it. For instance, I recommend Digger HD.
a
0
no need of learning java for making c++ games..
0
use turbo c++ bcz it include graphics in it..
- 6
you need to learn java first.