Unity Case Study: Vampire Survivors

Before I get into the source code and project structure of Vampire Survivors, I’ll explain how I got here.

I wanted to create a Unity game, and landed on the Survivors genre as it’s small in scope but also popular. The plan was to whip up a small demo in a couple of weeks and release. Except for one small caveat. I wanted it to be written with clean architecture.

That was 6 months ago, because as it turns out, I had a lot to learn about Video Game Architecture, and very few people have any idea what clean Architecture looks like.

So why not go to straight to the source, what does the game architecture of Vampire Survivors look like?

Let’s take a look.

Unity Project

Before we dive into the code, it’s worth checking out the Unity Project itself. This is only a project rebuilt from the original game, the project is not functional, but much of the data is preserved.

Click Here