|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (9 bit)
Join Date: Apr 2005
Location: Virginia Beach, VA
Posts: 259
|
Programming beginner...
ok so I know this question gets asked alot, but I haven't found too much about what i want to do.
I would like to get going down the path of computer programming, ultimately ending up with game programming and pursuing that as a career. What I want to know is, what are the most used programming languages used in game programming and what I should start out learning first. Thank you. |
|
|
|
|
|
#2 |
|
Banned
|
I'm not a game programmer, but I believe that start out with C++
|
|
|
|
|
|
#3 |
|
Professional gadfly
|
I would recommend starting out with either Java or C++. Most game programming is done in C++, but Java is a good language to learn the fundamentals of programming. Most of your Java skills will transfer over to C++.
Learning a programming language's syntax is easy. Learning how to program is the tough part. |
|
|
|
|
|
#4 |
|
Banned
Join Date: Mar 2005
Posts: 210
|
start withe python then go to java then to C then to C++
|
|
|
|
|
|
#5 |
|
Moderator
Staff
Premium Member
Join Date: Aug 2003
Location: Richmond, VA
Posts: 7,835
|
For the uses you specified, you might benefit from looking at C++ first.
kram
__________________
"For today, goodbye. For tomorrow, good luck. And forever, Go Blue!"
University of Michigan President Mary Sue Coleman |
|
|
|
|
|
#6 |
|
Member (10 bit)
|
They teach Dev C++ at my high school and I used to go in there during drivers ed and I would pick up stuff just watching. So i'd look at c++.
It's so much fun to make the My World prgm.
__________________
Lanner ASUS P5B-VM / Conroe E6600 / 2gig Corsair ram / 250gig WD / HX520 psu / EVGA 8800GTS / Lite-On DVD Burner / Thermaltake LANBOX LITE / XP Pro |
|
|
|
|
|
#7 |
|
~ Ryan ~
|
How long do you actually have to learn programming before you would really have to make a decision that that is the career you want to pursue? Maybe your school, or a local organization gives lessons in C/C++, but there is also JAVA and BASIC, which is a good one to teach your self, I taught myself BASIC and hope to start taking courses in C/C+ this coming year at an institute near me.
|
|
|
|
|
|
#8 | |
|
Barefoot on the Moon!
Staff
Premium Member
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,385
|
Quote:
Typically, most people go from C, then move on to java or C++. Java is more like a swiss army knife, while C++ is more of a specialized application language. They are both based on C, however. If you wish to go into more web-based stuff, take java. If you want to simply code applications and games, go with C++. As for BASIC and COLBOL, there isn't much call for those these days unless you work in an older banking branch.
__________________
There are two secrets to staying young, being happy, and achieving success. You have to laugh and find humor every day, and you have to have a dream.
|
|
|
|
|
|
|
#9 | |
|
Member (8 bit)
Join Date: Jul 2005
Posts: 177
|
Quote:
From the time I've spent with it I definitely would say it is much easier to learn than some other languages I've played with such as C++ and even VB. As someone else said here syntax is easy, learning to contruct logic and program flow is the hard part. So, learn a language that is easy to learn and flexible first. Python fits the bill on both issues. Once you've learned how to program then move on to the more complex languages. You'll be able to transfer the how of programming into the more complex languages fairly easily. Here is a link to an online book called "How to Think like a Computer Scientist" that is based on Python. It's the best book for total rookies that I've run across so far because it delves into the beginnings of how to construct programs and logic along with Python's syntax. This is something very few beginner programming books do. They normally spend almost all their time on syntax. As a programming noob I highly recommend it for it has taught me things none of the other programming books I've started on have taught me. I'll finish this one because it doesn't leave me in the dark about the most difficult part of programming. I've already learned more about how to to construct logic from this book than I did from a college level javascript course. |
|
|
|
|
|
|
#10 |
|
Dark
|
i would recommend an easy language for beginners with visualized objects such as VB or Delphie. than go to something a little bit harder like C++ or java (there almost the same thing) than on to something harder such as pascal. But since you want to be a game programer i recommend stoping at C. But start with visual objects thats the easy'st one.
|
|
|
|
|
|
#11 |
|
Dark
|
FOR EXAMPLE THIS IS AN EASY JAVA PROGRAM I MADE IN "Ready to program". THE USED KEYS ARE IN FRENCH BUT THE BASIC KEYS ARE THERE. BTW IN VB THIS WOULD BE LIKE 4-5 LINES INSTEAD OF 40 like this one
PHP Code:
Last edited by Force Flow; 08-13-2005 at 04:49 PM. Reason: inserted java code into a code box. |
|
|
|
|
|
#12 |
|
Barefoot on the Moon!
Staff
Premium Member
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,385
|
Python is more of a web programming language than a application design language.
As for Visual Basic, it teaches you bad coding habits. [edit]: here's some information on game programming: http://www.gpwiki.org/ Last edited by Force Flow; 08-13-2005 at 04:52 PM. |
|
|
|
|
|
#13 | ||
|
Member (8 bit)
Join Date: Jul 2005
Posts: 177
|
Quote:
Doesn't application design use object-oriented languages with which you can create modules and call them at will to create logic and program flow? Aren't application design languages used to create gui's? Don't application languages interface well with other languages such as Java and C? Can application design language code easily be translated into other compiled languages? All this is routinely done with Python. From the "Python Advocacy HOWTO: Quote:
|
||
|
|
|
|
|
#14 |
|
Barefoot on the Moon!
Staff
Premium Member
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,385
|
I simply don't suggest it in this case for this main reason: it is not a common language for use in game programming. It has its obscure uses, but one of those uses does not normally lay within game programming.
Python is occasionaly bound to C++ in game programming for various specific tasks, albeit rarely. |
|
|
|
|
|
#15 | |
|
Member (8 bit)
Join Date: Jul 2005
Posts: 177
|
Quote:
I actually tried starting with C++ in an attempt to teach myself to program and it was very, very difficult. Unless you're some kind of natural genius at programming it can get pretty discouraging starting at such a high level. Python is much easier to understand and work with. Sure it doesn't do as many things as well as C++ and isn't nearly as fast in larger projects, but for a rookie, does that really matter? It seems to me that learning the fundamentals of program construction is much easier inside a simpler language because the language itself is easier to learn and that should count for a lot in the choice of language used to learn the basics. But, like I said, I'm a rookie at this so there are probably a lot of things I haven't taken into account. |
|
|
|
|
|
|
#16 |
|
Barefoot on the Moon!
Staff
Premium Member
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,385
|
Python is add-ons depend on the C++ components.
Unless you have a really strong desire to force Python to work, you'll be wasting time learning a language that you really won't use. You don't *have* to start working on complicated projects with C++ or java. Everybody starts out with a simple "hello world" and builds up from there. |
|
|
|
|
|
#17 |
|
~ Ryan ~
|
This is the code I wrote a few days ago in LIBERTY BASIC for a hangman game, its a little complicated and around 1350 lines, but you might get the idea. I taught myself BASIC and i like its simplicity even tho i want to move on to C and c++ I'm glad i stared out with BASIC.
|
|
|
|
|
|
#18 |
|
Dark
|
WOW, that was alot of copy and paste. But Visual Basic is even easyer
|
|
|
|
|
|
#19 | |
|
Barefoot on the Moon!
Staff
Premium Member
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,385
|
Like I said, BASIC isn't used much any more. As you can see, it's quite ineffecient for a project even that small. Plus, it's not even object oriented, which would make no sense for what Stevevai9 wants to learn about.
I think we are forgetting about his origional question here. Quote:
|
|
|
|
|
|
|
#20 |
|
~ Ryan ~
|
The thing with VB is that you dont really get to see how the programs functions work in accordance with one another, you just click on the button and write the code for it, but you dont see the code that was created when you drew on the button, for the non object oriented languages and softwares you write out where you want the button, make a jump from it to its functions, and so on, as opposed to drawing it out. We use VB at school and I only took the course for the credit, but I taught myself on Liberty and personally I like Liberty better, I understand it better. Logic is one of the main requirments in writing programs, and good mathematical skills are also good, for instance if you wanted to make a slot machine you have to make it with a proper mathematical funtion so that the chances of getting a jackpot are difficult.
|
|
|
|
|
|
#21 |
|
Dark
|
I started with pascal, and to tell you something,i did'nt understand anything. so then i decided to go with Oriented objects (delphie) and understood much better, because it was easyer. when i started java much later, the only thing i had to add was the lines for the buttons and ect... But the logic stayed the same.
But to return to topic, it depends on the game you want to make, I did MineSweeper in Delphi, and Utopia (http://games.swirve.com/utopia/) in java. Everything depends on the game you want to do, because some games are easyer to do with other programes |
|
|
|
|
|
#22 | |
|
Member (8 bit)
Join Date: Jul 2005
Posts: 177
|
Quote:
|
|
|
|
|
|
|
#23 |
|
Dark
|
^ totaly agree.
|
|
|
|
|
|
#24 | |
|
Barefoot on the Moon!
Staff
Premium Member
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,385
|
Personally, I think it's a waste of time to learn a programming language that you will never actually use.
Just because C++ or Java can be used for complicated and invloved projects doesn't mean the logic is hard. The logic is only as hard as the project at hand. Quote:
If you need to find a way to perform an action in sequential order, logically, you would always go "A", "B", then "C". This sequential order would be the same with Java, C++, .NET, VB6, etc. If you need practice with logic, that's where psudocode and examples comes in. Take the act of changing a tire. What are the logical steps for changing a tire? Do you try to unscrew the nuts while the car is on the ground, or do you raise it up? Which way do you turn the nuts? You start getting into the habit of thinking logically soon enough. It just takes some practice. All you need to know is what you have to start with, where you need to go, and the tools you have to do it. Then you can do just about anything. |
|
|
|
|
|
|
#25 |
|
Dark
|
yes, but when you start with oriented objects, you dont need to write the objects codes, just the solution. thats why you take it easy than go harder. Its like a game. usualy when you play a game you start off at an easy dificulty going down to hard
|
|
|
|
|
|
#26 | |
|
Barefoot on the Moon!
Staff
Premium Member
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,385
|
Quote:
|
|
|
|
|
|
|
#27 |
|
Member (10 bit)
Join Date: May 2005
Location: Republic of Kosova
Posts: 581
|
this year we learned C+ then we switched to Python...well i guess the whole point of the class was to teach us to think in programming mode, not how to program, to learn the concepts...if u wanna become a programmer dont start with java..thats a really hard language to learn...the best way to start i guess is start with borland which is based on C++ and is a powerful weapon...if you wanna become a game programmer..well im not really sure but w/e you do stay away from Python..when we switched it felt like we started all over again...b/c we did!!
|
|
|
|
|
|
#28 |
|
Dark
|
Dude C++ is alomst the same as java. when i learned to use java i knew how to use c++.
"when you start with oriented objects, you dont need to write the objects codes, just the solution" i meant than instead of writting the code for the button, like java, you just click add button and write the solution in the button |
|
|
|
|
|
#29 |
|
Barefoot on the Moon!
Staff
Premium Member
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,385
|
Not solution...a function. You need to write what you want the button to do when you click on it. All languages with a GUI component have this ability.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|