r/roguelikedev • u/KelseyFrog • Sep 23 '26
RoguelikeDev Does The Complete Roguelike Tutorial - Week 8
Congratulations and thank you to everyone who participated! As always it's been fun!
This is the end of RoguelikeDev Does The Complete Python Tutorial for 2026. Share your game, share screenshots and repos, brag, commiserate. How did it go? Where do you go from here?
I encourage everyone who has made it this far to continue working on your game. Everyone is welcome to (and really should ;) ) participate in Sharing Saturday.
Feel free to enjoy the usual tangential chatting. If you're looking for last week's or any other post, the entire series is archived on the wiki. :)
11
u/redblobgames tutorials Sep 23 '26
Thank you! I love this event. I don't participate every year.
I use this project to learn new things. The main topics this year were:
I enjoyed having all the data visible in the UI. When you play the game, scroll down to the spreadsheet and try these:
held by 1.typeof an orc into an troll.I'm glad I was able to finish. I learned a lot. However I am not trying to make a game, and I don't plan to continue working on this project.
10
u/mariobadr Sep 23 '26 edited Sep 23 '26
This was a great event - thank you for hosting. First time participating for me, and it ended up being a much bigger project than I thought it was!
Game
The game is "complete" in the sense that it has a beginning, middle, and end. There's a victory condition and mini bosses that you encounter. There's some item variety and the possibility of different "builds" (ok, not really, just sword with strength versus dagger with agility). I haven't been able to win yet, but usually I lose because of my own mistakes.
Tutorial features
I got most of the tutorial features except two major ones. The first being the confusion scroll / status effects. I think status effects are a pretty big feature to miss, and the way I did things, changing out AI for a confused state is not the easiest thing to add. The other is being able to look around (including mouse support). I attempted better mouse support twice and scrapped it. Oof.
Code
The game is in the
src/directory. I tried my best to "separate concerns" with the different subdirectories. This more or less worked, except for the client/render separation. I have "reusable" libraries inlibs/, though these are noticeably worse than what you'd get from something like libtcod. For example, the FOV works over the entire map, not just the radius provided. Still, it was fun playing around with figuring out an interface/API for these different modules. Thelibs/uiis still half-baked. UI is hard.Screenshots
Screenshots are from itch. Here's one:
6
u/Haaiku1 Sep 23 '26
After thinking about joining the last two years, I completed the tutorial with no alterations because I've never programmed before, and I thought it was incredibly fun! I won't lie, though, I have no idea really where to go from here in terms of learning more.
My biggest gripe involved refactoring the code; part 6 of the tutorial caught me entirely by surprise. I was working on it using just what internet I had on my phone, typing everything manually, going back and forth, scrolling up line by line trying to find what I had done wrong. (I accidentally capatilized "Tcod") then, having to do it again on part 8 was a little crushing.
About two weeks ago, I had an idea for a roguelike I'd eventually like to prototype to see if the concept is any good. Seeing what everyone was working on throughout the weeks was incredible. I've always loved the genre, and seeing just how many different directions and ways everyone went with is inspring (and made me realize just how little I know).
Thanks for holding this event! (Now I'm gonna go back to lurking)
6
u/level27geek level0gamedev Sep 23 '26
Usagi Boilerplate | repo | current status gif
Thanks all for hosting the event!
While I haven't finished the tutorial per se (life got in the way), I'm glad I powered through till the end (even if I only managed to add animations in the last week). I've learned a lot and got a half-decent boiler plate code for making future roguelikes in usagi (or, with some tweaks, LOVE2D/lua). I plan to continue working on this code to make it a comfy boilerplate and make some small games with it.
My biggest hurdle (apart from lack of free time) was having to figure out how to translate the tutorial's js+OOP to usagi's lua+tables. I'm not really a programmer, so this took some effort. In the end it gave me a much better understanding how everything works together and how I can implement other things using the same methods, so I'm happy I was forced to do it.
I also got pretty comfy with lua's way of doing things. It suits me much more than OOP, and the method I ended up (or at least plan to) using is a kind of lite ECS where each object in the game only has a handful of values, and everything else is a pointer to either a table or function (e.g. monsters don't have a location on a map, they just point to what tile they stand on and XY location is taken from that). I'm sure that's nothing groundbreaking, but it was still fun for me to get to that place on my own.
As for Usagi as an engine - it didn't make as much of a difference as I expected. It made it much faster to get going VS something like LOVE2D (just drop a spritesheet in the folder and go - no need to code a sprite blitter or font display), but its other benefits either didn't come into play yet (easy save and export). The live update, which I expected to be a game changer, made it a bit confusing to begin with and didn't really come in THAT handy when working on such a small game. I can see it being much more helpful down the line tho.
As I got a handful of game ideas during the event (and already had a couple to begin with), my plan now is to try to make a series of small games, each focusing on one extra thing I want to implement. As my next step in the tutorial was to implement "spells", the game I'll work on first will be built around that. Once I'm happy with that, I'll add another mechanic and build a game around that. It's a lofty plan, but I feel it's much more doable than trying to make a "properly sized" roguelike at this stage. Knowing myself, I would have abandoned such large project anyway.
Which takes me back to my 2017 attempt at this event. When I started this year's event, I didn't remember why I abandoned that attempt. While I still don't know for sure, I'm pretty sure I got bored of following the tutorial back then, because it happened this year too. Around the mid-point I wanted to start working on my own ideas, but then I had stuff like text display or highscore coming up, which I've seen as a chore at this point (and promptly skipped for this attempt). It seems that the "fun" in programming for me is in figuring things our and making them work - stuff like title screen or highscores felt like busywork, especially that I knew how to make one given the tutorial and my (limited) programming skill. I'm hoping now that I have a "free reign" on what to work next, I won't be as likely to stop working on those projects.
For now, I'm glad that I did the event. It gave me the knowledge and confidence to work on something a bit more involved (and hopefully, fun!). I'm not sure if I'll be able to join this Sharing Saturday (need to find time and figure out maybe how to fork my current code to make a new project, so I don't "pollute" this repo), but I'm hoping to post there in the future :)
5
u/norpproblem Sep 26 '26
little dungeon game that began as a survival sim but scopecrept too close to the sun | repo
Thank you all for hosting! This was my first time joining this event and I think I learned a lot more than I had anticipated. I didn't quite do everything I wanted (or even everything I needed; game is not in a truly playable state, and the main menu is non-existent).
However, I do feel I am in a better position regarding development of things like this, as well as programming and creating things from more base principles. I hope to get to participate in an event again soon, and to also get the time to play everyone's games!
5
u/Admirable-Evening128 Sep 24 '26 edited Sep 24 '26
Postmortem, for SORL/"2026RT".
Screenshots:
https://xok.dk/other/2026rt/screenshot1.png
https://xok.dk/other/2026rt/screenshot2.png
https://xok.dk/other/2026rt/screenshot3.png
Repo: https://github.com/pylgrym/2026rt
Did I complete all the weeks? In my own mind I did yes, but some may argue I didn't, objectively(?).
I chose a fitting scope for each week, with outset in the official tutorial, to work on and complete, but I decidedly did not follow the tutorial to the letter.
The game is playable and, in theory, winnable. I do not have any list of "things I wish I added to the game".
If I have regrets, they are in the direction of "more purposeful, aligned design".
The 'tech stack' is typescript in browser, with ROT.JS. Backend is python with SQLite/fastapi.
My philosophy is to have as little engine as possible, and focus on actual roguelike/game features: Game mechanics, spells, a sprinkle of environment. I abhor (personally) building engines; I see it as a trap/tarpit distracting me from building the actual game. So I don't spend much time designing item or monster hierarchies. They (items and monsters) can just have some kind of relation to spell effects, which can be used both by enemies and player.
For monster AI, I see meaning in making variation, but again, I feel "a little goes a long way" - you can get a lot of satisfying AI behaviour within 50-100 lines of code (just by alternatingly fleeing like cowards, returning with or alerting reinforcements, and having a preference for either hugging or kiting the player, you get plenty.)
I never saw much use for path-finding for enemy NPCs; who really wants to fight a horde of monsters that can all gps-trace a beeline to you, through a maze.. If there are enough monsters scattered about, it is plenty trouble that you might aggro multiple of them; they don't need to be sherlock holmes to cause you grief.
My N+1 game will no doubt again start from scratch, but borrow heavily from all the previous ones.
Cause fun!
5
u/haveric Oct 02 '26
I fell quite a bit behind as things went along, but I have finished one of the two that I was working on this year. It seems UI always does me in and causes complications and then I struggle to keep up from there.
Hexagon - Complete!
I hit a huge wall around the week5/6 area, but was finally able to push past that the last couple weeks. Next time I participate, I'm hoping to do some more prep/planning beforehand to try to avoid this. I've participated enough times that I should know better by now, but I'll probably never learn.
Hexagons have been fun, but also a bit of a pain and I would definitely spend more time setting up the positioning and rendering of them earlier if I were to do this again. There are also likely issues with scaling, especially for the UI, but I've got it to a functional place for now and hope to improve it down the road once I've taken a bit of a break. I also spent a decent amount of time making all of the UI with JS Canvas instead of using HTML. For the most part, this has worked well, but definitely needs a bit of love and cleanup now that I am done.
Some positives of working on this:
Negatives:
As for Neil the Seal in Godot, I'm going to spend some time messing with UIs in Godot and try to get that one progressed more, but it may be a while before I do so.
Thank you to the hosts for this event. It's always fun to learn some new things and get back into gamedev for a bit. Also thanks to redblobgames for their awesome guides, especially for working with hexes and Kenney for their amazing free sprites. I look forward to participating again another year!
8
u/Kyzrati Cogmind | mastodon.gamedev.place/@Kyzrati Sep 23 '26
Thanks to everyone who participated! Extra thanks to u/KelseyFrog for hosting, as usual u/HexDecimal for being such a great libtcod maintainer and all around helpful dev, plus all the others who helped out other participants here and on the Discord.
If you can, drop at least one screenshot (or many!) in this thread, even if you're not quite done. Also a repo link if you haven't already, and if you have one make sure to say whether you completed all weeks so I can mark it down.
I'll be updating the directory with screenshots and and additional repos from this thread over the next week. (And if you finish at some point down the line after that, feel free to let me know and/or provide screenshots and I'll add them!)
Even if you don't have a repo, share your screenshots and progress, along with the language and any engine/lib you used, so that I can include you in the annual stat summary I'll be putting together next week! It's always interesting to compare the results to previous years, and you can find earlier summaries on the wiki.
Do join in for our Sharing Saturdays if you'd like to continue with your project. Over the years a fair number of cool projects big and small started their life as tutorial offshoots, and yours could be the same!