All Questions
Tagged with godot procedural-generation
12
questions
12
votes
1
answer
7k
views
How do I programatically lay tiles with the Godot engine?
I am completely new to Godot Engine, and quite an amateur in game development, in general. I have a small project where I want to implement a procedurally generated level, and for that I'd like to be ...
0
votes
1
answer
152
views
How to find out which biome the player is currently on
I'm using Godot 3.5 and OpenSimplexNoise to generate my 2D topdown world with right (auto)tiles. How can I detect on which biome I'm currently standing on?
This is how I generate my map (in some way ...
5
votes
3
answers
6k
views
Godot 3.1: procedurally generating TileMap with AutoTiles
I'm making a start on a 2d top-down game in Godot, using a TileMap and OpenSimplex Noise to generate the terrain. It works pretty well, creating decent contiguous regions of different types of ...
1
vote
0
answers
202
views
Which algorithms to use for drawing procedural paint splatters?
I want to create procedural paint splatters on textures. I want somewhat similar effect like in Splatoon 2.
I think I need to modify albedo image - drawing splatters there.
Right now I came up with ...
0
votes
1
answer
663
views
How do I determine the player's grid position?
My original method for doing this involved taking the player's position, dividing it by the grid cell size, and rounding the result. This works for most cases except when I move my player up above y-...
1
vote
1
answer
407
views
How do I generate platforms in a specific position in godot?
I am making a rogue-like game in Godot. Currently, I am stuck with the world generation. I know how to add children, but I am wondering if there is a way to add those children in a specific position. ...
2
votes
0
answers
215
views
Godot Procedural map, Need help to avoid overlapping areas
I have piece of code that using a tile set, i can draw an area of what is going to be a small town/city.
The code seed_cities, make an X number of cities randomly on the map, whereas draw_city just ...
1
vote
0
answers
477
views
Dynamically Generated Mesh Not Visible Unless In Wireframe Mode
I'm trying to create a dynamic mesh using ArrayMesh but my mesh isn't visible unless I turn on wireframe debug mode.
Here is a minimal example of a plane mesh consisting of 2 triangles (this script is ...
2
votes
1
answer
579
views
trying to create a triangle with procedural code
Using Godot3, I have a camera and added a MeshInstance node to the Spatial node and attached this script. Why am I not seeing any triangle yet?
...
2
votes
2
answers
357
views
How to guarantee that player fits rooms of a cave created by Cellular Automata?
I've implemented a cellular automata algorithm to generate a cave for my game and now I need my player object, which occupies 3x3 tiles in total, to be able to pass between the rooms.
The problem is ...
1
vote
0
answers
457
views
Using binary space partition to lay out scenes in game
Q: How can I randomly lay out these house scenes in the larger scene such that they don't overlap?
I'm using the Godot Engine to create a little 2D RPG kind of game. I'm laying out a village in a ...
3
votes
2
answers
326
views
How to pass the correct data into a continuous world
I'm having a hard time implementing the player moving around my world of 2048x2048 tiles that is generated using a noise function. I'm in it for weeks, and I can not, I mess around with the ...