Skip to main content
Share Your Experience: Take the 2024 Developer Survey

New answers tagged

1 vote
Accepted

How to generate a series of checkpoints randomly along a 2D line

Let's start with the basics of how this problem is solved, and work it backward. At the end, I will discuss your choice of data format (PNG vs others). Step 1: The 1-dimensional method for calculating ...
Engineer's user avatar
  • 29.9k
0 votes

How to make a 2D Procedural Track Generation Algorithm

For quite a while, Unity provides a really neat tool for defining curved paths like race tracks in form of an optional package: Splines. A spline is a bezier path. Which means it is defined by several ...
Philipp's user avatar
  • 120k

Top 50 recent answers are included