This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
–1 vote

Hi.
I am working on a parkour game and i want procedural levels.
My idea is really simple, i just want to have floating boxes that change in height so the player can jump on them. they only need to go in one direction.

in Engine by (11 points)

What is your question?

1 Answer

0 votes

What you need is to instanciate the box through code then set its y position to a random value and its z position to the box spacing times the number of boxes created so far.
You can use randf_range() to get random number in a certain range.

Run that through a loop and you have what you are looking for.

by (2,018 points)
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 Frequently asked questions and 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 [email protected] with your username.