Yay! I managed to upload a programming video this year.¹ In this tool-assisted education video I create a rogue-like game with C++11. You see me type every l…
Related Posts
29 Comments on “Creating a Rogue-like game [C++11 programming]”
Comments are closed.
I’m your truly fan 🙂 really nice project i tried to do something like
that but using python really nice project !
Why didn’t you record at 30 fps? Just curious.
EDIT: Oh, is it because your characters / second is locked in the process
of recording and sometimes you need to input stuff faster than 30
characters / second (comments and stuff)?
I wouldn’t call this a “rogue-like”, but I love it either way. :D
Fantastic video! Very glad to see more programmers are using C++11.
Some quick comments:
The “_f” literal with operator “%” formatting syntax looks really
convenient. Is it part of your “printf.hh”?
Most of the macros you’ve used could have been avoided – for example, you
could have used inline noexcept functions for random number generation, or
inline variadic template noexcept functions to alias std::regex_match. I’m
not completely against macros (especially in a non-library project), but
sometimes forgetting to undefine them can lead to unexpected problems.
I really like the idea behind GenericData. Using aggregate construction
syntax looks elegant and readable.
Looking forward to see more! :)
Cool Stuff!. I hope you upload more stuff like this in the future.
You usually edit just one source file in your programming videos.
How often do you work with multiple files in one project?
Does it help? In what situations? Can it be an annoyance?
Thanks for this great video, it’s very interesting, I’m learning C++ (not
11, but some older standard) as my first programming language :)
it’s almost depressing knowing that everyone will one day die including the
creators of this world.
I’m pretty sure overture.mod is by Jogeir Liljedahl, AKA. Noiseless.
You’re a really amazing programmer! I’m working on a roguelike game myself
in lua. Unfortunately I don’t understand much more than the general
concepts of your C++ code :)
I didn’t watched the video. Because the game wasn’t interested me.
But nice to see more programming video. I love your programming videos.
Happy holidays :)
I really wish my code was as clean as yours. I Love watching your videos by
the way.
Sweet video mate!
“tool assisted education video” I like it!
Wow! I haven’t seen a retro rogue-like in quite some time!
I recall having programmed one of these for my computer class when I was in
high school. I still have a printed copy sorted into my filing cabinet.
Your code is much more concise, and generally sorted a lot better, though!
XD
(Scripting the NPCs really ruined my cleanly sorted code, it was… pretty
bad.)
My new script for a Wizardry clone, is far superior to my old high school
version– I define NPCs based by the player’s region (specific map, town,
or dungeon, etc.), and set the X,Y into slot-indexed position integers,
along with index values, identifying the type of NPC and their speech
strings. Shop and Innkeepers have an additional variable, identifying
stocklist/price. Basically, the NPCs are treated as un-killable monsters by
the engine.
It’s nice to see a new programming video from you! It’s been a while.
this is some pretty good stuff
Nice !
awesome video! Makes me wanna tinker with roguelikes myself :)
Really enjoyed watching this earlier (on the TV!) Look forward to finding
out what that last (music) track is, really nice.
This is cool. I’ve actually be thinking of designing a beginner’s
programming course based on the idea that the students would gradually
build up a Rogue-like game over the course of a semester. Of course they
would be using less sophisticated C++ than this.
Have you considered using ncurses library?
It makes your game Linux specific but allows for keyboard handling and
tries to detect your terminals. Maybe there is a vt100 terminal emulator
for Windows if you need support for ncurses there. Shame that Microsoft
never adopted the standard POSIX vt100 interface…
I should definitely make videos of the same type.
I’m so glad to see some programming video again! Thanks Bisqwit! :D
Wow, just watching this after I’ve been trying to teach myself all the
basics of C++ over the last month just shows me how much I have yet to
learn. And all this, is simply for a small game, and I’m sure that AAA
games contain code much harder than this, on a larger scale. Guess it’s
time to study…
Great job by the way
What os is this? And how long have you been programming? Great video and
very good game.
Great video! Can I somewhere download the songs you used in you videos?
Greate programming skills
where do you get the musics?
Are yours?
icewm looks scary, try “awesome” – i bet you might like it. (0_0)/
long time no see. upload more stuff ;D