Roguelike Aoc – part 22

In the twenty-second lesson of a roguelike game tutorial we still remain in the area of connecting doors. I’ve skipped a large part of the lesson as I’ve already implemented part of it. The details are below. Move everything down That is actually the thing…

Read more

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 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

Roguelike AoC – part 11

An eleventh lesson of roguelike game tutorial creates an additional layer that represents the whole level. I was thinking about such solution a couple of entries ago. Below I describe how I’ve developed this concept using my existing code. So what are we actually saving?…

Read more

Back to top