xDeltaXen
(xDeltaXen)
November 26, 2020, 7:54pm
#1
You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
I want to know how to make them very simpley for my game.
What is the issue? Include screenshots / videos if possible!
I can’t find any sources that simply explain these or give examples
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
Google everywhere.
A simple example would be nice because thats what I really need so if you could please help me out i would be grateful!
1 Like
Maybe this would be of some help
I have a Perlin Noise code. But I also want to add caves. I found out that for the caves we need to use something called Perlin worms. I have a code for it too but it doesn’t work as I want it to here is the code:
local Seed = tick()
print("Seed is: "..Seed)
local Resolution = 4
local NumWorm = 1
while wait() do
NumWorm = NumWorm+1
local sX = math.noise(NumWorm/Resolution+.1,Seed)
local sY = math.noise(NumWorm/Resolution+sX+.1,Seed)
local sZ = math.noise(NumWorm/Resolution+sY+.1,Seed)
…
xDeltaXen
(xDeltaXen)
November 26, 2020, 8:32pm
#3
ALREADY looked there about 10 times and it was not helpful
Operatik
(Operatik)
November 26, 2020, 8:39pm
#4
It’s for generation worms randomly in a 3D or 2D space. Essentially for random cave generation in games like Minecraft.
http://libnoise.sourceforge.net/examples/worms/
xDeltaXen
(xDeltaXen)
November 26, 2020, 9:21pm
#5
I looked at that I know very little C# / C++ so I could not make sense of it!
Logimite
(84pontiacdream)
November 26, 2020, 9:46pm
#6
Learn it because the code in there is really simple.
xDeltaXen
(xDeltaXen)
November 26, 2020, 9:49pm
#7
I cant explain something I dont know thats why i am asking here
Operatik
(Operatik)
November 26, 2020, 11:36pm
#8
You don’t need to understand C# or C++ in order to comprehend the perlin worms. If you know what perlin noise is, perlin worms are simply something that can create “worms” in the noise. Simply grasp the overall concept.
The link I sent was the basic concept. The information can be easily adapted to appropriate programming language because it’s more math than technical application.
1 Like