Avishaiozeri wrote:Wow, thats alot of lines! Does all 2d games have so many lines?
It really depends on what your trying to do, you could make pong in a few hundred lines(or less). I made the game very easy to extend which adds a lot of code that could be removed but i wanted to keep everything as generic as possible. Plus i could have hard coded all the maps instead of writing the editor which would have cut even more code but thats not how i wanted to do it.
So, Its really smart to do so, because it lets you expand your game in the future. I guess i need to stop asking questions and start actually learning the languages.. Thanks again for the help. Now, Alot of time of hard working and learning, building Tons of useless programs for practice! Here i come!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Avishaiozeri wrote:Wow, thats alot of lines! Does all 2d games have so many lines?
It really depends on what your trying to do, you could make pong in a few hundred lines(or less). I made the game very easy to extend which adds a lot of code that could be removed but i wanted to keep everything as generic as possible. Plus i could have hard coded all the maps instead of writing the editor which would have cut even more code but thats not how i wanted to do it.
So, Its really smart to do so, because it lets you expand your game in the future. I guess i need to stop asking questions and start actually learning the languages.. Thanks again for the help. Now, Alot of time of hard working and learning, building Tons of useless programs for practice! Here i come!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Avishaiozeri wrote:
So, Its really smart to do so, because it lets you expand your game in the future. I guess i need to stop asking questions and start actually learning the languages.. Thanks again for the help. Now, a lot of time of hard working and learning, building Tons of useless programs for practice! Here i come!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
These useless programs are the foundation for great ones, seriously.
If you can understand how the basic parts of a program work, and start thinking like a programmer, then you'll do fine later on when you get to the "cool stuff."
Avishaiozeri wrote:
So, Its really smart to do so, because it lets you expand your game in the future. I guess i need to stop asking questions and start actually learning the languages.. Thanks again for the help. Now, a lot of time of hard working and learning, building Tons of useless programs for practice! Here i come!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
These useless programs are the foundation for great ones, seriously.
If you can understand how the basic parts of a program work, and start thinking like a programmer, then you'll do fine later on when you get to the "cool stuff."
Yes, i know, you're right... Everything must be earned with hard work!