Game Programming is hard work! |
Amrazek | It feels like I hardly get anything done... I've probably written 7500 lines of code in the last week and the best I've got working is a button displayed. At this rate, I hope I don't miss the next Xmas contest! The plus, at least, is that I'm working out the bugs in my engine and I've made a few 'extensions' to it that will make displaying dialogs and windows much easier.
I hope I'm not the only one that feels this way [V]
-Amrazek |
Peter | Nope, frustration and lots of work with little visible result is the norm =) I remember DDCK had something like 12 000 lines of code and took 16 months to make, although that included me making all the art and stuff.
I think Alpha 7 has something like 10 000 lines of code plus around 5 000 in the various tools and editors. We've been working on it for close to 13 months or so now and we're not even at beta yet ;) But we're almost done, if by almost you mean almost halfway. Perphaps more, its hard to tell, the biggest chunk is the weapons code. |
Amrazek | I used to think the game was the hardest part... But now I think the tools and editor are, by far [:0] |
Eric Coleman | I know the feeling too! |
Almar Joling | Yeah.. QW is way above 20k IIRC.. it takes a few mins to compile anyway [:)]
YALG has 6152 lines of code, 2508 lines of comments and 2273 blank lines [:)] |
Chris_Poskus | Sorry to change the topic. I am fairly good with VB, but I have been wondering how you can view the amount of lines of code that are in a project. I'm pretty sure you didn't count. :D Thanks.
~Chris |
Eric Coleman | I use a program that I found at www.planetsourcecode.com called "vb line counter." It counts lines, blank lines, and comments for any VB project or for an individual file. |
Chris_Poskus | Thanks a bunch. I hope to be around for a while. This place is amazing, and even though it's small, it has a lot of potential. |
Eric Coleman | I just counted all of the lines of code that I wrote for Gladiator (except for one DLL, which is written in C). I counted the lines in the game and all utitlities and tools, such as file converters, 3D editor, Skeleton editor, update program, server programs, scripting, and plug-in tools.
The grand total is:
17,158 lines of code
8,479 comments
5,928 blank lines
the code and comments combined = 25,637 lines. [:p] |
Almar Joling | Actually, I'm waiting for a screenshot someday Eric... [:)]
Also.. I was thinking of making a plugin someday that will keep track of the line coutns when you change it.. making a graph of it, or just saving history which you can import in Excel or something.. would be cool [;)] |
cbx | Your not alone. I feel this way every day. Though I suspect it's not so much the coding that bogs us down it's the fact that we basically have to be a one man army. We have to write the code. Create and maintain a web site for that project. Provide help documentation for the project. Answer user questions.
Not to mention that alot of the time we must also have expertiese in other areas like Drawing/Rendering graphics and being familiar with those applications. As well as applications for Sound, Music, Input devices, and networking.
You said you wrote 7500 lines of code in the past week. Just like the rest of us, coding is not the problem. It's everything else that goes with it.
quote: Originally posted by Amrazek
It feels like I hardly get anything done... I've probably written 7500 lines of code in the last week and the best I've got working is a button displayed. At this rate, I hope I don't miss the next Xmas contest! The plus, at least, is that I'm working out the bugs in my engine and I've made a few 'extensions' to it that will make displaying dialogs and windows much easier.
I hope I'm not the only one that feels this way [V]
-Amrazek
|
Chris_Poskus | Holy crap, I thought I had done a lot of work for my online RPG, but I guess I havn't. Although I have a lot of features, hear is my up to date statistics.
Code: 1713
Comments: 150
Blank Lines: 330
Total Lines: 2193
Is there something wrong with my code to comments ratio? I can never tell if I am leaving enough information for myself. :P
Edit: I just realized that is only for my client, so I havn't included my server or tools and editors. |
Eric Coleman | Almar, I don't think I'll ever finish my game [:-)] Its one of those things I do for fun, I don't mind if I ever finish or not. |
kaveh | i use VB 6 MZ-Tools 3.0 to get stats on my code.
its got a ton of cool features and it tells you any functions/variables that are declared but never used so you can remove them :)
www.mztools.com |