Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Pueo

Pages: 1 ... 15 16 [17]
Programming / Re: C Libraries
« on: November 24, 2011, 05:49:39 AM »
1) the classic choice would be ncurses (or an equivalent library), but if you don't like doing low-level stuff. libtcod.


It has bindings for c as well as many other languages. Is there any particular reason you wish to use c? I ask because there are more modern languages out there that may allow for more efficient use of time; although some c programmers are bad-asses that can program the hell out of things. Personally I use c++ or python and I wrote my own c++ library that I use and am continually modifying and updating.

My line of thinking in using C was, "Well, if all those 20 year old rogue-likes can make such a  mayonnaise game in C, then why not me?

Size of window: usually 640x480, 800x600, or 1024x768. Some rl's allow for resizing; I think DCSS allows for this (I usually play on the akrasiac server so I'm not sure). It is good to allow the user to run the game in fullscreen mode too. I think 800x600 is good with the ability to run in fullscreen; that is what I did for my game.

Ok, thanks. I think I'll go with several preset resolutions, and maybe a fullscreen mode, if I can figure out how.

If you are going to use "terminal emulation" I.e. using SDL or OpenGL (not sure what libtcod does) then you can make your window any size you like. Probably best to stick to monitor resolutions i.e 640x480, 800x600 etc that way it is easy to make a full-screen mode.  Re-sizable windows on-the-fly is probably not needed although it can be cool if done right.

Yes, I was going to use terminal emulation, so thanks for the input  :)

Also, (stupid question ahead) to use libtcod, I'm supposed to #include the .h file I want to use, right? 
If yes, where do I have to place the .h files to use them correctly? (I'm on Mac Lion)
If no, how do I use libtcod?

Programming / Re: C Libraries
« on: November 23, 2011, 09:42:56 PM »
Erm.. another (unrelated) question: Does the size of the window matter? Is it possible to make it resizable?  If not, what is the preferred size?

Programming / C Libraries
« on: November 23, 2011, 05:15:39 PM »
Hi, I'm currently working on a new rogue-like, and I just wanted a quick point in the direction of the Libraries I should use.  I'm going to write in C.


Pages: 1 ... 15 16 [17]