HI with C++ would I be able to use it to make games online, like I don't need to have the player's install stuff on their computers??
Printable View
HI with C++ would I be able to use it to make games online, like I don't need to have the player's install stuff on their computers??
You would need a lot of experience... learn about the windows API and also perhaps a bit of web programming I would of thought...
Bubba would know more
He was asking about using C++ though. As far as I'm concerned you can't make an MMO by yourself. If he just meant a simple online game, then it would be a little less complicated.
EDIT:
Sarcasm removed. Perhaps a bit harsh.
Yes you can make online games in C/C++. No you won't be able to tomorrow or perhaps ever...but it is possible.
And these 'is it possible' threads are not really game programming related as it relates to C/C++. Most of these types of questions can be answered by doing a little googling.
If you have a specific game programming question such as an algorithm, graphics technique, game engine problems, etc, etc. then this board is the place. If you want to know what can be done in C/C++ and what cannot......I don't think any of these forums except for perhaps GD is the place for that type of question.
Removed insult! :)
No it's a poor question. Why are we encouraging laziness and encouraging the use of everything except C/C++ on a C/C++ board? This does not make sense to me.
Yes you can create games in any language but if you do you must first learn the language and learn to program. So my advice is if you want to do this then pick the language of your choice and read books about it and about how to code games using it. I refer to C/C++ because that is the name of this board but it's not the only way.
Now if you want to make a simple to moderately complex 3D game you will probably need to use C/C++ with either OpenGL or Direct3D depending on your preference and whether or not your game needs to be platform independent.
www.gamedev.net has a lot of book reviews in their articles and books section. You can read these and get a feel for how good or bad the books are. Then go to www.amazon.com and buy the books you feel fit your needs.
But I do not encourage laziness and I also do not encourage skipping steps in the learning process. But if you want to learn to program in C/C++ this is a very good starting place. First you probably will want to read the forum guidelines and what is a good question and what is not. It will make your stay here more enjoyable.
When you have a specific game programming question, task, algorithm, etc, that you want to discuss then this is the place to do that. It's impossible to teach game programming in one thread and I'm not sure any of us here are even qualified enough to be teachers. But if you are willing to listen and learn and contribute I think you will find this to be a very good place to talk about these types of things.
This is a GAME programming forum, any language goes.
...in the context of a C/C++ board?
C/C++ have their own separate boards. The "Game Programming" forum states "Questions specific to game programming..." not "Questions specific to game programming in C/C++...".
Anyways, this is so trivial I don't know why I bother.
Sentral, this is a C/C++ forum, the goal of this site is to assist in the learning of C/C++, deviating from that is not in the desire of the founders of this forum. Sure the occassional nudge towards another language is fine, but, in general keep the focus back on C/C++.
http://cboard.cprogramming.com
Says it all.
As the others have already pointed out the number of c's in the URL should give you a hint....
I think he is wondering if he can write a C++ backend for a game played through a web browser or something (players would not have to install any software). In this case, you'd probably want to look into CGI (Common Gateway Interface), if you are dead set on using C++ rather than a more dedicated web programming language.
That was how I interpreted it, at least. (Hmm. I haven't posted here in a while...)
opengl can do anything directx can, opengl may require you to write extensions, but a lot are already out there, directx may expose more complex concepts in a simpler manner, but personally i go with opengl because it's portable. extending as needed is a part of the learning experience in my book... so go with opengl, plus i think there are more tutorials out there for opengl so it's easier to get started in it. (though there is enough for directx as well, but opengl is cooler anyway. :-)
in fact you might want to look at gamedev instead of cprogramming for information, they're a lot more devoted over there to game programming with an immense number of great articles to learn from.
There is no inherent benefit of OpenGL over DirectX or vice versa. The only main difference is that DirectX is about sound, input, and much more and OpenGL is just a graphics API. Direct3D is only a portion of DirectX.
to name a few... portability! extensions! structure!
i'd say there's a difference.
http://en.wikipedia.org/wiki/Direct3D_vs._OpenGL
other then that i won't dispute the claim since i agree, but i think to the contrary there's enough differences between the two that anyone should consider their goals before using either.
Ehh, you don't write extensions to GL yourself, generally. The driver vendor provides them, and the programmer obtains function pointers to use them.Quote:
Originally Posted by simpleid
What I was asking was, can a game be made that use's the webbrowser.
like have a few files on the clients pc so that all graphic rendering and gameplay stream would be handeled by the client's computer the server will stream data to clients and also save games for their directory, and in order to continue the game all players that were on at the save game time would have to be back on.
I know C++ but I want to use it since I am more used to it.
I was asking more like if C++ can handel it. I was told by many people that c++ can't and that only flash,java, and shockwave could only be used to make online games.
I also know python, but I don't know what's the best to use.
I never made a web game.
I have made small game app's nothing popular or good enough to brag since I didn't go full out, becsue it was time consuming.
This is a question dealing with C++, I don't understand why I am like getting yelled or lectured at that this is a C++ and c fourm, even though the this fourm is on game programming which we all know making games is not only made with C++ and C.
No one has mentioned you specifically. Moreso we were debating amongst ourselves inside of your thread. This happens a lot here.
The question is not if a language can or cannot do A or B because any language can do A or B. The question is what is the right tool for the job. That is up to you to decide once you weigh the pros and cons of your various language choices.
maybe look in to writing an activex control, i've never done that but i bet that would be one way.
http://en.wikipedia.org/wiki/Component_Object_Model
http://publib.boulder.ibm.com/infoce...oc/dbdk251.htm
http://forums.asp.net/t/1028936.aspx
http://www.devarticles.com/c/a/Cplus...Visual-C-plus/
(a couple might be .net related... didn't look too close, just used google, you should use this often, google knows all :-)
i wonder if activex controls only work on a windows platform? i'm sure there's something dangerous about using these... so it seems. more questions for google... hmm.
ActiveX formely known as OLE or Object Linking and Embedding is proprietary to Windows.
oh I see, well I going to look around to see what's the best for the job, so far I am more toward thinking python is good.
I might just stick with making games with C++ and just having the application have online play.
I will still look around. The reason that I ask was becuse soon I am going to get 1,000 domain names and make some websites, I know html and php, I want to make gaming sites, and was hopeing to learn how internet games work, I looked around and played some free online games to get a grip on what's out their and what people like.
I have seen many games, the most I saw where alot of people goes on it was, don't remeber the game name, but it's online no need to install, it has 2d graphics and I seem to think it was done in java, it's fantasy game type, like you create your charater then you go to a training level where you learn basic controls and the game, after that you then go to cities their are like 100 different cities and you go to each of them, you can battle people it's a japanese type thing kinda like a ninja type game you do mission or quest's.
but I also seen some games with 3d graphics.
I don't mind people brining their topics in my fourm thingy.
I encourage people to do so, even if it's not related to my topic, but has to be somewhat about games.