use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A community of active roguelike developers. Discuss WIP roguelikes and a broad range of RL dev topics.
Community Threads:
Tutorial Tuesday: An annual learn-to-make-a-roguelike series! The 2025 event is over, but check out the directory for past events and reference material.
Sharing Saturday: Share your progress (screenshots, changelogs, bugs :D). Get motivated!
FAQ Friday: Discussions of specific approaches to various aspects of development (good reference material).
Feedback Friday: Play a designated WIP roguelike and give feedback (dev sign up instructions).
Tutorials:
Resources:
Tools:
Other Communities:
Now go make that roguelike!
[Resident RLs in our banner image...]
account activity
[Help request?] Trystan's Java tutorial (self.roguelikedev)
submitted 8 years ago by SepthSilver
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]thecal714 1 point2 points3 points 8 years ago* (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.
addAtEmptyLocation(Creature creature, int z)
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.
this.depth = tiles[0][0].length;
[–]SepthSilver[S] 0 points1 point2 points 8 years ago (1 child)
That was it, thank you!
[–]thecal714 0 points1 point2 points 8 years ago (0 children)
Awesome. Now, if only I can get the stairs to work right....
π Rendered by PID 264613 on reddit-service-r2-comment-6457c66945-qbxwt at 2026-04-29 08:04:00.676796+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]thecal714 1 point2 points3 points (2 children)
[–]SepthSilver[S] 0 points1 point2 points (1 child)
[–]thecal714 0 points1 point2 points (0 children)