09-09-2023, 12:18 PM
Small update to original post. Restart logic now based on player x position instead of timer. This was to fix issue of premature restart when manually controlling the character jump with mouse clicks (or tap on mobile).