Roguelike AoC – part 21

In the twenty-first lesson of a roguelike game tutorial we fix the ‘going through walls’ problem. Piece of cake The main thing to start with actually here, was to fix usage of Y variable in the while loop at the end of pathFind function. Second…

Read more

Roguelike AoC – part 20

In the twentieth lesson of a roguelike game tutfifthorial the time has come to actually implement the pathfinding algorithm that was described in the previous one. A couple things to start with To be honest there was not much to do in this lesson. I…

Read more

Roguelike AoC – part 19

In the nineteenth lesson of a roguelike game tutorial only a path finding algorithm was described. Therefore, again – there’s no code changes to discuss here. Code Here is the direct link to the GitHub repo.

Read more

Roguelike AoC – part 18

In the eighteenth lesson of a roguelike game tutorial a topic of current Makefile was raised. However, I’m using CMake for build process and therefore it’s not applicable for me. So I’ve just skipped it. Code Here is the direct link to the GitHub repo.

Read more

Roguelike AoC – part 17

In the seventeenth lesson of a roguelike game tutorial a random room generation was introduced. Well, maybe not that random, but still better solution than the one we had before. Gimme some room (again)! The code is rather straight – I did not have to…

Read more

Roguelike AoC – part 16

In the sixteenth lesson of a roguelike game tutorial a new element of the screen showed up – the HUB.   Ehm, so what do I do? To be completely honest there was not much to actually do in this lesson. I’ve just followed it,…

Read more

Roguelike AoC – part 15

In the fifteenth lesson of a roguelike game tutorial things get more exiting – we fight! Small changes required As usual with adding new file (in this case – combat.c) besides creating a new file please remember to add it to the CMakeLists.txt file in…

Read more

Roguelike AoC – part 14

In the fourteenth lesson of a roguelike game tutorial a next type of monster move is added – the random one. Like a staggering drunk To be honest there was not much to be done in this lesson – an algorithm presented by the author…

Read more

Roguelike AoC – part 13

In the thirteenth lesson of a roguelike game tutorial existing monsters are beginning to move. Been there, done that It’s nice to see that my anticipations from a couple of lessons ago came to life. Suddenly the Position in the Player and Monster structs became…

Read more

Roguelike Aoc – part 12

In the twelfth lesson of roguelike game tutorial introduces monsters to the mix. Structure changes and functions definitions The author introduces Monster struct, which has sense. However, I had to sync it with my code – therefore making small amendment. Instead of separate Position and…

Read more

Back to top