— I could be wrong, but those coins don't look random. If it's an endless runner, it may be grabbing random floor chunks, but those coins looked precisely placed for a better platforming experience. They probably had something scripted to grab a specific coin layout for a specific length of floor.
That's not the example you requested, but if this game is what you're looking for, it's probably more crafted than it appears.