I know there was probly information on this somewhere else but I am asking anyway,
I want to make games that are online multiplayers, can this compliler do that once i learn how to program?
Also want to learning how to program, but I do not know any good sites without downloading a bunch of stuff,or buying stuff, do you know any sites that would be good?
The main type of game I want to make for starters is a browser-based multi-player game similar to Urban Dead http://www.urbandead.com/
But Urban Dead was made using perl
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, you can use C++ to build a game, but realize that Dev-C++ is just an IDE, a fancy editor. To build a game, you will need to learn to program. And that will take time.
In the thread titled (not accidentally), "Please Read Before Posting a Question" is a link to a lot of useful online books and tutorials, as well as other information that is quite useful. Please read it before your next queestion.
Please note that your question is much like asking "Can I use this knife to do brain
surgery" - the answer is, yes, you can, but you are going to have to lear a lot in the mean time.
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Browser based games are normally written in Java for Flash, or as is presumably the case in your example in some language capable of being used for CGI scripting. I would suggest that Dev-C++ is not the ideal tool for either Web not game programming.
Thank you man that site looks wicked i have been doing some looking around and it seems to be the type of stuff i dreamed of making, lol but i will still need to learn how to programe with C++ i assume?.
And i was looking through the Please Read Before Posting a Question thingy and it did help a bit. But would you recomend i use your compiler though (well other then just getting peopl to use it) like is there other better free ones out there?
All want to do is learn how to make games then i will be on my way.
Also As you probly dident know i havent even entered high school yet, would there be classes that taught me C++? or other classes that would probly help me on my way in a gamming job?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Not my compiler, not the compiler of anyone here. Dev-C++ is not, as has already been said a compiler. It used the MinGW variant of the GNU GCC compiler and tool chain.
> is there other better free ones out there?
That is what the link I posted was for did you explore further than just the page I linked, or understand what it was? Perhaps you should navigate to the top http://www.microsoft.com/express/ . I posted the "By interest" link, if you look at the "By product" link, you will see that the Express editions of Visual C++, C#, VB and Web Developer are all free (and better - or at least more powerful and fully featured)
> i will still need to learn how to programe with C++ i assume?
No, that is your choice. It will depend what you want to do.
To be honest I have no idea what programming language would be most appropriate, I am neither a web developer nor a games programmer - both are a waste of life, combining the two more so (IMO).
> All want to do is learn how to make games then i will be on my way. http://www.gamedev.net/ is probably a more appropriate place to get an answer.
> would there be classes that taught me C++?
At high school? Well I could not say. Here in the UK I would say it was unlikely, but I guess you are not UK based if you call it "high school". If the 'homework' posts here and on forums like DevShed are any thing to go by, such classes are often worse than useless.
> or other classes that would probly help me on my way in a gamming job?
Graphics design, 3D geometry, music perhaps. To be honest if you are not yet in high school, I'd say you have a way to go. It is a competitive industry (and probably not a glamorous as you might imagine), going to university is a good plan in any case and may equip you for that as well as more socially useful (and frankly interesting) careers.
I think you should seek more targeted advice - try these articles:
Well that website you linked me to i did look at it quit a bit and i will be downloading stuff from it also so thank you.
Well i guess i will find out wich programming language to use eventualy.
Well us canadians call it high school and i guess i will have to find out when i get to high school or watever people from the UK call it.
>To be honest if you are not yet in high school, I'd say you have a way to go.
Well i thought i would get started earily and get some experience to see if i am realy going to like it.
>It is a competitive industry (and probably not a glamorous as you might imagine)
Well from what i hear it is very interesting career.
>going to university is a good plan in any case and may equip you for that as well as more socially useful (and frankly interesting) careers.
Well that is your opionin and i respect it but i find that being able to programe or even know C/C++ language, a very interesting career and may help me in other job if game programming dose not work out well.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> Well i guess i will find out wich programming language to use eventually.
No hurry perhaps. Between now and then you might learn several. I think there are two strands to what youy are after. Programming languages, and web development.
> Well us canadians call it high school [...]
Thank goodness then I did not suggest you were American! ;-)
Be wary of any suggestion that you have to learn C first. You can, but you don't have to. Learning C first often makes C++ more confusing because of the OO paradigm shift can be confusing. That said if you learn C++ and you then have to code in C for any reason, that too can be frustrating.
> Well from what i hear it is very interesting career.
Read the articles I posted, there is some balance there.
> Well that is your opionin and i respect it [...]
Again, read teh articles. Note that they generally refer to recruiting graduates. It is no longer an industry for 'spotty school kids' (no offence intended), and is likely to be less so when you graduate. That said programming language teaching in colleges is generally shockingly poor, so knowing it ahead of time is a good idea. Of course Physics or Maths are equally good entry qualifications as Computer Science or Software Engineering, so learning C++ on your own is a very good idea. Just learn good C++ - there's a lot of bad out there.
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For what it's worth, I can provide some small insights into game development. I'm a game programmer at Two Tribes. We make games for Nintendo DS and Nintendo Wii, and we use C++ exclusively for our games. However, for other developers (and mainly for the Xbox 360 platform) C# has become an option. C++ is still predominant in the games industry however.
Which language you will need depends on the type of games you're interested in and for which platform you want to develop. Web-based 'casual' games are usually made in Flash, but console titles are almost exclusively made in either C or C++. Larger game titles are also starting to make more and more use of scripting languages (such as Lua or Squirrel) to give more control to artists and designers.
Keep in mind though that games are usually made with big teams of people over large periods of time, so don't expect to make the next big hit for now, while learning. Keep the games that you make as practice simple enough so that you can still learn things from it and not get lost in the complexity of big projects.
Hope this helped,
Paul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks Paul that helped a bit it will give me a stronger idea of what to expect, just so ya know i will hopfully be working more on console games, like PS2 or PS3 and stuff and probly more others by the time i get into the bussnisse.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
At the risk of raising a topic that has been know to start holy wars, I would
like to make a suggestion.
Just because you want to do a particular thing in programming does not mean that
the best first language is the one you will be using to do that thing.
Learning to program is more than just learning magic words and syntax. It is
learning to think, to problem solve in a logical way. That is why, over the years,
many languages have evolved that have been used as "teaching languages" - they
provide you a learning experience in the thought process of programming. The
idea is that, once you have learning the process of programming, learning
specific languages is just a matter of learning the syntax of that language.
In that vein, I would suggest that C++ may not be the best language to start
with. There is a lot of virtue in not having to fight a compiler as well, so
an interpreted language has virtues as well.
Intelligent minds may well differ, but I would encourage you to look into
Python - in particular VPython. Check out www.vpython.org.
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well from what i have been reading it is stronly advised to know C/C++ very well and i hopfully will in a couple years give or take, and I will also be learning more languages wich is ovious because programming language is like spoken languages there is always more to learn and some take a very long time to master.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, C++ is in fact the language that many, if not most programmers will do the bulk of their development in.
That fact does not however make it the best language to learn first. I would suggest that it is probably NOT the best language to learn programming with.
The time invested in learning to think like a programmer is vital, far more vital than whether you are learning a syntax you will use for later jobs.
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I had learned C++ before learning C.
It is hard to say which would best be first.
Since C++ is an 'extension' of C, i would say it would be better to learn C first.
Like the man said, learning to program is to learn a new way of thinking, so whatever language you start with will be worth while.
Just don't go trying to code Doom 5, forget about graphics all-together.
The average AAA game takes about 150'000~300'000 man hours to complete, so don't be discouraged for having to write very simple looking/performing programs.
You should learn to program using console apps for now, and yes, some pretty cool stuff can be done in console.
Good luck...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well how can i learn all this stuff just from online like your wtelling me what to learn but its very difficult trying to do all this online for free without to many downloads im not even in high school and from what i have read before console is harder then making PC games and i know some cool stuff can be done on console because i like consols a bit better then PC.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, teaching yourself to program is hard to be sure. Of the folks that come through here indicating that they are trying to do that, I would estimate (I can't tell for sure, as those that fail just disappear) that most do not succeed.
Other than teaching yourself, I see only two other options:
(1) Taking a course - some colleges will let pre-college students take courses
(2) Getting someone to teach you online
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
> i have read before console is harder then making PC games
You misunderstood the term "console" in this context. He meant just plain ordinary text mode applications, this is referred to as 'console mode' as opposed to 'GUI mode'.
There are a lot of universities who leave their notes and basic courses open to public. These tend to be structured and systematic courses to teach people how to program.
As C is a beautifully powerful (having both low and high level language aspects) it is very often used to teach programming so it should be quite easy to find these "intro to programming in C" sites.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We don't mind answering questions here, with the following caveat - we have had folks
who were trying to "self-teach" who would post several times a day, every day, sometimes with a sense of entitlement to prompt, detailed answers that wore out their welcome.
Also,
The first time you learn to program is in fact very important to learning how to think about programming. Once you have learned to think as a programmer, you can learn new languages a lot easier than that first time. Take your time. Learn to think. Avoid thinking of programming as syntax and magic words.
Wayne
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think the usual buzzword they use for that is "software engineering". The principles of synchronising and controlling access (important for gaming), memory management, algorithms and optimisation theory, security, even the ever important "how to debug"; it all tends to be assumed. Without these skills (and they are skills, not just syntax or planning) then you'll end up with an inefficient or broken program. There are reasons why a lot of amateur game developers can't get a double digit frame rate ;)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hmm ok i will ask question if i have trouble in this thread so i dont have to make another and hopfully other people can help me but im just starting to learn so you will probly be expecting me a bit more often lol.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I know there was probly information on this somewhere else but I am asking anyway,
I want to make games that are online multiplayers, can this compliler do that once i learn how to program?
Also want to learning how to program, but I do not know any good sites without downloading a bunch of stuff,or buying stuff, do you know any sites that would be good?
The main type of game I want to make for starters is a browser-based multi-player game similar to Urban Dead http://www.urbandead.com/
But Urban Dead was made using perl
oh ok fair enough and a good point and thanks for all the help guys you people own.
Yes, you can use C++ to build a game, but realize that Dev-C++ is just an IDE, a fancy editor. To build a game, you will need to learn to program. And that will take time.
In the thread titled (not accidentally), "Please Read Before Posting a Question" is a link to a lot of useful online books and tutorials, as well as other information that is quite useful. Please read it before your next queestion.
Please note that your question is much like asking "Can I use this knife to do brain
surgery" - the answer is, yes, you can, but you are going to have to lear a lot in the mean time.
Wayne
Browser based games are normally written in Java for Flash, or as is presumably the case in your example in some language capable of being used for CGI scripting. I would suggest that Dev-C++ is not the ideal tool for either Web not game programming.
See: http://www.microsoft.com/express/interest/default.aspx
Thank you man that site looks wicked i have been doing some looking around and it seems to be the type of stuff i dreamed of making, lol but i will still need to learn how to programe with C++ i assume?.
And i was looking through the Please Read Before Posting a Question thingy and it did help a bit. But would you recomend i use your compiler though (well other then just getting peopl to use it) like is there other better free ones out there?
All want to do is learn how to make games then i will be on my way.
Also As you probly dident know i havent even entered high school yet, would there be classes that taught me C++? or other classes that would probly help me on my way in a gamming job?
> But would you recomend i use your compiler
Not my compiler, not the compiler of anyone here. Dev-C++ is not, as has already been said a compiler. It used the MinGW variant of the GNU GCC compiler and tool chain.
> is there other better free ones out there?
That is what the link I posted was for did you explore further than just the page I linked, or understand what it was? Perhaps you should navigate to the top http://www.microsoft.com/express/ . I posted the "By interest" link, if you look at the "By product" link, you will see that the Express editions of Visual C++, C#, VB and Web Developer are all free (and better - or at least more powerful and fully featured)
> i will still need to learn how to programe with C++ i assume?
No, that is your choice. It will depend what you want to do.
To be honest I have no idea what programming language would be most appropriate, I am neither a web developer nor a games programmer - both are a waste of life, combining the two more so (IMO).
> All want to do is learn how to make games then i will be on my way.
http://www.gamedev.net/ is probably a more appropriate place to get an answer.
> would there be classes that taught me C++?
At high school? Well I could not say. Here in the UK I would say it was unlikely, but I guess you are not UK based if you call it "high school". If the 'homework' posts here and on forums like DevShed are any thing to go by, such classes are often worse than useless.
> or other classes that would probly help me on my way in a gamming job?
Graphics design, 3D geometry, music perhaps. To be honest if you are not yet in high school, I'd say you have a way to go. It is a competitive industry (and probably not a glamorous as you might imagine), going to university is a good plan in any case and may equip you for that as well as more socially useful (and frankly interesting) careers.
I think you should seek more targeted advice - try these articles:
http://www.gamesfromwithin.com/articles/0501/000066.html
http://learning.monster.com/learning/resources/article/110308?id=efe2b8610065f91cb942859d2e497ad5
http://compsci.ca/blog/breaking-into-a-video-game-programming-career/
Clifford
Well that website you linked me to i did look at it quit a bit and i will be downloading stuff from it also so thank you.
Well i guess i will find out wich programming language to use eventualy.
Well us canadians call it high school and i guess i will have to find out when i get to high school or watever people from the UK call it.
>To be honest if you are not yet in high school, I'd say you have a way to go.
Well i thought i would get started earily and get some experience to see if i am realy going to like it.
>It is a competitive industry (and probably not a glamorous as you might imagine)
Well from what i hear it is very interesting career.
>going to university is a good plan in any case and may equip you for that as well as more socially useful (and frankly interesting) careers.
Well that is your opionin and i respect it but i find that being able to programe or even know C/C++ language, a very interesting career and may help me in other job if game programming dose not work out well.
> Well i guess i will find out wich programming language to use eventually.
No hurry perhaps. Between now and then you might learn several. I think there are two strands to what youy are after. Programming languages, and web development.
> Well us canadians call it high school [...]
Thank goodness then I did not suggest you were American! ;-)
> Well i thought i would get started earily [...]
Good. Choose your information sources carefully. There is plenty of free stuff in teh web, but it is not always of good quality. You might start with http://www.amazon.ca/Accelerated-C-Practical-Programming-Example/dp/020170353X/ref=pd_bbs_sr_1?ie=UTF8&s=books&qid=1224400808&sr=8-1
On line sources that are probably safe include:
http://www.cplusplus.com/doc/tutorial/
http://www.mindview.net/Books/TICPP/ThinkingInCPP2e.html
Be wary of any suggestion that you have to learn C first. You can, but you don't have to. Learning C first often makes C++ more confusing because of the OO paradigm shift can be confusing. That said if you learn C++ and you then have to code in C for any reason, that too can be frustrating.
> Well from what i hear it is very interesting career.
Read the articles I posted, there is some balance there.
> Well that is your opionin and i respect it [...]
Again, read teh articles. Note that they generally refer to recruiting graduates. It is no longer an industry for 'spotty school kids' (no offence intended), and is likely to be less so when you graduate. That said programming language teaching in colleges is generally shockingly poor, so knowing it ahead of time is a good idea. Of course Physics or Maths are equally good entry qualifications as Computer Science or Software Engineering, so learning C++ on your own is a very good idea. Just learn good C++ - there's a lot of bad out there.
Clifford
Oh... another link: http://www.cprogramming.com/
Good luck BTW.
>Oh... another link: http://www.cprogramming.com/
lol thats the site that eventualy led me to this site looking for a good compiler.
and i did read the articles.
also thanks for all the help it is good to know there is still nice people on the internet willing to help others.
For what it's worth, I can provide some small insights into game development. I'm a game programmer at Two Tribes. We make games for Nintendo DS and Nintendo Wii, and we use C++ exclusively for our games. However, for other developers (and mainly for the Xbox 360 platform) C# has become an option. C++ is still predominant in the games industry however.
Which language you will need depends on the type of games you're interested in and for which platform you want to develop. Web-based 'casual' games are usually made in Flash, but console titles are almost exclusively made in either C or C++. Larger game titles are also starting to make more and more use of scripting languages (such as Lua or Squirrel) to give more control to artists and designers.
Keep in mind though that games are usually made with big teams of people over large periods of time, so don't expect to make the next big hit for now, while learning. Keep the games that you make as practice simple enough so that you can still learn things from it and not get lost in the complexity of big projects.
Hope this helped,
Paul
Thanks Paul that helped a bit it will give me a stronger idea of what to expect, just so ya know i will hopfully be working more on console games, like PS2 or PS3 and stuff and probly more others by the time i get into the bussnisse.
At the risk of raising a topic that has been know to start holy wars, I would
like to make a suggestion.
Just because you want to do a particular thing in programming does not mean that
the best first language is the one you will be using to do that thing.
Learning to program is more than just learning magic words and syntax. It is
learning to think, to problem solve in a logical way. That is why, over the years,
many languages have evolved that have been used as "teaching languages" - they
provide you a learning experience in the thought process of programming. The
idea is that, once you have learning the process of programming, learning
specific languages is just a matter of learning the syntax of that language.
In that vein, I would suggest that C++ may not be the best language to start
with. There is a lot of virtue in not having to fight a compiler as well, so
an interpreted language has virtues as well.
Intelligent minds may well differ, but I would encourage you to look into
Python - in particular VPython. Check out www.vpython.org.
Wayne
Well from what i have been reading it is stronly advised to know C/C++ very well and i hopfully will in a couple years give or take, and I will also be learning more languages wich is ovious because programming language is like spoken languages there is always more to learn and some take a very long time to master.
I think you missed my point.
Yes, C++ is in fact the language that many, if not most programmers will do the bulk of their development in.
That fact does not however make it the best language to learn first. I would suggest that it is probably NOT the best language to learn programming with.
The time invested in learning to think like a programmer is vital, far more vital than whether you are learning a syntax you will use for later jobs.
Wayne
I had learned C++ before learning C.
It is hard to say which would best be first.
Since C++ is an 'extension' of C, i would say it would be better to learn C first.
Like the man said, learning to program is to learn a new way of thinking, so whatever language you start with will be worth while.
Just don't go trying to code Doom 5, forget about graphics all-together.
The average AAA game takes about 150'000~300'000 man hours to complete, so don't be discouraged for having to write very simple looking/performing programs.
You should learn to program using console apps for now, and yes, some pretty cool stuff can be done in console.
Good luck...
Well how can i learn all this stuff just from online like your wtelling me what to learn but its very difficult trying to do all this online for free without to many downloads im not even in high school and from what i have read before console is harder then making PC games and i know some cool stuff can be done on console because i like consols a bit better then PC.
Well, teaching yourself to program is hard to be sure. Of the folks that come through here indicating that they are trying to do that, I would estimate (I can't tell for sure, as those that fail just disappear) that most do not succeed.
Other than teaching yourself, I see only two other options:
(1) Taking a course - some colleges will let pre-college students take courses
(2) Getting someone to teach you online
Wayne
> i have read before console is harder then making PC games
You misunderstood the term "console" in this context. He meant just plain ordinary text mode applications, this is referred to as 'console mode' as opposed to 'GUI mode'.
Like this: http://en.wikipedia.org/wiki/Win32_console
There are a lot of universities who leave their notes and basic courses open to public. These tend to be structured and systematic courses to teach people how to program.
As C is a beautifully powerful (having both low and high level language aspects) it is very often used to teach programming so it should be quite easy to find these "intro to programming in C" sites.
well i have found i site teaching C++ and i think it teaches C also but i will try to teach my self the basics and then will try my best from there
Good luck with it.
We don't mind answering questions here, with the following caveat - we have had folks
who were trying to "self-teach" who would post several times a day, every day, sometimes with a sense of entitlement to prompt, detailed answers that wore out their welcome.
Also,
The first time you learn to program is in fact very important to learning how to think about programming. Once you have learned to think as a programmer, you can learn new languages a lot easier than that first time. Take your time. Learn to think. Avoid thinking of programming as syntax and magic words.
Wayne
I think the usual buzzword they use for that is "software engineering". The principles of synchronising and controlling access (important for gaming), memory management, algorithms and optimisation theory, security, even the ever important "how to debug"; it all tends to be assumed. Without these skills (and they are skills, not just syntax or planning) then you'll end up with an inefficient or broken program. There are reasons why a lot of amateur game developers can't get a double digit frame rate ;)
That's not a buzzword, that's my job title! ;-)
hmm ok i will ask question if i have trouble in this thread so i dont have to make another and hopfully other people can help me but im just starting to learn so you will probly be expecting me a bit more often lol.