Ok LD10is over, planning for 11

Posted by
December 31st, 2007 2:15 am

If there is an LD11. :)

OK, at the moment I’m learning how to code in C++, is that a recommended language to be used in LD11?

I’ve tried to look at the pros and con’s, and found:


  1. It is Object Orientated, which may persuade me not to use plain structured and a loop.
  2. It is a compiled language, so it should be easier to make it cross platform
  3. It should run faster as well
  4. It is great for text based games


  1. I’m not great at it
  2. I have no idea how to GFX in it
  3. I’ve not touched the language since 2004, and the whole thing was different back then.

At the moment it looks like the pros are greater than the con’s, but, is it a better language overall?

I mean python is written on top of C++, so that means that the person who made Python can’t of been to happy with C++ if he made is own one, either that or he was bored. :)

If python is written in C++ then That could mean that it is an ”improved” version of C++, leading me to think that that is better.

However, I already know python, so it would be a good learning experience for me to learn C++, and someone gave me a Sams Teach Yourself C++ in 21 Days, so I’m trying to learn that. (Not the average item on a 12 year olds list :) )

Also, I may be making a text based game next time, is it worth it?It would take less time, I’d imagine, and I don’t know how to do GFX in C++.

Please replyas a comment, awaiting your replies. 😉

3 Responses to “Ok LD10is over, planning for 11”

  1. wicked says:

    Pygame is a wrapper around the SDL library, which is written in C. That means you can transfer your already acquired knowledge of the game loop, events, graphics etc. to C++ by using the same library.

    You should know that C++ is harder to use than Python, especially if used wrong. And it’s very easy to use C++ wrong. Python is Object Oriented too, but as in C++ you’re not forced to use it.

    If you want to learn C++, you should check out the book Accelerated C++, which teaches how to use C++ the right way.


    My advice would still be to stick with Python, but learn the OO stuff.

  2. john says:

    Ok, I mean, I’m learning it already, but, I’m wondering wether to use it in Ludumdare.

  3. TenjouUtena says:

    C++ is a good language to learn. The problem with C/C++ is that you have to do your own memory management. Especially when you start dealing with 3D graphics libraries, if you aren’t careful about memory management, DirectX or OpenGL complain if you leek memory.

    Also things tend to be harder in C/C++ then in python.

    As far as LD goes, I don’t think you get a huge advantage in using C/C++ vs. using python. If you ever get to the point where you need C for the speed, you can always write C libs that python calls for sections that need the speed.

    As far as graphical libs, for 2D SDL, and Allegro are popular. For 3D DirectX or OpenGL for low level stuff. There are a ton of higher level libs for those, but the only one that comes to mind is OGRE3D.

Leave a Reply

You must be logged in to post a comment.

[cache: storing page]