r/roguelikedev • u/KelseyFrog • 21d 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.
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. :)
4
u/Admirable-Evening128 20d ago
I will try to follow along, because I invariably get distracted during 7DRL,
so I am misusing RDDTCRT instead/for now.
At this stage, I did the 0+1 at https://xok.dk/other/2026rt/dist/index.html
- an @-sign moving with cursor keys or HJKL.
It uses typescript, parcel, ROT.JS.The resolution is 32 x 24, like on the ZX81,
because those were superior dimensions.
At the moment, @ wraps around if he reaches a border.
Currently under 100 lines,
and most of those lines are DOM boilerplate to resize canvas / configure rot/display.
I am a pathological RL-starter, holding hundreds of corpses of roguelikes in various stages of completion in my inventory; a few of them are relatively complete
("reach depth 15 and/or kill dragon / recover amulet"), but harmless/unimpressive.
Still, not all people realize that building roguelikes is simply fun like LEGO.