|
Post by Maindric Games © on Jun 8, 2008 20:27:09 GMT -5
Out of hobby, I wanna learn one to make games with. I want one that is simple to learn (Well, I mean not as complex as gibberish) decent performance, and more worth the time. Eh, basically, which one is best to learn?
|
|
|
Post by Doan the Nado on Jun 9, 2008 6:37:49 GMT -5
Um, neither? Java isn't widely used for making games, and C++ is a bear to learn as a first language. I would recommend Python ( python.org) for intro programming. There is a great tutorial there to get you started, and once you get the hang of the basics, you can check out pygame.org, as well as any number of other sites that you can find after a search for "Python game programming" on Google. In short, if you try to start with C++ or even Java, you will likely get frustrated pretty quickly, as you will be fiddling with variable declarations and other crap that is really incidental to what you want to do. With Python, you will be jumping right into what it is you want to do. Once you get some real programming under your belt, then maybe you can give C++ a try, but I definitely wouldn't suggest it to start with.
|
|
|
Post by Maindric Games © on Jun 23, 2008 22:01:33 GMT -5
Hm... After some deep thought, I decided to go with C++.. I see the complication good for me. Because I am determined to get through the books. If I give up after that, I still wanna program, so then I go to a simpler program to understand, then that will make me understand that better. But, IF I understand C++, that will give me a head start.
|
|
|
Post by Doan the Nado on Jun 25, 2008 1:04:13 GMT -5
Looking back, I didn't express my complete opinion in my first reply. I know Java, C, C++, Python, Lisp, Javascript, Perl, Bash, and more. Of all those languages, C++ is easily my least favorite to program in (I prefer C to C++). I was not saying that Python is an easier language, or a good language for beginners. I am saying that Python is a better language. For my graduate work, I'm putting together a website that can be found at syrus.cse.ohio-state.edu. All of the dynamic pages are generated in real time by Python code. It takes a large team of developers a long time to build a game in C++. With Python and the associated pygame library, the possibility of creating a game on your own in a reasonable timeframe is much more realistic. But that's all I'll say on the matter. If you're set on C++, that's what you're going to stick with. Either way, good luck.
|
|
|
Post by Maindric Games © on Jun 25, 2008 14:09:20 GMT -5
Heh, I see. As for the time length to actually make a game, I do not expect to make it on my own. I do not expect a reasonable time frame. Right now, I am just self teaching myself allot of concepts that will make it easier in the future for when I go to college for game design or programming or whatever I decide to take (Going to 11th grade next year) and I just want to give myself as much of a head start as possible. The reason I may choose C++ is that allot of people use it, so help at almost every corner, and plenty of books on it, for later reference. It is also supposedly a very strong programming language.
**Edit** I went ahead and started some tutorials online, and this is a small program I made while reading the tutorials.
#include <iostream>
using namespace std;
int main() { int enter; cout << "How old are you?: "; cin>> enter; cin.ignore(); if (enter<18) { cout << "You cannot legally smoke. \n" ; } else { cout << "You can legally smoke. \n" ; } if (enter<21) { cout << "You cannot legally drink. \n"; } else { cout << "You can legally drink. \n"; } cout << "Press ENTER/RETURN to exit program."; cin.get(); return 0; }
Basically it tells you if you can legally drink or smoke. I was gonna do drive as well, but seeing as that differs from state to state and parts of states, it is easier to just leave it out.
|
|