Ill check it out thank you!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
Search found 90 matches
- Thu Dec 15, 2022 3:50 pm
- Forum: Support and Development
- Topic: Procedural map generation
- Replies: 31
- Views: 6530
Re: Procedural map generation
- Thu Dec 15, 2022 3:50 pm
- Forum: Support and Development
- Topic: Procedural map generation
- Replies: 31
- Views: 6530
Re: Procedural map generation
Im not sure what you mean
- 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...
- 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...
- Tue Dec 13, 2022 5:11 pm
- Forum: Support and Development
- Topic: Procedural map generation
- Replies: 31
- Views: 6530
Re: Procedural map generation
The lines mentioned before
- Tue Dec 13, 2022 4:56 pm
- Forum: Support and Development
- Topic: Procedural map generation
- Replies: 31
- Views: 6530
Re: Procedural map generation
If its not too much to ask can you send a screenshot of it?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.
- 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...
- 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...
- Tue Dec 13, 2022 4:03 pm
- Forum: Support and Development
- Topic: Procedural map generation
- Replies: 31
- Views: 6530
Re: Procedural map generation
Like reference to how it should look?darkfrei wrote: ↑Tue Dec 13, 2022 3:30 pm Any reference? https://www.google.com/search?q=site:lo ... procedural
- 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...