02-16-2007, 09:21 PM
Okay, so this *is* related to Midnight Mansion, but I didn't know where else to put it.
Someone mentioned a while ago in some other forum post (I forget where) that I was probably right when I said that things are more complicated
So for those of you who are a little curious what the source code looks like, and to gain a deeper appreciation for the complexity of the game
Hmm, seems it's too long to post as a message, so I'm attaching the file. This is purely for your amusement.
I seem to remember ladders took me like 2+ weeks to get working initially, not to mention fixing bugs later. It was definitely one of the harder parts of Jack's movement.
This is also one of those things you might call
Someone mentioned a while ago in some other forum post (I forget where) that I was probably right when I said that things are more complicated
under the hoodthan they appear when you play the game. Today I was working on the new troll monster, that can both walk left/right AND climb ladders. And ladder climbing is pretty tricky.
So for those of you who are a little curious what the source code looks like, and to gain a deeper appreciation for the complexity of the game
under the hood, here is some of the code (not even all of it!) that handles Jack climbing ladders.
Hmm, seems it's too long to post as a message, so I'm attaching the file. This is purely for your amusement.
I seem to remember ladders took me like 2+ weeks to get working initially, not to mention fixing bugs later. It was definitely one of the harder parts of Jack's movement.
This is also one of those things you might call
ugly code.


: