0 votes

Hello, I'm new to your engine and am working on my first game. In it the player can only move forward or backward(towards right or left on screen). So for this I need that as the player keeps moving forward, he keeps getting more and more nodes ( which are just StaticBody2D nodes player can land and move/jump forward on ). Also, These new progressing nodes should be non overlapping and if possible at a certain minimum distance.

It's in 2D only.

So, to sum up I want somewhat:
1) Random placing of nodes as player moves forward.
2) Non-overlapping
3) Infinite

EDIT: Is this (or somewhat like this) is what is called procedural generation?

Please suggest me some ways or code snippets to do the above mentioned.
Thanks in Advance for spending your precious time in helping me out in my problem

Godot version 3.2.3
in Engine by (86 points)
reshown by

1 Answer

0 votes
Best answer

I solved it myself after several days when no one replied. :\

by (86 points)
selected by
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.