Now in good quality!

o and i am making a new video of the new menu system that is not ready yet but it has the basic functions: New game,
Load game and Help

Moderator: PC Supremacists
JesseGuarascia wrote:My God... it's all in one file. How do you get anything done?! If I have more than like, 1000 lines in a file I have a heart attack. You're sitting here, so unorganized, doing fine somehow.
I want to know your secret. Btw, since you say you learned from the almighty LazyFoo, check out this article, http://lazyfoo.net/articles/article07/index.php . READ IT BEFORE YOUR CODE BECOMES TOO CONFUSING.
Oh okay. Still, though, engine.cpp looks HUGE! You should probably try breaking it up into different sections, or maybe trying to design some of the code a little bit better. If you keep writing in that file at the rate that you are, things are bound to get confusing as hell. :Plalacomun wrote:JesseGuarascia wrote:My God... it's all in one file. How do you get anything done?! If I have more than like, 1000 lines in a file I have a heart attack. You're sitting here, so unorganized, doing fine somehow.
I want to know your secret. Btw, since you say you learned from the almighty LazyFoo, check out this article, http://lazyfoo.net/articles/article07/index.php . READ IT BEFORE YOUR CODE BECOMES TOO CONFUSING.
jeje no is not in one file it is in 6 files is just that i only had the engine.cpp opened at that timeyou can see my previous vids i think i had like 4 or 5 files open
yea you are right the engine.cpp is like 1200 linesJesseGuarascia wrote:Oh okay. Still, though, engine.cpp looks HUGE! You should probably try breaking it up into different sections, or maybe trying to design some of the code a little bit better. If you keep writing in that file at the rate that you are, things are bound to get confusing as hell. :Plalacomun wrote:JesseGuarascia wrote:My God... it's all in one file. How do you get anything done?! If I have more than like, 1000 lines in a file I have a heart attack. You're sitting here, so unorganized, doing fine somehow.
I want to know your secret. Btw, since you say you learned from the almighty LazyFoo, check out this article, http://lazyfoo.net/articles/article07/index.php . READ IT BEFORE YOUR CODE BECOMES TOO CONFUSING.
jeje no is not in one file it is in 6 files is just that i only had the engine.cpp opened at that timeyou can see my previous vids i think i had like 4 or 5 files open
Ducky wrote:Give a man some wood, he'll be warm for the night. Put him on fire and he'll be warm for the rest of his life.
Well i am glad to say that i already ogranized the code and its now divided into 7 source files, the engine .cpp is now 720 lines longGinto8 wrote:Just going to throw this out there: I don't think I've ever had a single source file with more than 600/700 lines, and those source files probably would have benefited from some significant reorganization.