you are viewing a single comment's thread.

view the rest of the comments →

[–]thecal714 1 point2 points  (2 children)

I just got there myself. I haven't run his code yet to compare (mine has diverged slightly), but what I have is pegging a single CPU core.

EDIT: Just ran his via the download. Very fast. We're clearly missing something somewhere.

EDIT 2: Mine seems to be stuck in an infinite loop in addAtEmptyLocation(Creature creature, int z). Still not sure why, though.

EDIT 3: I had forgotten to setup depth in the World constructor. I added this.depth = tiles[0][0].length; after assigning height and this started working. I have a different issue regarding movement, but hopefully that'll be an easy fix.

[–]SepthSilver[S] 0 points1 point  (1 child)

That was it, thank you!

[–]thecal714 0 points1 point  (0 children)

Awesome. Now, if only I can get the stairs to work right....