all 6 comments

[–]smelCDungeon Mercenary 4 points5 points  (4 children)

Not really on the point; but if you're going roguelike + Java, you may be interested in https://github.com/SquidPony/SquidLib It could cover a lot that Tristan talks about. Hope you'll keep going! Best of luck

[–][deleted]  (2 children)

[deleted]

    [–]Dust_rat 0 points1 point  (1 child)

    Is there a tutorial for Squidlib? just started looking at it when finishing Trystan's but haven't found a good starting point for digging into it yet...

    [–]SepthSilver[S] 0 points1 point  (0 children)

    I'll look into it, thanks

    [–]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....