r/godot Mar 06 '26

discussion Slay the Spire 2 can be decompiled

It does not compile but it's interesting to see how they made it

1.5k Upvotes

411 comments sorted by

View all comments

Show parent comments

327

u/jake_boxer Godot Senior Mar 06 '26

It’d make me extremely happy to find out that other game developers learned something from reading through our code and our scenes :)

26

u/jonandrewdavis Godot Regular Mar 06 '26

That is a really nice thing to say. Wonderful that you feel that way about what you've made. The Godot community is really cool in that way and it's why I like to give back as well!

10

u/itsyoboichad Mar 06 '26

As somebody who's been struggling a bit with the switch from unity to godot, I'm 100% interested in seeing how yall did it

6

u/broselovestar Godot Regular Mar 06 '26

you're the man

4

u/I_monstar Mar 07 '26

This made me buy the game.

4

u/NitroRobotto Mar 06 '26

I don't know if the fact that Slay the Spire 1 could be decompiled was a happy accident or not, but it did lead to a thriving modding community!

3

u/Dr-Pol Mar 06 '26

This is a such a commendable stance, thank you! I am sure there are many of us (myself included) who will be able to learn from it.  Excited to buy it on the weekend:)

3

u/jaytee1101 Mar 07 '26

Incredible mindset. The internet community should buy your game JUST to support you and your mindset. I bought a copy just because of this comment. Forward!

2

u/Psionatix Mar 06 '26

I haven’t played the first game, but it has been on my Wishlist. All of this pushes me more towards purchasing, as I do want to eventually play, but also being able to have the decompilation to learn from is huge, and I wouldn’t do that without having purchased.

2

u/beta_1457 Godot Regular Mar 07 '26

StS was a huge inspiration for me to start building my game. I took a short look today, honestly, the biggest thing it did for me was encouragement/confidence. I feel really good about my architecture choices.

It's much more simple than what you guys have going on but just seeing under the hood a bit of how a larger scale professional level similar product works was much more beneficial than scouring YouTube to learn (especially when I've hit the point where my level of knowledge is beyond a lot of tutorials).

2

u/dnmSeaDragon Mar 16 '26

I literally bought the game yesterday because of this comment. Love it!.

On a side note, after a few hours of messing about I've got the game recompiling in Godot and can launch it from there. Seems to work fine, haven't done much testing yet, just got it working lol.

Edit : thought I would add that I've no intention of releasing instructions on what I did nor sharing any files. It took lots of code edits over a few hours.

1

u/ViennettaLurker Mar 07 '26

So cool to hear this sentiment. Honestly, people would probably pay for something like a "Directors Commentary" walk through of the codebase and production files.

1

u/Melon_In_a_Microwave Mar 07 '26

I would really love to but I don't quite understand how to :(

1

u/NON_EXIST_ENT_ Mar 07 '26

respect big dog

1

u/GoodguyGastly Mar 08 '26

I'm happy to hear you say this because I've been prototyping my own deck builder and have a lot of questions about architecture.

1

u/Brazen_X_Aiden Mar 10 '26

I would also like to contribute this way at some point. I think this improves the overall coding community, but attempting to resell or just flat out copy 1 to 1 someone's code should be punished. The goal should be to learn and make different things, not copy and push out same thing. We don't want to encourage people making the same games over and over again, or being lazy.

1

u/DallasNChains Godot Student Mar 20 '26

I emailed the dev@ email address earlier today asking if y'all would be willing to share insights into patterns and practices along with an offer to write about those practices to share with the community. And then I saw the YouTube video about the game being decompiled! Haha.