<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/investigating-slay-the-spire-s-source-code-l4nkynz39" -->

---
title: Investigating Slay the Spire's source code | daily.dev
description: A streamer explores the decompiled source code of Slay the Spire 2, discovering it's built in Godot with C# scripts and is essentially unobfuscated. Through...
canonical: https://daily.dev/posts/investigating-slay-the-spire-s-source-code-l4nkynz39
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Investigating Slay the Spire's source code | daily.dev
og:description: A streamer explores the decompiled source code of Slay the Spire 2, discovering it's built in Godot with C# scripts and is essentially unobfuscated. Through...
og:url: https://daily.dev/posts/investigating-slay-the-spire-s-source-code-l4nkynz39
og:image: https://api.daily.dev/og/posts/l4NKYnZ39.png
og:image:alt: Investigating Slay the Spire's source code
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Investigating Slay the Spire's source code

**[sphaerophoria](https://daily.dev/sources/sphaerophoria)** · 97 min read · 3 upvotes · 0 comments

## Summary

A streamer explores the decompiled source code of Slay the Spire 2, discovering it's built in Godot with C# scripts and is essentially unobfuscated. Through live exploration, they trace the game's architecture: node hierarchies, scene containers, async/await task loading, signal-based input handling, and card model classes. They successfully make a small live edit, bumping a card's base damage value from six to nine and confirming the change persists after rebuilding, with the long-term goal of eventually building bots to automate combat decision-making.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=KeQN06QwVNA>

## Questions this post answers

### Can you decompile a Godot game's C# source code even if it's not obfuscated?

Yes. A tool called GDRE Tools can extract a full, unobfuscated project from a compiled Godot game, including scene trees, node hierarchies, and readable C# scripts with original-looking variable and method names such as InputManager and GetNode calls. In one case, an entire game's source, including gameplay logic like card and combat systems, was recoverable this way with no obfuscation blocking it.

_Developers curious about protecting or auditing shipped game code can track reverse-engineering techniques like this on daily.dev._

### How can I speed up gameplay testing in a Godot game without breaking animations?

Setting Engine.TimeScale to a high value (like 20) in Godot causes floating-point instability, breaking card animations and physics-dependent timing. A safer middle ground, such as 3x speed, works without visibly breaking things, though it is not perfect. A more robust approach is stripping out animation and tween calls entirely in a headless or fast-mode branch rather than globally scaling time.

_Anyone tuning simulation speed in Godot projects can follow practical fixes like this via daily.dev._

## Similar posts on daily.dev

- [Steam's New Indie Hit Was Made in Godot](https://daily.dev/posts/steam-s-new-indie-hit-was-made-in-godot-t5ntkvsjy) · 80 LEVEL · 0 upvotes · 0 comments

---

Tags: [#game-development](https://daily.dev/tags/game-development), [#c#](https://daily.dev/tags/c#), [#reverse-engineering](https://daily.dev/tags/reverse-engineering), [#godot](https://daily.dev/tags/godot)

[View this post on daily.dev](https://daily.dev/posts/investigating-slay-the-spire-s-source-code-l4nkynz39)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Investigating Slay the Spire's source code","url":"https://daily.dev/posts/investigating-slay-the-spire-s-source-code-l4nkynz39","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/investigating-slay-the-spire-s-source-code-l4nkynz39"},"datePublished":"2026-09-04T22:16:40.003Z","dateModified":"2026-09-14T07:33:06.633Z","description":"A streamer explores the decompiled source code of Slay the Spire 2, discovering it's built in Godot with C# scripts and is essentially unobfuscated. Through...","image":"https://i.ytimg.com/vi/KeQN06QwVNA/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/KeQN06QwVNA/sddefault.jpg","isAccessibleForFree":true,"articleSection":"sphaerophoria","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"sphaerophoria","logo":"https://media.daily.dev/image/upload/s--dgPUg2T7--/f_auto/v1728806109/logos/sphaerophoria","url":"https://daily.dev/sources/sphaerophoria"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/investigating-slay-the-spire-s-source-code-l4nkynz39","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"game-development,c#,reverse-engineering,godot","timeRequired":"PT97M","video":{"@type":"VideoObject","name":"Investigating Slay the Spire's source code","description":"A streamer explores the decompiled source code of Slay the Spire 2, discovering it's built in Godot with C# scripts and is essentially unobfuscated. Through...","thumbnailUrl":"https://i.ytimg.com/vi/KeQN06QwVNA/sddefault.jpg","uploadDate":"2026-09-04T22:16:40.003Z","duration":"PT97M","url":"https://api.daily.dev/r/l4NKYnZ39","embedUrl":"https://www.youtube.com/embed/KeQN06QwVNA"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"sphaerophoria","item":"https://daily.dev/sources/sphaerophoria"},{"@type":"ListItem","position":3,"name":"Investigating Slay the Spire's source code"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/investigating-slay-the-spire-s-source-code-l4nkynz39#faq","mainEntity":[{"@type":"Question","name":"Can you decompile a Godot game's C# source code even if it's not obfuscated?","acceptedAnswer":{"@type":"Answer","text":"Yes. A tool called GDRE Tools can extract a full, unobfuscated project from a compiled Godot game, including scene trees, node hierarchies, and readable C# scripts with original-looking variable and method names such as InputManager and GetNode calls. In one case, an entire game's source, including gameplay logic like card and combat systems, was recoverable this way with no obfuscation blocking it. Developers curious about protecting or auditing shipped game code can track reverse-engineering techniques like this on daily.dev."}},{"@type":"Question","name":"How can I speed up gameplay testing in a Godot game without breaking animations?","acceptedAnswer":{"@type":"Answer","text":"Setting Engine.TimeScale to a high value (like 20) in Godot causes floating-point instability, breaking card animations and physics-dependent timing. A safer middle ground, such as 3x speed, works without visibly breaking things, though it is not perfect. A more robust approach is stripping out animation and tween calls entirely in a headless or fast-mode branch rather than globally scaling time. Anyone tuning simulation speed in Godot projects can follow practical fixes like this via daily.dev."}}]}
```

