Castle
D-game
play755
7
6 Comments
Next up
I just wanna ask. More information in comments #idk
You can look at my profile of u want :D
fire1Reply
When I want to make smooth terrain structures
fire1Reply
I always use it
fire1Reply
huh
Reply
This function call perlin noise I use it in this deck https://s.castle.xyz/uOqqs10fKF1w So did you ever confused how seed generator work? Like “Wow how the heck did the program remember 1,00,000,000 seeds” Yea that’s me So they use perlin noise! Basic perlin noise Perlin noise will use your input to output it between 0-1 Example(not real example) Perlin(14,-95) = 0.19654 Perlin(-975511,1865) = 0.976510 But if you use the same input Perlin(14,-95) = 0.19654 It will be the same Perlin(1,0) = 0.0751 Perlin(2,0) = 0.976410 Something like that How to use it? My method is Seed = playerinput Seed2 = 0 Noise = perlin(Seed, Seed2) Seed2 = Noise + Seed2 Repeat Now it will random number! BUT If you use same Seed the outcome will always be the same in every repeat!
Reply