Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]

Author Topic: Programming Help Wanted  (Read 1975 times)

Alexhans

  • Bay Watcher
  • This is toodamn shortto write something meaningful
    • View Profile
    • Osteopatia y Neurotonia
Re: Programming Help Wanted
« Reply #15 on: January 25, 2009, 05:56:15 pm »

here there are some links to torials of programming in general (c++ win32)
http://www.bay12games.com/forum/index.php?topic=27973.msg357848#msg357848
and you should definetly check this out:
The Roguelike Development Megathread (excellent post by Dasleah)
http://www.bay12games.com/forum/index.php?topic=30113.0
look at Terror in ASCII Dungeon! A C++ Tutorial For Codephobes

Quote
In my opinion, there's too much that's wrong with the game to enjoy it; it just doesn't match my peculiar tastes.  So I see a choice between chopping apart the source of LCS or creating my own, similar game.  I think creating something new is a better option.
 
I believe you are not realizing what a daunting task making a game actually is.  And lets not talk about making a game with the complexity level of LCS...

Id suggest you enjoy a bit more this genious work and make your own suggestions ,in this forums, for improvement.  They won't go unheard.
 If you want to do a game anyway... start really simple, set near goals and write what you want to do in a paper before you start coding... Ive had my share of Pdcurses and it takes time getting used to.  forget cin cout...  :P the readme with all the functions that comes with pdcurses is pretty good.


Quote
Anyone else find it funny how the game about making the nation L+ is written in C++?
Ill quote myself as an answer...   ;D
Quote
Quote
Quote from: E. Albright on December 02, 2008, 11:56:54 PM
Quote from: Rezan on December 02, 2008, 02:04:49 PM
I see your point; though. I still think it would make for a good part of C+ society (faith healers really doesn't strike me as all that conservative; stealing poor people's organs for personal gain however, does).
C+ or C++


Good God! I just realized that Microsoft is elite conservative or otherwise why visual studio uses C++?  That is probably a hidden subsconsious evil message.  Beware.  It makes sense though... all those rules and flags you have to know or you will corrupt the system...
Logged
“Eight years was awesome and I was famous and I was powerful" - George W. Bush.

beorn080

  • Bay Watcher
    • View Profile
Re: Programming Help Wanted
« Reply #16 on: January 25, 2009, 07:38:54 pm »

He could also help program LCS. It IS an open source project after all.
Logged
Ustxu Iceraped the Frigid Crystal of Slaughter was a glacier titan. It was the only one of its kind. A gigantic feathered carp composed of crystal glass. It has five mouths full of treacherous teeth, enormous clear wings, and ferocious blue eyes. Beware its icy breath! Ustxu was associated with oceans, glaciers, boats, and murder.

Jonathan S. Fox

  • Bay Watcher
    • View Profile
    • http://www.jonathansfox.com/
Re: Programming Help Wanted
« Reply #17 on: January 26, 2009, 06:06:14 pm »

Yikes! I wish I'd seen this thread sooner. I found nothing offensive about the OP, and I strongly encourage people to be less hostile toward posters on this forum. I know, Toady knows, and anyone who has looked at the source code should know that the LCS source code is a poorly documented mess of spaghetti code and copy and paste. And the user interface is just bad -- literally straight out of the 1980s. It wasn't made to be good, it was made to be reminiscent of Oubliette. I've put a lot of love and care into working on LCS, but I've no illusions about what it is. And even if that weren't the case -- even if LCS was the best damn game on the planet, and it was perfect and beautiful -- that still doesn't mean there's reason to dogpile someone for having a different opinion about it and asking for help making their own game. Hell, Toady could have worked on open source games instead of making his own stuff, but he didn't. I'm sure you're all very glad about that.

I say, go for it. Some of the best games come from some guy or girl deciding to make their own toys instead of being contented with playing with the ones everyone else is using. It's certainly a lot of work to make or even just work on a game, even a console game, but I'd be a hypocrite if I said it couldn't be done. My best advice would be to start by getting something up on the screen, and then build on that and add to it. Get your game playable ASAP -- don't worry about complex stuff early on, just get a game going. Once you can walk around, add enemies, or whatever. Once you have enemies, make some fun combat. That's just an example, but you get what I'm saying. There's one big reason above all else that I advise this kind of walking before you run: In my experience, the ability to start playing your own game is a big motivation to add features and keep making it great. Having your game unplayable for an extended period of time is very demoralizing.

You've already been referred for help with pdcurses, and that was going to be my main piece of advice, is to learn how to use that. If you DO want to go source diving to check out how LCS does things, you might start with commondisplay.cpp -- it has a lot of the boilerplate character sheets, stats, inventory, etc.; seeing how those screens are done might help you to get a grasp on using pdcurses. Note that set_color is not pdcurses, it is defined in consolesupport.cpp. I would suggest using similar wrapper functions to simplify common actions that otherwise end up taking more than one line of code.

Good luck, and pay no mind to people trying to discourage you from making your own game. If everybody who wanted to make a video game listened when somebody tried to tell them it's not a good idea, or there are more useful things to do, or they should do a mod instead of making their own game, there would be a lot more bored gamers in the world. Just make sure you have fun, and it's all worth it -- even if doesn't work out, it'll have been fun, and you'll have learned and grown from the experience.
Logged

Sergius

  • Bay Watcher
    • View Profile
Re: Programming Help Wanted
« Reply #18 on: January 27, 2009, 09:42:34 am »

I think there's a lot about LCS that would make a fine indy more serious game. I've been toying with the idea myself, even planning to do a "port" in Java, just not about political stuff or a parody. I never played Oubliette but the game is very similar to the old Ultimas, Wizardrys, I think the Magic Candle too, whether they have 2D or "3D" dungeon crawling.

I find the gameplay itself to be a bit addictive, I don't care that much for the US partisan humor.

But of course... yes the code itself is a mess and it could (should) be done better if the game is used for inspiration for others. In fact it should be done from scratch ;) Take cues from the gameplay, I strongly advise against taking a look at the code to try to learn from it. (there's been quite a few OO improvements but it's a loooong road left yet)

As it is, I enjoy LCS immensely, up to the point where I just feel I got the "crawling" part mastered yet I just keep doing the same thing over and over just so that L++ candidates win all seats and all the damn laws get at L++ level, which so far has never happened to me.
Logged

Cerej

  • Bay Watcher
    • View Profile
Re: Programming Help Wanted
« Reply #19 on: January 29, 2009, 03:57:07 am »

It looks like there is, or was, continued interest in my little project.  I'd like to start by thanking all of you for your time and consideration.

A second thanks for those who provided advice and tutorials.  At this point I don't need any more tutorials.  I am comfortable with using C++, although I wouldn't consider myself knowledgeable.  The helpful tricks and shortcuts of programmers are outside my knowledge, but as a mathematician I eat, drink, sleep, and breathe algorithms.  Learning about curses gave me the last tool I needed to translate those into workable code.  Even if it'll be unpolished.

Advice is always useful.  Just seeing it can give a boost of inspiration.  When it's useful is an even bigger boost, to both motivation and progress.

Ideas for things to implement are less useful.  I've already got many things to work on, and one of the problems I feel LCS has is feature bloat.

For those who are curious, I have not made it to the squad moving around a site stage.  My coding efforts have thus far been restricted to a handful of throwaway programs to learn PDcurses, a C# style class to call curses functions through, relearning how to define my own classes in .h and .cpp files, and creating/testing a class to draw the tiles when moving around the site.  Next on the agenda is basic file input for tile types.  Immediately afterward I'll get the (empty) squad moving around an empty site.
Logged

EuchreJack

  • Bay Watcher
  • Lord of Norderland - Lv 20 SKOOKUM ROC
    • View Profile
Re: Programming Help Wanted
« Reply #20 on: January 31, 2009, 11:45:48 pm »

Yeah, sorry about my first response.  See, there was this guy who's post I read earlier in the week, and it really irritated me, so I started imagining I saw the same in your post.

Good luck with your game, let us know if you ever need playtesters.

chaoticag

  • Bay Watcher
  • All Natural Pengbean
    • View Profile
Re: Programming Help Wanted
« Reply #21 on: February 01, 2009, 07:33:36 am »

Not that I have designed a game yet, but as for advice, just make some sort of checklist for what you want to accomplish, with what Jonny said about how to make a game in mind. I think the next best thing though, would be to come up with an easy to understand interface.

Something else to keep in mind would be to try organising your code into something readable and organised, so that things like misspellings and such can be easily corrected without needing a halfhour dive to find out where it could be. This should make programming a lot smoother, and is something like house cleaning: if you don't do it, you start to notice it.

Last but not least, keep your audience in mind! If this is aimed to no one in particular then chances are it will take a while before it actually gets one.

Good luck with the project, and get yourself a beer or something when you think it is in shape to be released.
Logged
Pages: 1 [2]