Author Topic: Most popular IDE and curses library?  (Read 16737 times)

Nekoninja

  • Newcomer
  • Posts: 34
  • Karma: +0/-0
    • View Profile
Most popular IDE and curses library?
« on: April 15, 2013, 07:13:52 AM »
Hello RPG programmer,

I am a newbie when it come to programming a RPG game.  I am wondering what is the popular IDE and curses library to use to create RPG games? I have MSVS 2010, and Netbeans on my computer. Does any one ever use PDcurses or libtcod with MSVS 2010 and how to do it?  :o

Much appreciate for your time helping me,
Bow to me, your evil programmer or I will destroy the internet with my 'delete' button!

Ex

  • IRC Communications Delegate
  • Rogueliker
  • ***
  • Posts: 313
  • Karma: +0/-0
    • View Profile
Re: Most popular IDE and curses library?
« Reply #1 on: April 15, 2013, 07:50:43 AM »
I use MSVC. It's my favorite environment to develop in because it allows me to be very lazy while still writing code at a fast pace. The way that it automatically shows what variables and functions are a part of a class whenever you put in a . or -> is very, very nice. Also the ease of debugging, finding of every reference to anything with two clicks, and other such features are nice. I've also used it for so long that I know the ins and outs of configuring it pretty well. Having said that, emacs is a damn nice development environment, but it lacks the user friendliness that MSVC has.

Anyway, I've used both pdcurses and libtcod with MSVC. It's the same as using any other library. Just include the library in the project settings, and set up the include directories for the library and the headers in the project settings, and you're pretty much good to go. Remember to copy the DLLs to the debug and release directory. Of course, you might need to alter how you're declaring main, or what type of thing you're compiling (multithreaded dll, console project vs. windows, etc.), but that's pretty minor. Look at the library documentation if you run into trouble.

I would recommend libtcod over pdcurses. Pdcurses works, but it's slow and antiquated. Libtcod is one of the best libraries I've ever used. It is really, really nice.

TheCreator

  • Rogueliker
  • ***
  • Posts: 370
  • Karma: +0/-0
    • View Profile
    • Fame
    • Email
Re: Most popular IDE and curses library?
« Reply #2 on: April 15, 2013, 08:41:49 AM »
Whether you are creating RPG or anything else, MSVC is the best IDE ever, so stick to it and you'll be happy :).
Fame (Untitled) - my game. Everything is a roguelike.

eclectocrat

  • Rogueliker
  • ***
  • Posts: 81
  • Karma: +0/-0
  • Most of your personality is unconscious.
    • View Profile
    • Mysterious Castle
    • Email
Re: Most popular IDE and curses library?
« Reply #3 on: April 15, 2013, 02:54:53 PM »
I have an irrational hatred of MS, and yet I have to concede that Visual Studio really is the best general purpose IDE ever. Credit where it is due...

Nymphaea

  • Rogueliker
  • ***
  • Posts: 74
  • Karma: +0/-0
  • Maria Fox
    • View Profile
    • Nymphaea.ca
Re: Most popular IDE and curses library?
« Reply #4 on: April 15, 2013, 04:15:00 PM »
IDE's are very personal, kind of like graphic editors and pretty much any other tool. I personally have been using Eclipse for a long time, and prefer it over VS. My main selling point is portability, I use both Linux and Windows, so I need something that can work on both.

And using libraries is generally IDE specific, but I'm sure it can be done with any IDE if you know how to set it up.

More important though is how much experience you have with programming, and what language you use.

requerent

  • Rogueliker
  • ***
  • Posts: 355
  • Karma: +0/-0
    • View Profile
Re: Most popular IDE and curses library?
« Reply #5 on: April 15, 2013, 06:48:44 PM »
I have an irrational hatred of MS, and yet I have to concede that Visual Studio really is the best general purpose IDE ever. Credit where it is due...

I hate how true this is. The engineers behind VS are very very clever. I use it for Python and UnrealScript mainly, but C# with LINQ is a joy to work with.


Oh, but FlashDevelop is as awesome if you work in Flash or HaXe- you can natively load libtcod or curses into HaXe and develop native Apps in a manner that is very 'C# w/out .NET'~ish.
« Last Edit: April 15, 2013, 06:53:22 PM by requerent »

Krice

  • (Banned)
  • Rogueliker
  • ***
  • Posts: 2316
  • Karma: +0/-2
    • View Profile
    • Email
Re: Most popular IDE and curses library?
« Reply #6 on: April 15, 2013, 07:42:52 PM »
I personally have been using Eclipse for a long time, and prefer it over VS. My main selling point is portability, I use both Linux and Windows, so I need something that can work on both.

I have set up some of my projects for both VS and Code::Blocks (with gcc) at the same time, so VS doesn't really take away portability, at least not with C++. The recent C::B is a lot like VS by the way, but VS is still better.

I think one of the best features of VS is the debugger. It's much better than gdb in C::B.
« Last Edit: April 15, 2013, 07:44:52 PM by Krice »

Quendus

  • Rogueliker
  • ***
  • Posts: 447
  • Karma: +0/-0
  • $@ \in \{1,W\} \times \{1,H\}$
    • View Profile
    • Klein Roguelikes
Re: Most popular IDE and curses library?
« Reply #7 on: April 15, 2013, 08:45:23 PM »
The problem with VC++ is that it's very permissive about code that's not standards-compliant. If you spend too long on a project in VS without trying to compile it in g++, chances are you'll end up with a mass of incomprehensible errors and a project that should in theory be portable to linux is locked into windows.
That said, VS is an excellent IDE.

Krice

  • (Banned)
  • Rogueliker
  • ***
  • Posts: 2316
  • Karma: +0/-2
    • View Profile
    • Email
Re: Most popular IDE and curses library?
« Reply #8 on: April 15, 2013, 09:34:53 PM »
chances are you'll end up with a mass of incomprehensible errors and a project that should in theory be portable to linux is locked into windows.

It's possible if you use a lot of C-style library functions and programming. The only place where I had problems in Teemu was filetool.cpp (make and change directory) and in that case it was Linux that needed some extra non-standard stuff.

TheCreator

  • Rogueliker
  • ***
  • Posts: 370
  • Karma: +0/-0
    • View Profile
    • Fame
    • Email
Re: Most popular IDE and curses library?
« Reply #9 on: April 16, 2013, 05:50:14 AM »
The problem with VC++ is that it's very permissive about code that's not standards-compliant. If you spend too long on a project in VS without trying to compile it in g++, chances are you'll end up with a mass of incomprehensible errors and a project that should in theory be portable to linux is locked into windows.

Not a big problem since g++ is available for Windows, too. And, of course, frequent checking if the code compiles on the other platform is a good idea. I often forget about it because I really hate Linux, and indeed, I often end up with some errors (those are usually easy to fix, but very annoying). It is also worth mentioning that VS gets improved in this field (compliance) from version to version. And that you should never use goto ;).
Fame (Untitled) - my game. Everything is a roguelike.

ekolis

  • 7DRL Reviewer
  • Rogueliker
  • *
  • Posts: 186
  • Karma: +0/-0
  • get ye dennis
    • View Profile
    • Ed's home page
    • Email
Re: Most popular IDE and curses library?
« Reply #10 on: April 16, 2013, 07:01:49 AM »
Surprised there are so many people singing the praises of Visual Studio, so I won't bother jumping on that bandwagon. Instead I'll also mention Eclipse. You can program in pretty much language under the sun (ha ha) with Eclipse and the right plugin. Except C#, it seems, which happens to be my favorite language, explaining why I don't use Eclipse all that much. :P But I do use it for this one Perl project that I'm involved in...
The Ed draws near! What dost thou deaux?

>EAT SANDVICH

TheCreator

  • Rogueliker
  • ***
  • Posts: 370
  • Karma: +0/-0
    • View Profile
    • Fame
    • Email
Re: Most popular IDE and curses library?
« Reply #11 on: April 16, 2013, 07:24:42 AM »
One bad thing about Eclipse is that it relies so heavily on plugins. With VS you can start programming right away after installing it, but Eclipse lacks some basic stuff like debugging support for STL - yes, you have to install a plugin for that! This is insane. But the worst thing is that Eclipse stores its settings per workspace. I don't know what could be the reason to have different font settings for every project, but that's Eclipse programmer's world. And you can't just copy the settings from one workspace to another because each of the thousand plugins stores its settings separately... Plugins here, plugins there, I'm almost glad that in VS Express you are not even allowed to install any plugins :).
Fame (Untitled) - my game. Everything is a roguelike.

daver64

  • Newcomer
  • Posts: 16
  • Karma: +0/-0
    • View Profile
    • Indigo
    • Email
Re: Most popular IDE and curses library?
« Reply #12 on: April 16, 2013, 11:39:27 AM »
I've been happily using QTCreator for a long time now. It's very good if you do a lot of cross platform work between *nix and windows as I do :)

cupcake

  • Newcomer
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Most popular IDE and curses library?
« Reply #13 on: April 16, 2013, 05:08:46 PM »
The problem with VC++ is that it's very permissive about code that's not standards-compliant. If you spend too long on a project in VS without trying to compile it in g++, chances are you'll end up with a mass of incomprehensible errors and a project that should in theory be portable to linux is locked into windows.
That said, VS is an excellent IDE.

You may use the /Za switch to disable Microsoft specific language extensions.

jlund3

  • Newcomer
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Re: Most popular IDE and curses library?
« Reply #14 on: April 18, 2013, 06:47:50 PM »
Vim + Unix toolchain anyone?