Roguelike for LD is finished
Finally finished the roguelike game
Have a try to escape the dungeon
https://ldjam.com/events/ludum-dare/42/alchemist-dungeon

Finally finished the roguelike game
Have a try to escape the dungeon
https://ldjam.com/events/ludum-dare/42/alchemist-dungeon

And now you can play Alchemist Dungeon in your browser. Sounds awesome, right?
Also thanks for first wave of feedbacks. It will help to make this game better
https://ldjam.com/events/ludum-dare/42/alchemist-dungeon


Play a game: https://ldjam.com/events/ludum-dare/42/alchemist-dungeon
This version adds some game mechanics, which not added to jam version due to lack of time


Between levels you can spend your gold for healing or buying an upgrade, making your surviving a bit easier

From this version you can upgrade your character. For now there are 4 upgrades available:
Play the game here: https://ldjam.com/events/ludum-dare/42/alchemist-dungeon
This post inspired by @noah-beckman question about how made the minimap in this game
So, let's start answering
First of all, the game zone is the matrix of tiles [N+2,N+2], where N - is dungeon size, so it makes easier to create level map. After the generation of dungeon I use loop [0..N+1,0..N+1] to create a level texture [N+2,N+2] pixels, which will be used later. Blue pixels shows walls and white - free space. Also I create a black fog of war texture with same size.
Next, the step-by-step explanation of map creation called every frame: 1. Copy level texture created earlier 2. Loop [0..N+1,0..N+1] to add info about exit and gas locations 3. Add the location of the player by transforming the coords with Mathf.Round function 4. Apply the changes for level texture copy 5. Loop [0..N+1,0..N+1] and calculate the distance between pixel and player coords. If it less than 5, set current pixel on fog or war texture to blank 6. Apply the changes for fog of war texture 7. Create blank texture [N+2,N+2] pixels 8. Loop [0..N+1,0..N+1] to fill created texture with combinig info of two previous textures. If fog of war pixel is black, add the black pixel, otherwise add the pixel from level with objects texture 9. Apply changes and transform to sprite 10. Show the sprite in UI
The image below represents how it works in game:

If you want to play the game: https://ldjam.com/events/ludum-dare/42/alchemist-dungeon
P.S: if the game got the 50 rating I'll post the explanation of dungeon generation algorithm
In this post I'll explain how the walls made in this game
The problem that I encountered is drawing the correct wall sprite depending on the neighboring walls cause of many variations of it. So how to avoid lots of these checks in code? Bits. Let's explain this one

Let's suppose we have to choose correct sprite in red-squared tile. At the beginning, we look at the state of neighbors (wall or not) and mark it as 1 or 0 as a bit. After that, we combine all bits to one number from top neighbor in clockwise direction. In this example it will be 01000000b = 64. The found number is a ID for sprite that we need to draw
Test this algorithm here: https://ldjam.com/events/ludum-dare/42/alchemist-dungeon
Just looking for games to play. Send the links in comments and I'll rate them
Also you can play my game too: https://ldjam.com/events/ludum-dare/42/alchemist-dungeon
Thank you all for voting!

You can find this level in next post-jam update
The post with explanation of level generation will be post soon
Play the game: https://ldjam.com/events/ludum-dare/42/alchemist-dungeon

Test new version here: https://ldjam.com/events/ludum-dare/42/alchemist-dungeon
P.S.: if you find the easter egg, please, send a post about how you found it :smiley:
There is no time to explain, you need to play a game:
https://ldjam.com/events/ludum-dare/42/alchemist-dungeon



Try to beat horde here: https://ldjam.com/events/ludum-dare/43/forbidden-hel
Try your survival skills here: https://ldjam.com/events/ludum-dare/43/forbidden-hel
Just made some changes to make the game more comfortable.
Check the changes here: https://ldjam.com/events/ludum-dare/43/forbidden-hel

Try to beat horde here: https://ldjam.com/events/ludum-dare/43/forbidden-hel
Play here: https://ldjam.com/events/ludum-dare/44/big-facinating-mutants

Play here: https://ldjam.com/events/ludum-dare/46/necroded

For our game Tower Lord: Sword Loop Saga we have the original soundtrack:
https://www.youtube.com/watch?v=g5EqzTpOrt8
Still didn't play our game? Play and rate here: https://ldjam.com/events/ludum-dare/47/$215179

Play and rate here: https://ldjam.com/events/ludum-dare/47/$215179
Cut for Power finally got english version
Play and rate here: https://ldjam.com/events/ludum-dare/50/cut-for-power
