Thread: what language?

  1. #1
    email for MystWind avatar MystWind's Avatar
    Join Date
    Feb 2005
    Location
    Holland , The Hague
    Posts
    88

    Question what language?

    hi ,

    as you know I want to write an 2D MMORPG .
    well I now know what c++ quite can do...
    but in what language should I write it ?
    in openGL ? directX ? something else ?
    I know windows uses directX ..I would like
    trying that.also , I tryed to find compilers on
    those twobut I didn't find one : you got any
    tips or hints where to get a good ( free )
    directX or openGL compiler ? and what do
    you recomend me ?

    -MystWind

    edit : darn it : I havn;t though about is this belongs in the C++ board :S sorry guys.
    Last edited by MystWind; 03-13-2005 at 11:51 AM.
    PLay MystWind beta , within two years

  2. #2
    People Love Me
    Join Date
    Jan 2003
    Posts
    412
    If you think OpenGL and DirectX are languages and have their own special compilers, then you shouldn't even be thinking about trying to make an MMORPG.

    You remind me of a kid who used to always bug me; He had no idea how to animate or program at all, nor could he even understand how to use Microsoft Paint...but he always said, "d00d lets make a geam liek Final Fntasy X lol cuz dat game is kewl."

    Maybe he didn't understand that the game was made by actual professionals, and took years and millions of dollars to make.

    But I'll be a nice guy and help you out here: first of all, OpenGL and DirectX certainly are not languages. They are libraries. A library can be thought of as a collection of header files that contains useful functions, macros, variables, constants, definitions, declarations, etc. C++ is the language medium that you use to program with both of those libraries.

    OpenGL contains tons of functions used to "tap into" your system's Graphics card and allow the programmer to easily create 2D and 3D scenes.

    DirectX is also a library that can be used for graphics, although it lacks the portability and a lot of the graphic functions and such that OpenGL has. However, DirectX has functions to support input, sound, and all sorts of other goodies that OpenGL does not support.

    There's also a library called "Allegro," which was specifically designed for game design.

    You'd use a normal C++ compiler to compile your C/C++ code, and include those libraries into your source file. Then you just have to learn how to use the libraries.
    Last edited by Krak; 03-13-2005 at 01:14 PM.

  3. #3
    email for MystWind avatar MystWind's Avatar
    Join Date
    Feb 2005
    Location
    Holland , The Hague
    Posts
    88
    Quote Originally Posted by Krak
    If you think OpenGL and DirectX are languages and have their own special compilers, then you shouldn't even be thinking about trying to make an MMORPG.

    You remind me of a kid who used to always bug me; He had no idea how to animate or program at all, nor could he even understand how to use Microsoft Paint...but he always said, "d00d lets make a geam liek Final Fntasy X lol cuz dat game is kewl."

    Maybe he didn't understand that the game was made by actual professionals, and took years and millions of dollars to make.
    1.) one site said so.
    2.) well thanks for comparing me with a child whos always bugging you.
    3.) I've got a whoile live ahead of me and the FINAL GOALis working on that.ofcourse I understand it takes ..quite some time.
    but you didn;t awnser my question krak , what better for this purpose?
    PLay MystWind beta , within two years

  4. #4
    Registered User
    Join Date
    Mar 2004
    Posts
    494
    OpenGL and DirectX are API's you can use in conjunction with C/C++

    edit: besides Cprogramming has a section for that here you go http://cboard.cprogramming.com/forumdisplay.php?f=6
    When no one helps you out. Call google();

  5. #5
    People Love Me
    Join Date
    Jan 2003
    Posts
    412
    Quote Originally Posted by MystWind
    1.) one site said so.
    2.) well thanks for comparing me with a child whos always bugging you.
    3.) I've got a whoile live ahead of me and the FINAL GOALis working on that.ofcourse I understand it takes ..quite some time.
    but you didn;t awnser my question krak , what better for this purpose?
    Did you read my edited post dear? And at any rate, I'd reccomend learning a lot of C++, then looking up something called Win32. It's an Application Programming Interface. Once you sorta have an idea of how to create windows and such, and you have a firm grasp of concepts like pointers(GOTTA know your pointers), then go ahead and try moving into more simple OpenGL programs. Learn how to make polygons and 3D objects that can rotate.

    From there, you can move on and learn more until you have some VERY basic 2D games.

    And sorry if I misinterpretted your post...I thought you were trying to dive right into making an MMORPG or something. You know, a lot of kids come up with something like this:
    Code:
    int HP=100;
    int Damage=25;
    printf("You have %d hit points.\n",HP);
    HP -= Damage;
    printf("OMG now you have %d hit points!\n",HP);
    ...And think that they can make RPGs.

  6. #6
    email for MystWind avatar MystWind's Avatar
    Join Date
    Feb 2005
    Location
    Holland , The Hague
    Posts
    88
    ok sorry for having a bit rude reply.
    thanks ( both ) for the reply.. Its way clearer to me now , I think I'll stick to C++ only for quit some time then.
    p.s : I'm not the only one who's going to program that game I'm not crazy :P
    PLay MystWind beta , within two years

  7. #7
    People Love Me
    Join Date
    Jan 2003
    Posts
    412
    Quote Originally Posted by MystWind
    ok sorry for having a bit rude reply.
    thanks ( both ) for the reply.. Its way clearer to me now , I think I'll stick to C++ only for quit some time then.
    p.s : I'm not the only one who's going to program that game I'm not crazy :P
    Yeppers, good call. Learning as much as you can about both C/C++, and every feature that each language provides will make learning about Windows programming, OpenGL, DirectX, and etc.

    Just don't be in any hurry; learn and learn and learn. It's good for you. But might I make another suggestion to you?

    Learn how to actually program games in Flash. Why Flash? Because Flash provides the developer with a REALLY easy-to-use language: ActionScript. You can spend less time learning languages and more time learning algorithms and formulae that you'll be using a lot. You can EASILY use ActionScript to work with graphics, movie clilps, and buttons...and learn some game-design 101.

    I wrote a 70-some page tutorial about making games in Flash that goes into everything from how to use calculus concepts like derivatives for hill slopes and physics, to how to program walls, artificial intelligence, gravity, etc. You have to know all these goodies.

    In video games, you'll be using a lot of math; namely trigonometry and important concepts such as the Pythagorean Theorem. You'll need to know your math really well; believe me.

    I've spent a lot of time teaching myself lots of math, and it's extremely helpful.
    Last edited by Krak; 03-13-2005 at 01:17 PM.

  8. #8
    email for MystWind avatar MystWind's Avatar
    Join Date
    Feb 2005
    Location
    Holland , The Hague
    Posts
    88
    about the game design- I have ( really ! ) great exerience on that: www.gamemaker.nl it sounds easy : it is. but it gives you , just like flash as I hear you say , the right sight on things what a game needs ( I made an RPG in that , with monsters levels , exp. quests. )
    about maths : yes I know :S doing 2 hours maths a day with as purpose getting better at programming.
    PLay MystWind beta , within two years

  9. #9
    Registered User Finchie_88's Avatar
    Join Date
    Aug 2004
    Posts
    154
    Have you considered getting into Allegro. That's good for 2D game development


  10. #10
    email for MystWind avatar MystWind's Avatar
    Join Date
    Feb 2005
    Location
    Holland , The Hague
    Posts
    88
    I'm considdering it right now Thanks for the good idea.
    Last edited by MystWind; 03-13-2005 at 03:02 PM.
    PLay MystWind beta , within two years

  11. #11
    email for MystWind avatar MystWind's Avatar
    Join Date
    Feb 2005
    Location
    Holland , The Hague
    Posts
    88
    alright I got 4 bad reputation replys now .. can't you just ask anymore on a forum ?
    they all say : don;t be silly etc.... silly ? I just don't know... hmm well I'm leaving the board because of this... thanks to all of you whom helped me , and the rest who aren't intrested in helping other pple out : ........ you.

    suit yourself : I'll tell you when I got the MMORPG written : yea , your imagination is limited but I can.I won't ever relveal anything of the sorce code.

    well cya to : salem cerin and some others whom name I havn;t got present , MOD's sorry for all the trouble , you can deleat my account.

    edit : waah , no sorry :P one of my depresive moods again !
    Last edited by MystWind; 03-14-2005 at 01:17 PM.
    PLay MystWind beta , within two years

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What language did they make Java in?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 17
    Last Post: 07-03-2005, 04:18 PM
  2. Strange loop
    By D@rk_force in forum C++ Programming
    Replies: 22
    Last Post: 12-18-2004, 02:40 PM
  3. assembly language...the best tool for game programming?
    By silk.odyssey in forum Game Programming
    Replies: 50
    Last Post: 06-22-2004, 01:11 PM
  4. Language of choice after C++
    By gandalf_bar in forum A Brief History of Cprogramming.com
    Replies: 47
    Last Post: 06-15-2004, 01:20 AM
  5. Languages dying
    By Zewu in forum A Brief History of Cprogramming.com
    Replies: 31
    Last Post: 07-29-2003, 10:08 AM