Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Under the Hood
#9
aquaMat wrote: I wonder how many pages would be filled by the code for the whole game ???  

Quite a few. ;-)

I have 15 main source code files for the game, not including the animation engine, SpriteWorld, which I also wrote much of, and not including many utility files, used for things like handling File Input/Output.

In the previous source code listing, there were 4
functions
:

ClimbingSpriteMoveProc
FinishClimbingLadderMoveProc
GetLadderRect
GetLadderRectFromTile

Below is a screenshot showing the entire function list from just one of those 15 source code files, to give you an idea of how long one of the files can be. This particular file has 4910 lines of source code.

This is one reason why they say programming has a
steep
learning curve on modern computers. ;-)

And now you can also recognize why commercial games typically have *teams* of 30+ people working for 1-3 years to create a single product. (Although many are typically do artwork or other non-programming roles.)


Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
Under the Hood - by VernJensen - 02-16-2007, 09:21 PM
Re: Under the Hood - by joeb - 02-16-2007, 11:15 PM
Re: Under the Hood - by joeb - 02-16-2007, 11:23 PM
Re: Under the Hood - by Wingy - 02-17-2007, 02:55 AM
Re: Under the Hood - by aquaMat - 02-17-2007, 01:50 PM
Re: Under the Hood - by samskelton - 02-17-2007, 02:18 PM
Re: Under the Hood - by Wingy - 02-17-2007, 02:45 PM
Re: Under the Hood - by VernJensen - 02-17-2007, 07:41 PM
Re: Under the Hood - by VernJensen - 02-17-2007, 07:49 PM
Re: Under the Hood - by Wingy - 02-17-2007, 08:09 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)