Log In  

Cart [#58707#] | Code | 2018-11-03 | License: CC4-BY-NC-SA | Embed
4

Hey! This is the first game I made in Pico-8.

P#58708 2018-11-02 23:46 ( Edited 2018-11-15 18:07)

:: dw817

I am really liking this game, but I think it's possible there may be some errors in it. Not that crash the system, but make it impossible for the player to reach all corners.

On the 13th floor I was presented with this:

The problem as you can see, not all areas can be traversed. Also you might have the strength value appear next to a critter when the player is 1-step from them. As hearts don't seem to increase beyond 4, fighting a critter that takes 4-hearts, well, that just ends the game.

It's an interesting idea you have on crafting a dungeon, while I could not understand the source, seeing what comes up is enough. I should be able to do something similar, yet guarantee all paths can be reached.

P#58717 2018-11-03 12:09 ( Edited 2018-11-03 16:09)
:: Gembit

Thanks very much for having a look. The strength value appearing when a tile away is frankly a great idea that I wish I had thought of.
I only made sure the ladder was always reachable, I could theoretically do this for every item in the game but it was a challenge I wasn't then ready to undertake.
I'm sure that hearts should go higher than 4, so this is a bug that needs looked at.. also there are no critters which take 4 hearts, the issue you have run into is actually far worse, multiple enemies can spawn on the same tile. I may make an "Eternal Tower 2" one day and address some of these fundamental issues.

P#58787 2018-11-05 00:33 ( Edited 2018-11-05 05:33)
:: floman

I don't understand what's the point of the game

I expected a roguelike but instead it's a game for a 4 years old "find the best path, avoid enemies and collect gold forever". I don't see any challenge

P#58879 2018-11-08 14:23 ( Edited 2018-11-08 19:23)
:: dw817

That's not very nice Floman. In many ways this game does quite a few incredible things. The least of which is to make realistic-looking corridors which always guarantee a path to the stairs.

I'm pretty sure this is using what is called "A*" a complex method of ensuring targets can be reached on a map.

https://en.wikipedia.org/wiki/A*_search_algorithm

To get a perfect balance of a "Rogue" style game is a difficult thing indeed. And it is the very first game Gembit has written.

Not bad for a first attempt I say. Not bad at all.

A little later today finding some time I wanted to try and make a "cavern" type program and let Gembit compare it with his own.

P#58892 2018-11-09 11:32 ( Edited 2018-11-09 16:32)
:: dw817

BTW, Gembit. Here is my attempt at making corridors in a 16x14 area. It's not as elegant as yours. Perhaps sometime you might explain how you are doing it ?

Cart [#58898#] | Code | 2018-11-09 | No License | Embed

P#58899 2018-11-09 17:08 ( Edited 2018-11-09 22:08)
:: floman

I'm just commenting as a player. I don't care about the code or whatever

P#59001 2018-11-14 15:09 ( Edited 2018-11-14 20:09)

Cart [#58991#] | Code | 2018-11-14 | License: CC4-BY-NC-SA | Embed

I wrote a random map generator for a roguelike I hope to make. It's simple, but it does always ensure that all areas are connected.

It works by drawing randomly drawing boxes of different sizes at different locations. This creates a corridors that loop back around.

There is also a function that checks if all of the tiles in the map are connected. It does this by picking a floor tile and filling all of the connected floor tiles with another tile, then it checks to see if the entire floor is the same color or not. If everything is the same color, then everything is connected.

I hope some part of this is useful.

Press left or right to change the map area.

P#59021 2018-11-15 11:19 ( Edited 2018-11-15 16:19)
:: dw817

Well now Polyphonic, that's an interesting idea and one I haven't tried yet. Drawing in a 16x16 area and filling outward to see if it's possible to reach the other tiles.

Curious, you got me thinking now ... will likely try writing something like this today, but not to use lines but single blocks in random succession.

Here it is:
https://www.lexaloffle.com/bbs/?tid=32278

P#59023 2018-11-15 13:07 ( Edited 2019-10-07 16:46)

Ok, so I may have gone a bit overboard with this.

P#61760 2019-02-11 13:54 ( Edited 2019-02-11 14:22)
:: dw817

Since it seems most of us are interested in tile-based games and tutorials at the moment, where the player moves in steps of 8x8 with BTNP(), thought I would bump this rather remarkable game which is a good Rogue in itself and does a fine practice of creating randomly generated rooms.

P#68622 2019-10-07 16:49 ( Edited 2019-10-07 16:49)

[Please log in to post a comment]

About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2019-10-15 17:18 | 0.027s | 4194k | Q:58