Tuesday, December 13, 2011

Why am I doing this instead of coding

I guess because I was thinking about it as I was falling asleep last night.  I was wondering how many lines of code it took me to get to "little guy moving around the screen". The answer is.... 461.  I have no experience to tell me if this is a lot or not, but I do know in other languages I've done the same thing, at least on the surface, in about 10 lines.

Edit: decided to go for 16x16 sprites.  For good or bad, it'll let me draw the whole map on the screen at once and not worry about scrolling, at least for now.

Oh, and how hard was it to change from 32x32 tiles to 16x16?  Just had to change the number 32 to 16 in one spot.  Neat!

No comments:

Post a Comment