FullCountNotRecount
(860 posts)
Send PM |
Profile |
Ignore
|
Mon Jul-25-05 08:34 PM
Original message |
What's best programming language to create games for mobiles? |
|
I want to learn how to program games and I read the best language is C++ but Jave 2ME is said to be good to learn. Can I program anything with visual basic on my laptop?
Thanks for any info.
|
seemunkee
(1000+ posts)
Send PM |
Profile |
Ignore
|
Mon Jul-25-05 08:37 PM
Response to Original message |
1. What do you mean by mobiles? |
|
phones, pda, or laptop. Pocket PC and many phones do not have a java virtual machine. You should be able to do VB on a laptop.
|
aePrime
(676 posts)
Send PM |
Profile |
Ignore
|
Mon Jul-25-05 09:05 PM
Response to Original message |
|
And what type of experience do you have?
C++ is a widely used language, and it therefore has many libraries written, but C++ has a rather steep learning curve when compared to most other modern languages. C++ allows you to shoot yourself in the foot quite easily; it takes many years of experience to be able to write C++ code that is both efficient and safe, but C++ also has OpenGL libraries and game engines available.
Java is more user friendly, and enforces object oriented programming more strictly than C++ (in C++ you don't have to do OO programming at all, but then you're just using C++ as a better C). Java gets rid of many of the problems related with C++ -- there are no memory leaks, there are no pointers, etc... . Java also has a native GUI environment (C++ does not, but there are many toolkits that work with C++), but I'm not a big fan of it (it's called Swing). It's also possible to write OpenGL for Java, but I've never tried it. The Java code will run a little bit slower than the C++ code.
With either language, you'll have to learn your OO concepts to get the full power of the languages. I've never written VB, but I'm assuming that you have VB experience. I have no idea if VB is OO or not.
|
DU
AdBot (1000+ posts) |
Thu May 02nd 2024, 12:27 PM
Response to Original message |