Search found 90 matches

by fridays18
Thu Dec 15, 2022 3:50 pm
Forum: Support and Development
Topic: Procedural map generation
Replies: 31
Views: 6530

Re: Procedural map generation

darkfrei wrote: Wed Dec 14, 2022 8:47 pm If you want to get result trough mazes, try to understand my old mod for Factorio:
(control.lua only)
https://mods.factorio.com/mod/Mazing

a58646e25aa00b54fff890d17a4d64392614e79e.png
Ill check it out thank you!
by fridays18
Thu Dec 15, 2022 3:50 pm
Forum: Support and Development
Topic: Procedural map generation
Replies: 31
Views: 6530

Re: Procedural map generation

BrotSagtMist wrote: Wed Dec 14, 2022 5:15 pm Stop doing the opposite of what i tell you to do.
Im not sure what you mean
by fridays18
Wed Dec 14, 2022 4:37 pm
Forum: Support and Development
Topic: Procedural map generation
Replies: 31
Views: 6530

Re: Procedural map generation

Yea, jam code is not really meant to be reused, its jammed together. But to pinpoint the process here: Have a function walk through the map from one point to wherever its ruleset allows it to walk and save that not only in the map but a second table. That table _is Street_ in my example. The rulese...
by fridays18
Tue Dec 13, 2022 9:27 pm
Forum: Support and Development
Topic: Procedural map generation
Replies: 31
Views: 6530

Re: Procedural map generation

At this point i am really sorry this code is so hard to read (i wrote that in a day). But the concept i explained above are basically just lines 258-299 in that main.lua file. There is nothing more to it. Just found the functions, I dont understand them but can i just say damn its impressive you di...
by fridays18
Tue Dec 13, 2022 5:11 pm
Forum: Support and Development
Topic: Procedural map generation
Replies: 31
Views: 6530

Re: Procedural map generation

BrotSagtMist wrote: Tue Dec 13, 2022 4:59 pm Uhhh? Of what?
The lines mentioned before
by fridays18
Tue Dec 13, 2022 4:56 pm
Forum: Support and Development
Topic: Procedural map generation
Replies: 31
Views: 6530

Re: Procedural map generation

BrotSagtMist wrote: Tue Dec 13, 2022 4:34 pm At this point i am really sorry this code is so hard to read (i wrote that in a day).
But the concept i explained above are basically just lines 258-299 in that main.lua file.
There is nothing more to it.
If its not too much to ask can you send a screenshot of it?
by fridays18
Tue Dec 13, 2022 4:15 pm
Forum: Support and Development
Topic: Procedural map generation
Replies: 31
Views: 6530

Re: Procedural map generation

You may just grab the entire game: https://pmprog.itch.io/desktop-labyrinth And while you are at it, can you tell me if it starts without border decoration? Somehow this doesnt seem to work in every case and i really dont know why. Just checked it out it looks cool! but how would I go about checkin...
by fridays18
Tue Dec 13, 2022 4:11 pm
Forum: Support and Development
Topic: Procedural map generation
Replies: 31
Views: 6530

Re: Procedural map generation

Consider this is a small map and computers are pretty fast. You can just bruteforce a map by doing creating/checking a few hundred times and it will still be fast enough to work without loading times. I do have the same map design in one game, my procedure is: Pick random point to turn it into a fl...
by fridays18
Tue Dec 13, 2022 4:03 pm
Forum: Support and Development
Topic: Procedural map generation
Replies: 31
Views: 6530

Re: Procedural map generation

darkfrei wrote: Tue Dec 13, 2022 3:30 pm Any reference? https://www.google.com/search?q=site:lo ... procedural
Like reference to how it should look?
by fridays18
Tue Dec 13, 2022 4:02 pm
Forum: Support and Development
Topic: Procedural map generation
Replies: 31
Views: 6530

Re: Procedural map generation

Consider this is a small map and computers are pretty fast. You can just bruteforce a map by doing creating/checking a few hundred times and it will still be fast enough to work without loading times. I do have the same map design in one game, my procedure is: Pick random point to turn it into a fl...