Practicing using Perlin noise to generate terrain. The eventual goal is to make a rust-style game. (This is just for practice at the moment )
Update: I now plan to use this to document my progress as I work on it, Iād also like to get some feedback though it seems my thread is dead atm
Portfolio- https://chainreactionist.com/
V1 Apr 8, 2022
V2- May 17, 2022
Just playing around with the idea of using triangles as opposed to cubes, I assume would be a lot more performant. I havenāt really been focusing on this as I have been working on many other projects but Iāll keep updating this post once in a while
https://gyazo.com/f002ae18615f34338be8e2fe3a276ac9
V3- May 21, 2022
I got some time to play around today so I tried out generating terrain using blocks as opposed to triangles, this doesnāt seem to be a good idea at the moment, but It might be worth considering if you were working on an open-world adventure game where you wouldnāt need to generate as many blocks because you would be using really large scalable blocks.
Example
Anyways, back to our talk on blocky terrain generation. I followed a YT tutorial that explained the basics of terrain generation using the built-in Roblox noise function. It went pretty well and from working on it I learned quite a few things and got a few ideas listed below
-
Use a single part for water, and use swimmable parts. A few issues with this is that Roblox has a part size issue, Iāll figure this out later as itās done in other Roblox games such as Mad City. This is an issue for future me.
-
I got some info from another developer called SyntheticDev#9931 he linked me some useful resources and Iāll link them below as well for anyone who might find it useful
-
Also got a few ideas as to how to generate triangular terrain. Iāll save this for the next update when I get more ideas and also because itās also subject to change.
Links
Polygonal Map Generation for Games
https://www.reddit.com/r/proceduralgeneration/comments/gulol6/combining_noise_to_make_a_more_interesting_terrain/
https://github.com/Synthetic-Dev/TerrainPrototype
Now Iād like to showcase what I made today. It might be useful to you if youāre making something similar
Images
https://gyazo.com/4adb2f0c835dd43a0e7ac5a184b50268
Game link (What did you think I would be selfish with my code? this is our code)
Project Cupcake - Roblox
8 Likes
Hi
Good start, I started like that too because it seemed interesting. Then i started adding biomes and using pre made chunk models by me like 4 per biome to make it look good. And learned how to use and generate a height and temperature map. This is on a bit of a higher level but just dont give up cause even me who didnt know anything about it could make something cool.
Also you can test it out and play around with values here: Procedural terrain generation showcase - Roblox
4 Likes
Real good game maps are built manually, stop trying to act advanced, itās simply going to make your game unrealistic and barely detailed compared to good maps.
Weāre not that advanced, you canāt build rust with a few generator scripts.
2 Likes
That simply isnāt the case. Manual Maps donāt equal a Good Game. āWeāre not that advancedā do you not get the point of an experimental project? and it mainly seems like youāre just projecting your insecurities about your coding skills and your ability to try out experimental projects.
11 Likes
I checked out your game, itās amazing what you were able to accomplish. I would love to talk to you sometime about terrain generation. My contacts are on https://chainreactionist.com/.
2 Likes
Sure but itāll definitely be a pixelated game, if you wanna generate something as beautiful as the Ark survival evolved island youāll have to script for another 10 years.
2 Likes
You realize Roblox has a terrain API that allows you to generate terrain right?
2 Likes
This isnāt some far off Idea. Infinite terrains have already been created Roblox Infinite Terrain Plugin - YouTube.
4 Likes
Iāve seen it, itās very plain, like a few hills with brushtool.
But for something like this by ArtBlox you just canāt build it with codes.
3 Likes
A agree this would be quite hard to replicate with code but you totally miss the point of procedurally generated terrain is to have virtually limitless worlds that couldnāt have been created through regular building.
4 Likes
Bro thats not the point, let the guy experiment. You are saying but it wont be as good looking as a manual build which is mostly true but one of the points for it is it can be made infinitely without you spending tons of time to make a well detailed giant map. Look at minecraft graphics isnt good but the terrain itself and the infinite world is. Which is also different for every player based on the seed. Its just not possible to achieve that with manual builds. Sometimes more good terrain is better than less well detaild.
6 Likes
I highly agree with this. I really donāt get why people are so against this.
3 Likes
Iām not, this kind of terrain is probably great for many games, not rust though.
2 Likes
This is great! I would move forward learning about other types of maps as each layer of code-mapping you lay onto a procedural world is a huge step in how it looks.
Larger terrain systems (you said you plan to aim for something like Rust), tend to use a seeding system. Decisions are made on the basis of a singular number or string for consistency (this is fairly easy to write for perlin terrain, where the noise runs based on a seed- but eventually you could manually write algorithms that do more important generation around it).
You can, actually, in fact this is literally how Rust generates its worlds (and every other well-done game where maps are anywhere on the spectrum of randomization).
A root gameworld is generated from a seed. This seed is then used to determine where landmarks should be placed (landmarks are manually built, but carved into the world through code intelligence). You then generate other necessary defaults (roads, paths, etcā¦ in Rust).
Rust has premade maps, but these maps were also originally created through terrain generation. The landmarks were just manually placed.
3 Likes
This is just the very early stage of development where Iām literally learning about procedural systems. Rome wasnāt built in a day and neither was rust. Everyone has to start at some point and it seems that you just donāt have the same vision as I do. Instead of attempting to get me down how about you follow me and watch my progress instead
3 Likes
Thanks a lot, I didnāt realize rust monuments werenāt procedurally placed. Maybe an ideal solution could be a mix of procedural and hand-placed work by actual builders .
3 Likes
In games like Rust, Ark (Better) and Battlefield 5, every single piece of non-harvestable and non-maneuverable objects are the same in every single server using this map. Not just landmarks.
2 Likes
What are you even saying???
2 Likes
You unironically live inside of the box. Good for you, good luck with that.
3 Likes
You figuratively lives outside our world, in 4065 maybe. Good luck with Dreamtime traveling.
2 Likes