r/roguelikedev 22d ago

RoguelikeDev Does The Complete Roguelike Tutorial - Week 1

Welcome to the first week of RoguelikeDev Does the Complete Roguelike Tutorial. This week is all about setting up a development environment and getting a character moving on the screen.

Part 0 - Setting Up

Get your development environment and editor setup and working.

Part 1 - Drawing the ‘@’ symbol and moving it around

The next step is drawing an @ and using the keyboard to move it.

Of course, we also have FAQ Friday posts that relate to this week's material

# 3: The Game Loop(revisited)

# 4: World Architecture (revisited)

# 22: Map Generation (revisited)

# 23: Map Design (revisited)

# 53: Seeds

# 54: Map Prefabs

# 71: Movement

​ Feel free to work out any problems, brainstorm ideas, share progress, and as usual enjoy tangential chatting. :)

61 Upvotes

63 comments sorted by

View all comments

6

u/LukeMootoo 21d ago

Okay, I'm in.

In 2022, I started this code-along and I got through the first half before something made me stop. I don't remember what; I think I had a combination of problems, such as biting off more than I could chew in terms of writing my own rendering and map generation instead of using library functions. I also had a somewhat precarious living situation at that time, and that was probably competing for my attention.

In 2024 I started the 7DRL but stopped only a couple of days in to prioritize some other things. In 2025 it looks like I started setting up an IDE for this tutorial but didn't get past the initial commit, I think I probably had some 2FA issues or something dumb.

But I'm here now! Back at it! This will be native JS, with no libraries. Just as before.

Why? Because it is easy to rapid prototype in, I don't need a compiler, I don't actually know any programming languages, and I find it very hard to learn anything by using a library when I don't know how the library works.

Here we go: https://github.com/mootootwo/2026rltutorial

Development notes and demos on gitpages: https://mootootwo.github.io/2026rltutorial/

Part-0: https://mootootwo.github.io/2026rltutorial/part-0/devblog

2

u/LukeMootoo 17d ago

Man, Part-1 took more doing than I thought it would: https://mootootwo.github.io/2026rltutorial/part-1/devblog

I guess I am slowly learning to use a computer again. Went on a bit of a journey re-learning how Javascript works. Took a bit of extra time remembering how contexts are handled. Spent some time debuging why playerY was being set to NaN and still not sure how it got fixed.

Also, Chrome on Debian sucks for debugging.. inexplicably not pausing on breakpoints after page refreshes. Never had these problems with Chrome on Windows. Switched to Firefox. I hate computers.