Questions tagged [procedural-generation]

Programmatic generation of content (graphics, sounds, level-design,...) using random or pseudo-random processes, usually on the fly.

535 questions
-1
votes
1 answer

applications of Procedural Generation outside of game developement

are there any implementations of procedurally generated code ,in domains outside of game dev and film, are there any application of the concept as a whole is front-end developement or even system's engineering as far as i'm aware it's all game dev
-1
votes
1 answer

How can i get a two dimensional terraria like a map using python

I am trying to get a natural looking landscape like the game Terraria. I use a cellular automaton to generate caves and 1d Perlin noise for surface. The result is something like this: my prototype But this is not satisfactory to me because the…
-1
votes
1 answer

creating an interactive map in HTML/Javascript

I am trying to create a fictional map which I can zoom in and out to resize and view finer details and that also includes clickable regions like markers. Essentially I am trying to create something like the…
-1
votes
1 answer

What error did I make while copying this procedural plane generator from a video?

I am trying to start work on learning strategy/base building games in unity. I started out by copying code from this video but my version only does a single line of squares. It is the z dimension that does not continue and it does seem like it is a…
Lawrence
  • 1
  • 3
-1
votes
1 answer

BSP dungeon generation is not generating corridors

I'm making a 2D RPG for my graduation project, and I'm at the point where I want to generate my dungeons randomly. I'm following this tutorial http://www.rombdn.com/blog/2018/01/12/random-dungeon-bsp-unity/ to make a randomly generated…
-1
votes
2 answers

Formula to make the ends of the arms of a spiral galaxy less dense

I want to make a spiral galaxy in Unity 3D using C# ( i use a derived logarithmic spiral ). I want to set the end of the arms less dense than the middle, but mine are the same density throughout. I want this: I have this result currently: (source:…
Zenden
  • 3
  • 2
-1
votes
1 answer

2D Platformer procedural world generator

i am currently developing a 2D tile based java platformer. Not to earn money, just for fun. Recently i found this game called Caveblazers. It is a 2D platformer too and i think it is also tile based. It's world is procedurally generated and looks…
-1
votes
1 answer

How to fix pathfinding for AI in a procedural generated dungeon?

I'm currently working on a 3D procedural dungeon generator with enemy AI's. How do I fix path-finding for the enemy AI's in this situation? It's not possible to bake navmesh on run-time, and the dungeon is generated differently every time it is…
-1
votes
1 answer

2D Procedural Generation

I'm currently trying to implement procedurally generated tilemaps for an overworld. I'm as far as generating noise and building the tilemaps using different ranges within the generated noise. However, they're very crude as each different 'biome' is…
KruSuPhy
  • 43
  • 7
-1
votes
1 answer

Unity 3d ondular terrain generation

I am making a 3d game where i have to do some terrain generation to have an infinite and random level. The terrain has to be ondular with ups and downs, like this: https://i.stack.imgur.com/iZl4A.jpg i used perlin noise to generate a terrain, with…
-1
votes
2 answers

Generate new random Values

My code opens a window where the stats of a Rpg-like Item are shown, which were randomly generated, now my problem is, that I don't know how to make it so it generates a new Item after you press a button. I'm using the libgdx framework. When it…
-1
votes
1 answer

Terrain Generation with Realistic Height Map

I am having troubles finding out the best way to add realism to a terrain generator. At this point I have a flood fill that works perfectly, however if I want to add any sort of realism I will need to add in height variables. I have seen the…
Hunter
  • 201
  • 3
  • 17
-1
votes
1 answer

Algorithm to procedurally generate background colors that go well with a predetermined foreground color?

I know several methods to procedurally generate colors that work well together. But I can't find a way to get a pleasing palette that work well with my white text. There's of course a no-brainer solution that limit Light in HSL below a certain range…
AVAVT
  • 7,058
  • 2
  • 21
  • 44
-1
votes
1 answer

Algorithm to assign edges to smallest possible polygons?

I'm designing a procedural city generator, and the first step of the generation process is the creation of city streets. These streets extend out in a straight line to a point, then they can either branch, rotate, or continue in the same direction.…
Jay2645
  • 61
  • 5
-1
votes
1 answer

Clarity in Procedural Texture Algorithms?

In the Big Picture Section of this page here a table is given for comparing different combinations of 3 different functions. Let the function in the left be y = f(x) then what about the functions Average, Difference, Weighted Sum, 4% Threshold ? I…
1 2 3
35
36