r/roguelikedev • u/aaron_ds Robinson • Aug 06 '19
RoguelikeDev Does The Complete Roguelike Tutorial - Week 8
Thank you to everyone who joined this year. This is one of my favorite events of the year and I hope you enjoyed it too. If you participated, congratulations! You rock!
This is the end of RoguelikeDev Does The Complete Python Tutorial for 2019. 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 and FAQ Friday.
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. :)
2
u/PhreakPhR Aug 06 '19
Is it intentional that there are no tutorial parts in this week 8 post?
8
u/Quistnix Aug 06 '19 edited Aug 06 '19
Rogue 451 (working title)
Python & TCOD | Play | Screenshot | Repo
I mostly stuck close to the tutorial and didn't change the actual content of the game, for now. Since I'm new to Python, just following and understanding the tutorial took up most of my time. I did add graphical tiles and focused on improving the interface and usability. The message log is scrollable, items now stack in the inventory and the inventory is always visible in the sidebar. I've made steps towards making the entire game playable with either mouse or keyboard, but I'm not there yet.
In the near future, I'll keep improving usability (I'm UX designer by trade, so this will keep niggling at me until I get it completely right). After that, I'll get going with the content of the game.
My goal is to make a roguelike immersive sim maintaining the high fantasy theme. I'm planning to generate levels around a starting point and a goal, with different branching paths with different types of roadblocks between them. Monster AI wil also require a major rework. I'm hoping to implement a priority-based system where every monster acts according to its own unique personality. This might prove a bit optimistic on my part though.
I'll probably tweak character progression as well, keeping the player squishy and vulnerable to encourage looking for alternative paths.
7
u/Kyzrati Cogmind | mastodon.gamedev.place/@Kyzrati Aug 06 '19
Thanks to everyone who participated!
If you can, drop at least one screenshot (or many!) in the 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 repos from this thread. (And if you finish at some point down the line, 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 stat summary I'll be putting together next week! Will be interesting to compare to last year.
And 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 started their life as tutorial offshoots, and yours could be the same!
6
u/thebracket Aug 08 '19
Rusty Roguelike is complete, in Rust. I stuck very closely to the tutorial (and intend to put together a Rust version when I have some more time), so it didn't go far beyond the original Python/TCOD tutorial in scope. It has been tweaked a bit to use the library I created to go with it.
I figured that since I'd made a few roguelikes over the years, if I was really going to learn Rust I'd make the library as well. :-)
RLTK_RS is now a pretty decent library. A kind user helped me get rid of the annoying
Box<GameState>requirement, and now it is quite ergonomic. It offers:I'm hoping this is helpful to someone! I was pretty surprised to see someone post about it on a Rust discussion board, which then got echoed onto Hacker News and Y-Combinator. Suddenly I went from a handful of stars to in the 80s, a bunch of people cloning it, and a surprising lack of bug reports (I'm sure there are bugs; this is my first foray into Rust!).
4
u/[deleted] Aug 06 '19 edited Aug 06 '19
Oh cool, so I've made it. I've started the libtcod + python3 tutorial on my own thanks to the video from Roguelike Celebration from u/Kyzrati (make a basic working game and then pile interesting systems on top of it, a brilliant hint). That was about 2 and half weeks ago. Once I learned that there's this summer event going on it was a mad race to catch up, full of copy-pasting code while trying to understand what it does.
Needless to say I've made it and I even know what is going on in the code. The commit I've made after finishing the tutorial bears a timestamp "Tue Aug 6 06:11:39 2019 UTC" which should be around the time this post was uploaded. Now to actually put content into the game, and some interesting mechanics to differentiate it.
I aiming at making "a traditional roguelike without magic" the main focus should be melee and non magic ranged combat with abilities and skills taking the place of spells. And there will be no classes as I think they are unnecessary in a game controlled by a computer (I'll write some more about it in a separate post some time).
As I started developing I also started to read some dev blogs. I stumbled upon a blog http://roguelikedeveloper.blogspot.com to my big surprise the first 2 posts on the blog are about the exact same thing, Classes (and skills) suck and bump combat is boring.
One last thing. I've actually tried libtcod a few years back, but had issues with the tutorial being out of date so I abandoned it. So thanks to u/TStand90 for putting it together, my roguelike now is the most finished game I've ever made and I tried a few.
4
u/mattpwest Aug 06 '19
Ghost Town (might be changed to Ghost Stories)
Python, TCOD, Esper (ECS), pinject | Download | Screenshot | Repository
The concept I set out with was a very elaborate tale of an evil fellow who occasionally murdered visitors to his inn in their sleep to steal their stuff. Due to time constraints, I condensed this to building the main gameplay mechanic.
You are a ghost; your essence is slowly draining - possess creatures and use them to kill other monsters to steal their essence.
I deviated heavily from the tutorial very early, but only in terms of code. I tried to match functionality with the tutorial, but with my code patterns that are focused on long-term maintainability. I built most of the functionality, except for the last two tutorials and a few other specific exceptions:
These are all features that I still plan to add, but I'm going to go about it a bit more carefully now that the time pressure is gone.
Thanks for hosting this event! It was a great motivation for pushing through some of the massive learning curve involved in making a Roguelike.
4
u/KarbonKitty Rogue Sheep dev Aug 07 '19
Burglar of Babylon - TypeScript + ROT.js
Play here || Repo here || Template repo
Placeholder for a screenshot album (I'll place it here when I have a few spare minutes).
So, technically I don't think I've finished all the weeks, but that's at least partially because Burglar is pretty much combat-free and stealth-focused, which means that large parts of the tutorial weren't really applicable; there were other, similar considerations. But it's pretty much a winnable, if rather boring, little game, and I think I will try and work on it some more in the future.
There was also a little change in the name, because why not? It's not like I already have a domain! ;) I think going for that Babylonian aesthetics can add quite a bit of nice ambiance to the game, and just try and imagine the cyberpunk version of the Hanging Gardens of Babylon with the LEDs and skyscraper named Tower of Babel just kinda... hanging in the background.
3
u/TStand90 Aug 06 '19
Actually finished my own tutorial, for once! I used Bearlibterminal and tcod, while using the latest tcod methods to avoid the dreaded deprecation warnings. I hope to use this knowledge in the near future to rewrite the sections of the tutorial that need updating, and perhaps even make a version that uses Bearlibterminal.
I deviated in part 10 and used JSON to save/load instead of shelve, though the implementation is still buggy and unfinished (equipment, for example, doesn't get re-equipped on loading the game). I'll work on that in the near future to get it working properly. Also didn't implement part 11's level-up system, because the project I have in mind after this doesn't include one either.
For the time being, I'll be refactoring some of the code and tuning the systems for what I have in mind for my personal roguelike project.
Hope everyone had fun this year! Seeing everyone's projects in various libraries and languages is really inspiring, and I'm looking forward to what everyone does next.
3
u/saint_glo Aug 08 '19
I've lagged behind this year, but finally managed to complete the Rust version of the tutorial using tcod-rs. Last time when I used Clojure I had to implement a lot of stuff like FOV calculations from scratch. This time my resulting project is almost an exact copy of the tutorial code.
Screenshot.
3
u/SnailRhymer Aug 09 '19
Unititled
I was initially following the tutorial to make a fairly simple project that I could actually finish. After completing it, I've got a little distracted making non-Eucledean dungeons. I'm not sure how to make them in to a game yet, but it's probably going to have something to do with getting lost.
Rooms are connected by portals, which essentially translate* the player to a new room. It can lead to some fairly confusing layouts. It looks a bit better if you make the portals transparent.
*composition with rotations and reflections coming soon.
2
u/Kehvarl Aug 06 '19
The first year we did this, I completed the tutorial and had a lot of fun; I even added a lot more to my roguelike after the event.
This year, like last year, I just haven't been able to dedicate the time to the project that I needed to, so I'm still back several chapters with limited progress in sight.
I do intent to try and finish my roguelike from this event and explore some ideas that people seemed to find intriguing. So wish me luck!
2
u/Zireael07 Veins of the Earth Aug 06 '19 edited Aug 07 '19
Untitled JS practice
Javascript | Repo
I can officially mark it as finished, having slugged through 13 parts of the tutorial (but I skipped the whole part about targeting, as my game usually doesn't have any, no matter the iteration).
I mostly referred to my Python and Nim iterations, therefore it hews closer to the original Roguebasin tutorial than to the updated Python3 tutorial. This is especially visible in how I handled equippable items.
Unfortunately, the switch to DOM rendering last week didn't cure the stuttering fully, it seems JS performance in general wildly differs between computers and browsers (shitty computer with Firefox ran butter smooth, my new dev rig with Chrome stutters). Fine by me as far as my day to day job is concerned, but makes my attempts to make a game in JS untenable. Shelving this and turning my attention to...
Rust roguelike/MUD hybrid
Because it started under severe limitations (no cargo, so only stdout/stdin for interaction), it is more of a MUD hybrid than a pure roguelike. It's on the finish stretch as I write it, only needing a tiny bit of polish - expect a comment this week once it's done and probably a screenshot.
This is the project I will attempt to expand from now on, but starting from scratch as I will be targeting wasm and isometric graphics, as is my usual. At least, now that I'm somewhat familiar with Rust itself, figuring out how to target wasm shouldn't be so hard.
The first shot will probably use wasm-bindgen to utilize the familiar HTML Canvas API, which is more than enough for a graphical roguelike provided there are no GC stutters (and there should be none, since Rust has no garbage collection). This is very close to the approach Dose Response used, as I understand it, although they didn't have the wasm-bindgen crate at their disposal yet.
2
u/-gim- Aug 06 '19
Pandemos || love2d 11.x - lua || github || screenshots gallery ||
Hello week 8,
I got stuck somewhere around part 9.
Last week I tried adding movement animations, that somewhat works, but generally I have to redo my update() code.
It's far from anything deliverable, as mentioned earlier, I have very limited time during the week and if weekends are occupied, I don't have much time to make any progress.
my further plan:
short-term: get throw animations working (I want to see items being thrown)
long-term:
Overall it went better than I expected, I do hope, that I'll be able to finish it and share something that is actually playable :)
2
u/itsnotxhad Aug 06 '19
Seeker of the Chalice
Since we're summarizing: I finished the tutorial as-is the first week or so and spent the rest of this time tweaking it. I'm happy calling the current version a beta; it's got all the features I feel like adding anytime soon, but I'm not at all happy with the current game balance. Right now my eye is toward rebalancing the combat/progression/loot system if I find the time for it. If I can do it in the next day or two I'll post in this thread again.
I have some in-progress screenshots scattered throughout my blog posts. I've basically been keeping a sporadic devlog. You can start here and click the "Next Post" link at the bottom every time to get the whole thing. If you've already been following along the most recent post is here
GitHub repo
This was a good time! I don't even remember how I stumbled upon this event, but I'm glad I did.
2
u/Chronos_v2 Aug 06 '19
So my efforts started out standard, same as most people's. I started out with the TCOD/Python tutorial and followed it pretty closely. Then about two weeks ago the idea hit me to try and make a roguelike based on a tabletop system a friend is designing, and then suddenly I decided I wanted to branch away from TCOD into a graphical engine. So I started poking around, took a look at LÖVE to see if it'd meet my needs, and now I'm working on a project from scratch from there. The biggest thing keeping me from making my own roguelike has been mapmaking -- and even the basic map generation the tutorial uses was enough information and inspiration to create my own system. Not a lot to show yet -- I'm learning the ins and outs of LÖVE and working on asset editors, but I'm thankful for the tutorial and the confidence to branch out that it gave me.
Thanks for hosting this! Hopefully I'll have awesome stuff to show soon.
2
u/dafu RetroBlit Aug 06 '19
Retro Dungeoneer
[C#, Unity + RetroBlit]
Project divided into weekly branches: https://gitlab.com/mcietwie/rbrl
Current screenshot: https://i.imgur.com/NGtvnEt.png
Play WebGL: https://pixeltrollgames.itch.io/rl-tut
Well this was very enjoyable! I set out with the idea of sticking as close as possible to the tutorial but translating it into C#. Most of it was quite workable in C#, but there were some aspects that either did not translate well into C# (like Results and Entity storage) or seemed a little careless on the garbage collection side of things, so I changed those bits as I went along.
In the end I've completed all the parts and pieces of the tutorial, and now I'm left with a basic roguelike! I still plan to release is it as part of the next RetroBlit release, and let others use it as a base for their projects. Before I do that however there are a few rough edges I want to fix up. The code may need a bit of refactoring (especially around action "Results") and far more documentation. I would also like to add a bit more variety to monsters and items, and sprinkle in some sound and music.
I'll be working on these final touches over the coming weeks (few months?), and will post the final results on a Sharing Saturday.
If you'd like to follow my efforts look me up on twitter @martin_things
Thanks for the fun tutorial!
2
u/tehw1n Aug 07 '19 edited Aug 08 '19
80s RogueLike - C# + Unity
The code is a little cleaner and I moved items/equipment over to Unity prefabs as I had with the monsters already. Toned down the colors as well. A damage splash was added for the player(a tiled color splash would be more aesthetic possibly). I have done a screen shake as well in other games but not sure how well it would fit for this. I want to continue with the Retro-wave/Shadow Run/Blade Runner idea for a theme.
Game play wise, I added a HoT as a nanobot heal. I think I want to make the unique mechanic as a sort of buff management game. Levels/items would add more buff slots and combining buffs would have bonuses/combos. I looked at saving/loading and it appears that it should work for a stand alone build, it is just not getting along with HTML5 on the last Itch upload. I will get that up once if have some more content.
Github Screenshot Screenshot
2
u/tpseven Aug 08 '19
repo & screenshot
All lessons are done, but just like I thought, it's only the tutorials series ported to purescript. Didn't have enough time to add new features and not sure whether I will continue to work on this because of life circumstances.
Nevertheless, thank you all for this event, looking forward to next year!
2
u/theoldestnoob Aug 13 '19 edited Aug 13 '19
Untitled Roguelike
Python3 & TCOD | My Repo | Screenshots
I completed the whole tutorial (all of the weeks on time in that week, even though I think I missed posting in one or two of the weekly posts), keeping the functionality pretty much the same as written. The main difference between the tutorial and what I have is that I added the major feature of being able to hop out of your body and go possess other creatures. I also changed a bunch of other stuff as I went, listed below in rough chronological order:
Two of the screenshots just show the game with no additional features (except circular rooms, I suppose). Two show what it looks like when leaving your body and what it looks like when you possess an orc.
I plan on leaving the repository as-is and forking it to continue working on the game. I want to flesh out the possession mechanic a bunch and add various upgradable stats (range you can move, how far you can see as an etheric body, how long you can last outside the body, how long you can possess something, etc). I also want to add more complex AI so that you can do things like start a fight among a group of friendlies, and to make it more of a puzzle / stealth game than one where you just kill your way down through the levels. I'm still going back and forth with myself about how I want to flavor the game.
3
u/AgentMania Aug 06 '19 edited Aug 06 '19
Summer Roguelike Project - Finale
You can play it here on itch.io! | Screenshots | Repo
For those who haven't seen my other progress posts, I followed along with the tutorial using Construct 3. If you're not familiar with the software, it's an event-based, visual-scripting engine that makes it easy to create cross-platform games.
Construct 3 doesn't have a dedicated roguelike tool-set (though it certainly is possible to make one within it from scratch). Luckily, there's an addon that gives Construct 3 many of the capabilities of rot.js. Even then though, I ended up having to find solutions to problems that felt very hacky and unstable. (The enemy AI still bugs out during regular play as a result of this). Still, I'm proud of what I was able to accomplish with the tool.
Overall, I had a lot of fun creating and putting my own spin on a roguelike! I was greatly inspired by Lazy Devs' Pico-8 Roguelike Tutorial series and ended up adopting a similar set of movement and AI rules.
I also came up with a number of other design criteria that I tried to meet:
And for the most part, I feel like I accomplished all of this!
So, feel free to give it a shot and let me know if you have any feedback! It's not quite like the game the tutorial itself lays out, but I think it's something you'll still have a good time with.
1
u/[deleted] Aug 07 '19
https://github.com/SwordOfAces/roguelike-tutorial
i got it all done, which is great! sustained attention to completion lmao. it's been fun, i think ill add to it in the future. a bunch more items and monsters for sure, and some sort of win condition (of the get to the bottom, kill so-and-so, and get back up). i already have ideas on redoing the item/monster spawning to be their own files and more expandable. oh and i also want to get back to doing different dungeon generation methods. ive learned some stuff doing this tho, even in just following along.