Thread: online type game

  1. #1
    Registered User
    Join Date
    Jul 2005
    Posts
    32

    online type game

    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??

  2. #2
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,688
    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
    Double Helix STL

  3. #3
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719
    Quote Originally Posted by swgh View Post
    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
    Not as much as you think. One can learn Flash and ActionScript fairly quickly, and create some cool stuff without worrying about the Windows API.
    Videogame Memories!
    A site dedicated to keeping videogame memories alive!

    http://www.videogamememories.com/
    Share your experiences with us now!

    "We will game forever!"

  4. #4
    Registered User IdioticCreation's Avatar
    Join Date
    Nov 2006
    Location
    Lurking about
    Posts
    229
    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.

  5. #5
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    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.
    Last edited by VirtualAce; 08-19-2007 at 03:42 AM.

  6. #6
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719
    Removed insult!
    Last edited by Sentral; 08-19-2007 at 12:08 PM.
    Videogame Memories!
    A site dedicated to keeping videogame memories alive!

    http://www.videogamememories.com/
    Share your experiences with us now!

    "We will game forever!"

  7. #7
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    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.
    Last edited by VirtualAce; 08-19-2007 at 03:41 AM.

  8. #8
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719
    This is a GAME programming forum, any language goes.
    Videogame Memories!
    A site dedicated to keeping videogame memories alive!

    http://www.videogamememories.com/
    Share your experiences with us now!

    "We will game forever!"

  9. #9
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    ...in the context of a C/C++ board?

  10. #10
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719
    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.
    Videogame Memories!
    A site dedicated to keeping videogame memories alive!

    http://www.videogamememories.com/
    Share your experiences with us now!

    "We will game forever!"

  11. #11
    pwns nooblars
    Join Date
    Oct 2005
    Location
    Portland, Or
    Posts
    1,094
    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++.

  12. #12
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,820

  13. #13
    Registered User
    Join Date
    Aug 2003
    Posts
    1,218
    As the others have already pointed out the number of c's in the URL should give you a hint....
    STL Util a small headers-only library with various utility functions. Mainly for fun but feedback is welcome.

  14. #14
    Rabite SirCrono6's Avatar
    Join Date
    Nov 2003
    Location
    California, US
    Posts
    269
    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...)
    From C to shining C++!

    Great graphics, sounds, algorithms, AI, pathfinding, visual effects, cutscenes, etc., etc. do NOT make a good game.
    - Bubba

    IDE and Compiler - Code::Blocks with MinGW
    Operating System - Windows XP Professional x64 Edition

  15. #15
    Registered User
    Join Date
    Jul 2006
    Posts
    162
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. sorting the matrix question..
    By transgalactic2 in forum C Programming
    Replies: 47
    Last Post: 12-22-2008, 03:17 PM
  2. PC Game project requires c++ programmers
    By drallstars in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 02-22-2006, 12:23 AM
  3. 2D Spaceship shooter online - Need 2 keen programmers
    By drallstars in forum Projects and Job Recruitment
    Replies: 1
    Last Post: 05-19-2005, 07:40 AM
  4. gcc problem
    By bjdea1 in forum Linux Programming
    Replies: 13
    Last Post: 04-29-2002, 06:51 PM