r/roguelikedev • u/KelseyFrog • Aug 22 '23
RoguelikeDev Does The Complete Roguelike Tutorial - Week 8
Congratulations and thank you to everyone who participated this year! As always it's been fun watching everyone learn and make progress together. Let's give u/TStand90 an enormous round of applause for the tutorial, u/HexDecimal for answering so many questions and libtcod, and u/Kyzrati for spreading the word and just generally being a wonderful mod!
This is the end of RoguelikeDev Does The Complete Python Tutorial for 2023. 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. :)
8
u/Kyzrati Cogmind | mastodon.gamedev.place/@Kyzrati Aug 22 '23
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 likely sharing some of your projects over on Mastodon. (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'll 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!
6
u/Chaigidel Magog Aug 22 '23
I jumped in late after finishing a bunch of general game library work. Realized a week or so ago that the roguelike tutorial spec would make a pretty good baseline scope for my codebase, and also that I have a lot of machinery like build scripts and ECS macros set up that don't really fit cleanly into separate libraries and where a better practice might be "fork this repo and start modifying it into your game". So now I've got the Rust game template project up that has the miniquad + hecs + IDM powered base engine going and am working towards the full usable items, leveling up and multiple floors tutorial game experience.
A lot of the code already exists in a previous codebase where I hadn't gotten the game UI API quite right yet, so the adaptation has been pretty fast.
4
u/gurasic Aug 22 '23
I am still on Part 9, since i started a few days ago, im not a python programer and i only knew java since it was the first languege i learnet but damn, this was very fun, too bad i wasent here when this happent but im enjoying this a lot, might delve deeper and learn more python
4
u/mrdoktorprofessor Aug 22 '23 edited Aug 24 '23
RL-MMO updates
Oof, where to begin. I think this is the first time I've managed to complete the whole timeframe and get to a place that is a reasonable jumping off point. The initial goal was to take what I've learned in the past from the TCOD tutorial and the Broughlike tutorial and come up with some kind of crazy demo inspired by Realm of the Mad God.
Recent updates
getRandomPos) can be used for a blind teleport.https://i.imgur.com/BAJ5bIZ.gifv
https://i.imgur.com/ypEhIgB.gifv
hrests on top of the players head...)https://i.imgur.com/J4VzQxJ.png
https://i.imgur.com/BI8rwJS.gifv
Next steps
Honestly I had a lot of fun with this one and feel like it might have the most "legs" of any demo RL project I've worked on. It is a lovely mish-mash of Python (server-side) and JavaScript/HTML (client-side) to keep me happy to work on both.
There are three big points that I didn't get to:
Depending on how the school year goes I may sporadically add updates and post in the weekly threads - unfortunately things like class prep and grading start taking precedence. I also wanted to add NPCs and basic quests but didn't get there either.
4
u/TravisVZ Infinite Ambition Aug 22 '23
Swords and Runes | Rust + Bevy | GitHub
Well, I didn't make it - I'm still on part 10. Unfortunately I got busy a couple weeks ago and then couldn't pick the pace back up again. Heck, I barely accomplished anything at all this last week.
Oh well, it's not a failure, it's still a good start on a game that I have lots of ideas to take farther!
4
u/Rakaneth Aug 23 '23
repo
Here it is. There is now a win condition, and I've made one last attempt at numbers balance to make the game at least playable. There is more that could be done to polish it up and some features I left on the table (I intended, for example, to give Farin the necromancer the ability to raise enemy corpses), but I am both weary of the project and without the time to polish as much as I would like. There are also a lot of things I would probably rewrite at this point. I'm glad to have something I'd consider playable (if still rough) at the end of this.
Some takeaways:
3
u/TechniMan Aug 22 '23
Oh, no - another year over already? I'm so far behind!
I intended at the start of this to spend a minimum of 1 hour every day before bed on it. At the start, I had that time and energy, but things were still easy; as the weeks went by, I had less energy a lot of days and things got more complex.
I'm getting my time & energy back on track and want to continue the game! Maybe I'll pop up in a Sharing Saturday later in the year! ... or procrastinate until next summer's event >.< But I do wanna do it! I've lost count of how many of these I've attempted lol
3
u/[deleted] Aug 23 '23
repo in C++ using SDL2
I skipped the portions on saving and loading, as well as having anything mouse driven, but otherwise followed along the tutorial pretty closely. I did make some changes from the tutorial, mostly in level generation using Bob Nystrom's Rooms and Mazes dungeon generation and then again in difficulty, where each level contains more monsters and enemies rather than having harder enemies. A lot of the code for later weeks is pretty messy, as I missed a week for vacation and tried to play catch up, but otherwise I am pretty happy with how it turned out.
Image
2
u/unreleased_gamedev Aug 22 '23
I haven't finished mine (here's a gif) but I definitely made a decent prototype to keep working on. It's not yet a first playable (far from it!), but the core loop and a basic iteration of most main systems (movement, enemy AI, combat, inventory, equipment, procedural generation, .. ) have been implemented.
One of the main objectives of the project was to create each module in a way that I can do multiple little utils or libraries to re-use across games, so I designed it in a way that each module is highly decoupled, each system is entirely independent from each other, and they only communicate through interfaces or adapters, so are easily changeable. There's also hundreds of unit tests checking that everything works as expected.
Once all initial systems are in place, I'll move to further defining the internal details for each module (combat, inventory, equipment, persistence, cutscenes, ...) and refine the art style, so it seems there's a minimum of a few months ahead just to have a proper first-playable in place :D
2
u/Llyw Aug 22 '23 edited Aug 25 '23
rust-rl repo is here, and it's playable here on my github page.
if you just want to dash through, you can press the minus (-) key to open a cheat/debug menu
final week - character creation, identification, beatitude, AI, and effects
it seems fitting to use telepathy as a metric of progress, because i added that in the first week and then did nothing with it up until now! here's the first gif i posted back in week 1, and here's a gif from this week - it took 8 weeks, but finally i added a source for it, and gave it some interactions with a blindness status effect. if you're blind, your telepath viewshed increases threefold; but in return, your actual vision disappears save for 5ft around you, and you take a heavy hit to attack rolls.
what's next?
i'll be following along with thebracket's tutorial to the end, although by this point i've deviated quite a lot, so things have been slowing down rapidly as i end up veering off into trying to come up with my own stuff. i'm glad about that though, because the last thing i wanted to do at the beginning was end up with something that's bar-for-bar the same. i didn't go out of my way to change things, so i'm surprised just how different they are by now. here's a quick side-by-side of the start scene!
following that, i've got my own list of stuff i came up with throughout this whole process that i wanted to see done, as well as some requests from people i've been sharing progress with (my partner wants an unkillable pet - we'll see). hopefully that'll end up in the sharing saturdays, as time allows
eventually, i might even come up with a name
edit: and just for fun, whilst i had a few hours: basic morgue files! on wasm, it gets printed to the console instead of to file. not a lot of info in there yet, but it does show you the whole level you died on, and identifies all your items.
2
u/dopu Aug 23 '23
I'm afraid that my desire to compile to webassembly for easy sharing, as well as wanting to mess around more with Golang got the better of me. I got decently far in my Python implementation of the tutorial (repo, a screenshot), but I ended up putting that down and starting fresh in Go around the beginning of this month. I've been following this great tutorial by u/anaseto, who built a well thought out Go library for roguelikes called gruid.
Here's my repo for that so far. And happy to report that it's playable here! I'll say that writing Go has been mostly pleasant. I respect and appreciate its philosophy of prioritizing simplicity, though this means it can sometimes get verbose.
The things I'm excited about implementing once I've finished most of the tutorial: a gore system to give combat more juice, and adding more complex behavior to enemies. A fun scenario that I'd like my game to be able to express: upon losing too much health, a goblin flees from you, and entering another room, sees a potion on the ground. In its desperation to get away from you, it throws it at you. Whatever happens after it shatters on you (was it a potion of fire? a potion of speed? strength?) is dependent on the RNG.
I'm looking forward to continuing to work on this. Thanks for organizing the event!
2
u/tsun_screen Dark Relic Aug 24 '23
Repo (not finished)
I honestly thought this went for longer, so my week off from work (now) is actually after it's over... but I'll still be working on it anyways lol. Made it up to part 10 so far.
Lots of work went into items and the targetable magic scroll especially, but that should hopefully payoff in the future.
I think doing this series has really helped as it forced me to approach problems I might've put off until later so it's been more than worth it so far!
I'll be migrating the updates to the Saturday threads but here's a clip of where I got to: https://i.imgur.com/Bf8aCND.mp4 (still a little confusing to watch without any animations, but those come later!)
2
u/redblobgames tutorials Aug 26 '23
Thank you for organizing this! I've long wanted to attempt a colony simulator and this was the push I needed.
I'm a little bit behind because of summer vacation. I'm currently working on the job system that tells colonists where to go, what to pick up, what to craft, etc. Video of current status and writeup of the job system implementation (includes screenshots) and code repository. I expect to simplify the writeup as I work through it. This is the last major feature I plan to implement. My goal is to get the core simulation working, but not to make a full, balanced game this time.
1
u/[deleted] Aug 25 '23 edited Oct 19 '24
wipe pie dependent tease divide fact workable zonked growth mindless
This post was mass deleted and anonymized with Redact
1
u/avinashv Sep 03 '23
I did not finish, unfortunately--too much going on! I'm still continuing, though. I hope to finish in the next few weeks after which I'll hopefully continue developing the game into something more fun.
I have continued to update my weekly implementation notes.
Repository | Play | Notes and Screenshots