u/Priler96

I've spent 30+ hours reverse-engineering Silksong's code. Here's what I found :]
🔥 Hot ▲ 997 r/gamedev+1 crossposts

I've spent 30+ hours reverse-engineering Silksong's code. Here's what I found :]

I spent about 30 hours reverse-engineering the code of Silksong, one of the most successful Unity games ever. And found some genuinely impressive (and aggressive) optimizations.

Highlights:

  • Movement Code Breakdown: I broke down the exact frame-windows for Coyote Time and Input Buffering that make the platforming feel so responsive. The Elegance of Silksong movement as is :]
  • Hidden "Demo" Mode: There’s a left-over IsExhibitionMode check. With a small patch, you can actually boot the Gamescom demo version from the retail files.
  • Dev cheats, Debug view, Performance overlay, etc: We recover and re-enable everything to see how it was used by the developers.
  • Performance: Team Cherry implemented a Manual Garbage Collector and a custom reflection-to-delegate compiler. It’s a 100x speed boost over standard Unity methods.
  • Much, much more in the video.

Full Video: https://www.youtube.com/watch?v=eC9bIelizlw

youtube.com
u/Priler96 — 7 hours ago