Tagged Questions
-1
votes
1answer
97 views
Generating a grid of cubes in 3D space [closed]
I am trying to generate a grid of cubes in 3D space and It aint workin...
All im doing is for looping YXZ (in that order) (nested for loops) then im doing cubes[x][y][z] = ... (new Location(x,y,z))
...
2
votes
3answers
147 views
Using random numbers with a bias
I appear to be awful at describing the question so I'll try and describe the problem.
I want to add a random amount of heads to my creatures but I want to be able to determine several things.
a) The ...
-1
votes
2answers
159 views
Lwjgl Random 2D Map Generation [closed]
First time poster here. I am somewhat (as in mid - low, closer to mid) experienced with Java but I seem to be having some trouble. I'm using the lwjgl library to make a "2D Minecraft-esque" game. ...
8
votes
2answers
426 views
Random Zelda-style map generation
Im trying to randomly generate a map of rooms connected by doors, and I've succeeded in generating one using this code:
public void generate(GameContainer gc) {
rooms = new ...
1
vote
2answers
177 views
How should I generate and store the boundries of a cave?
I am making a small cave copter game (seriously, where did this type of game come from anyway) and I am trying to figure out how to make and store the procedural generated walls. I am thinking about ...
-1
votes
1answer
325 views
What causes the pre-1.8 Minecraft far lands to generate? [closed]
Before Minecraft Beta 1.8, when you reached about x:3000000 y:3000000, the terrain generator would freak out and begin generating broken scary land.
What went on in the MC code to provoke this? Why ...
2
votes
1answer
240 views
How do I efficiently generate chunks to fill entire screen when my player moves?
In my game I generate chunks when the player moves. The chunks are all generated on the fly, but currently I just created a simple flat 8X8 floor. What happens is that when he moves to a new chunk ...
4
votes
1answer
509 views
Island Generation Library
Can anyone recommend a tile map generator (written in Java is a plus), where one can control some land types? For example: islands, large continents, singe large continent, archipelago, etc.
I've ...
2
votes
2answers
339 views
How to create reproducible probability in map generation?
So for my game, I'm using perlin noise to generate regions of my map (water/land, forest/grass) but I'd also like to create some probability based generation too. For instance:
if(nextInt(10) > 2 ...
12
votes
8answers
2k views
How do I create tileable solid noise for map generation?
Hey guys, I'm trying to figure out how to generate tileable fractals in code (for game maps, but that's irrelevant)
I've been trying to modify the Solid Noise plug-in shipped with GIMP (with my ...