Path progress system display on UI (like Deathrun)

I am trying to create a frame that shows how far into an obby you’ve completed. I’m not using checkpoints, so I can’t just use players current stage / total stages. It’s basically just a start and an end. But I’m wanting something similar to what Deathrun does. Obbies will be odd shapes, and have loops, etc. so I can’t just figure out the distance from the start to the end either.

My thought process was to have a bunch of invisible parts along the map, label them 1, 2, 3, etc. and the somehow getting their distances added up and figuring out how close a player is to each one or something, I don’t really know though.

I take back the checkpoint claim, there will be checkpoints, but only 1-2 per map. So I still can’t do the whole player stage / total stages, as that would only update as they reach each stage. I need the bar to continously move up (or down) as the player progresses.


With the ‘Path’ folder possibly containing the parts for tracking? And the UI bar at the bottom being like the progress

4 Likes

@Wsly might be happy to share his method directly!

Sounds like a pretty interesting task. If I were to undertake this I would take the approach of lining the centre of each course from start to finish with straight parts, so that there is a continuous path from A to B. I’d take the total length of this path as 100% of the course, and work out how far the player has travelled according to how far along the nearest part they are. This will account for going backwards, and you can easily do this same calculation for everyone else on the course, leaving a similar result to DR.

Looking forward to hearing other solutions though!

2 Likes