Skip to main content

All Questions

0 votes
1 answer
150 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 ...
DDD's user avatar
  • 11
1 vote
0 answers
199 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 ...
idchlife's user avatar
  • 229
0 votes
1 answer
655 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-...
Kennichi Nitta's user avatar
1 vote
1 answer
405 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. ...
TheWorldSpins's user avatar
2 votes
0 answers
212 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 ...
Progs's user avatar
  • 93
1 vote
0 answers
471 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 ...
Mr.Smithyyy's user avatar
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 ...
BevanFindlay's user avatar
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 ...
Cristiano Santos's user avatar
2 votes
1 answer
573 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? ...
grokkaine's user avatar
  • 143
1 vote
0 answers
456 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 ...
Ertain's user avatar
  • 63
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 ...
PerduGames's user avatar
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 ...
AugustoQ's user avatar
  • 221