Log In
Name:
Pass:
Online Members (0)
No members are currently online.
Current Interguild Time:
Wed Apr 8 2020 1:36 pm
Member Chat Box  [click here to enlarge]
Recent Posts and Comments
Quick link to the Random Cave Generator

Recommendations:
"Only Tiles" is much more fun to play than "Tiles & Terrain" (which is more likely to give impossible levels)
No water is more fun than water
I think 60x60 is a better default size; larger levels allows for more exploration and slightly more freedom

You may find it more fun to experiment with tile strings yourself, but here's a copy+paste of some of the tile strings we had saved in our code.

$defaultTiles = "===== oo // ||" ><V^vxxx";
$bouldersNBoxes = "ooo     bbbx";
$roomToBreath = "===kk        oo // ||" ><V^vxxx";
$waterTiles = "===kk   ..  oo // ||" ><V^vxxx";
$tiles1 = "[email protected]><^v"|           ////|||^^^vvgk!oooool";
$tiles2 = "kkb==   ooo.// |||" ><V^vxxx";
$tiles3 = "===== oo // ||" ><V^vxxx===== ooo // ||" ><V^vxxx";
  
« Forum Index < The Hannah and the Pirate Caves Board

Quirvy
[?] Karma: +4 | Quote - Link
Saturday, November 18 2017, 5:17 am EST
  

Karma: 655
Posts: 7745
Gender: Male
pm | email
I have a confession to make. You remember when me and soccer did that one collab with the ridiculous name that looked really crazy? At least a few of you played it. Well, as you might have guessed by the title of this topic, that cave was actually randomly generated!


I'm sure you have many questions (well maybe not IDK), so I'll go ahead and answer some for you
Quote:
If it was randomly generated, how is it a collab?
Both the idea of randomly generating caves and the actual code to do so was a collaborative effort. But for the record Soccer was the one to push the button that created the level

Quote:
So why try randomly generating caves?
Curiosity, I guess. I think Soccer was getting his feet wet coding in C++, and the idea came up in a conversation about making code generated cave templates

Quote:
Why release a randomly generated cave as a collab?
Cuz we immediately discovered that playing these random caves was like the most fun we'd ever had playing HatPC. To quote myself back then, "it's like the madness of chaos theory but expanded to every type of tile". We wanted to share this with others, but first we wanted to see how well a random cave could pass for a legitimate one (apparently mixed reactions). I'd go as far to say I wanted people to try it more than actual levels that I've invested time making.

Quote:
Well that was like 7 months ago, why'd you take so long to actually share this with others
A few reasons compounded by laziness.
Spoiler:

Quote:
Why the crazy name?
Like I said, we really wanted people to try it out. I threw out the name as a joke and we went with it:
Spoiler:

Quote:
This isn't a question but fun fact: Our collab doesn't contain any right facing arrows. Probably because the very early version we were using didn't properly take the uploader glitch into account
true story

Quote:
I totally didn't even glance at that other cave you released, but was that randomly generated, too?
Kinda. I took a randomly generated cave that was not possible, and turned it into a legitimate level for fun. I spent a good amount of time testing and editing the level to play well, so it wasn't just a randomly generated cave

Quote:
I haven't noticed that there's a link to the Random Cave Generator in the header, are you gonna give me a link or what?
sure

Quote:
How well does this translate to HatPC Reborn?
Unfortunately I don't think nearly as well. It might play better if you modify the tile weights (ie: More empty space), but I still think HatPC reborn suffers in this play style just because old HatPC is much more flexible in what the player can do

Quote:
How often are randomly generated caves possible or fun to play?
It depends on the parameters you give it. For the caves to generate well you usually need a pretty good balance of tile weights. Additionally, generating random caves using tiles & templates is much more likely to give you an impossible cave. If you just want to have fun, I'd recommend going tiles-only. Even if you do generate a cave that isn't fun or is just flat out impossible, it's super easy to drop the cave and just generate another one.

I think the whole play style beyond individual caves is just really fun to me. It's like exploring a cave. You'll try advancing in one direction, but then get stuck, backtrack a little bit, try hitting some other crate, opening up a new area, etc. This trial and error nature goes between levels; one level doesn't really work at all, so you just generate another one instead of continuing to struggle with it. That might be why I like it so much

Quote:
Are robots going to replace our jobs making caves?
Until advancements are made on randomly generating fun HatPC Reborn levels, I wouldn't be too terribly worried, but I would still be mildly worried.

Quote:
Are you gonna explain how the tool works? (as in what the inputs do)
You can probably figure everything out pretty easily, but...

The "Tiles & Terrain" Dropdown:
"Only Tiles" - Generates a cave by filling in empty space with randomly selected tiles (Recommended for having fun playing randomly generated levels)
"Only Terrain" - Randomly generates a cave template
"Tiles & Terrain" - Randomly generates a cave template, and then fills all empty spaces with randomly selected tiles (looks coolest)

The Tiles field dictates what tiles are used and at what weight. For example, if you use "zzzxx" 60 percent of the tiles generated will be secret areas, and 40 percent of tiles generated will be terrain

Quote:
Are you going to talk about the cave template generator at all?
There's not too much to say about it, it's pretty neat and it generates templates that I think look pretty good. Getting it to work well was actually tougher than the random level generation.




But seriously I do recommend giving this a try, soccer and I had a blast when we did this. I can't speak for him, but it was probably the most fun I've had playing HatPC, just going through a rapid fire of levels and seeing if they work, seeing how well other tile combinations work for generating random levels, etc



spooky secret
krotomo
[?] Karma: 0 | Quote - Link
Saturday, November 18 2017, 1:02 pm EST
The Shepherd

Age: 19
Karma: 249
Posts: 4066
Gender: Male
Location: My chair
pm | email
krotomo said:
I can't imagine that this cave design was entirely random, because it does flow quite nicely.

Welp.

This is really cool though. I obviously had no idea that the cave was randomly generated, but it was like you said, surprisingly fun. I wonder if someone could make a more advanced program that would randomly generate boulder puzzles?
Quirvy
[?] Karma: 0 | Quote - Link
Sunday, November 19 2017, 1:01 am EST
  

Karma: 655
Posts: 7745
Gender: Male
pm | email
I'd say that your post there made some pretty solid observations. I was pretty surprised at how well some of the levels came together in terms of how you progress through the level. Often once you actually get started in a level, it actually plays like a genuine level.

The "bouldersNBoxes" preset in the header creates boulder mazes, which I've gotten some pretty nice caves out of. That doesn't exactly sound like what you mean, but I'm not exactly sure what you mean



spooky secret
Yimmy
[?] Karma: 0 | Quote - Link
Monday, November 20 2017, 10:54 pm EST
Resident Goody two-shoes

Karma: 70
Posts: 1602
Location: Climbing In Your Windows
pm | email
i would just like to share my opinion that only tiles is extremely boring in comparison to tiles and terrain


Spoiler:

To Jebby, Shos said:
lol. i didn't ask if you're british. i asked if you can speak the British language! you know, it's like English, but with a wierd accent!

pronouncing "rare" as re-ah, or 'the hobbit' as lah-ob-eat.
no 'r's alive, you can't hear a british guy says 'there' the-r. it will always be 'the-ah'...
Quirvy
[?] Karma: 0 | Quote - Link
Tuesday, November 21 2017, 8:51 pm EST
  

Karma: 655
Posts: 7745
Gender: Male
pm | email
Like I've said, terrain & tiles looks the coolest, but IMO, if you're actually playing the levels, Tiles only is more fun because those levels tend to be possible much more often and give you a lot more freedom in where you can try to go. Which also ties back to improved possibility; if you go down one path in Tiles only, and it doesn't work out, you can back track again. When that happens in Tiles & Terrain, you're usually screwed because the part that's impossible is at a choke point and there's no way around it. You'll also find that sometimes the door spawns in an entirely different cave section.

But I mean, you can always do what I did, and take a pretty neat Tiles & Terrain level and edit it into a playable user-friendly level. But I just really like binging on playing randomly generated tiles only levels



spooky secret
Yimmy
[?] Karma: 0 | Quote - Link
Tuesday, November 21 2017, 9:08 pm EST
Resident Goody two-shoes

Karma: 70
Posts: 1602
Location: Climbing In Your Windows
pm | email
I dislike tiles only because you have too much freedom. It's just aimlessly wandering and hoping it works. When a path is impossible in tiles and terrain you can take a different path as there's usually at least two paths and if it's at an intersection approaching it from a different angle usually works. (although I can't deny more tiles and terrain levels are impossibly than only tiles) (also you can just look at the map to see if the door is accessible without eve playing so that's not really a problem)

To each their own, I guess


Spoiler:

To Jebby, Shos said:
lol. i didn't ask if you're british. i asked if you can speak the British language! you know, it's like English, but with a wierd accent!

pronouncing "rare" as re-ah, or 'the hobbit' as lah-ob-eat.
no 'r's alive, you can't hear a british guy says 'there' the-r. it will always be 'the-ah'...
shos
[?] Karma: 0 | Quote - Link
Wednesday, January 24 2018, 3:32 pm EST
~Jack of all trades~

Age: 27
Karma: 384
Posts: 8259
Gender: Male
Location: Israel
pm | email
Hey I had this idea too a short while ago. I think it should be easy to make a python gui for randomly generated cave. Hmm...


soccerboy13542
[?] Karma: 0 | Quote - Link
Friday, January 26 2018, 7:07 pm EST
~*~Soccer~*~

Karma: 450
Posts: 4465
Gender: Male
Location: 1945
pm | email
We could definitely make this a group project


Livio said:
You know, I was thinking of getting an internship at Microsoft, but I'm not sure I want their lameness to rub off on me.

« Forum Index < The Hannah and the Pirate Caves Board

In order to post in the forums, you must be logged into your account.
Click here to login.

© 2020 The Interguild | About & Links | Contact: [email protected]
All games copyrighted to their respective owners.