Okay, now that I’ve had time to actually practice with random generation (top down) and culling, I have come to find that I actually need someone to help with the entire subject.
I have been reading this post: http://www.java-gaming.org/topics/libgdx-2d-top-down-procedurally-generated-terrain/30281/view.html
I am quite confused to be honest. I understand the general idea of using a noise height map… but without the entire code its a bit… hard. Also, culling. How do you find the bottom and top coordinates (x0, y0, x1, y1) for the camera viewport?
I have no idea what I am doing. What I am trying to achieve: For example, a basic, yet random, island with grass and sand in the middle of an ocean. The island is bigger than the original screen view port, yet isn’t rendered if not on camera.
Also, how would saving a map work and not generating a new one unless told to?
Thanks!