idiot dev, yandere simulator 

so since I did a lot of Unity modding this week, I figured I take a peek at Yandere Simulator and take apart the Assembly it comes with.

IT

DOESN'T

EVEN

HAVE

A

GLOBAL

NAMESPACE

idiot dev, yandere simulator 

what is thissssss

so many properties have "My" prepended to them.

Yandere.MyRenderer, MyProjector, etc.

asdldaskdjals

Show thread

idiot dev, yandere simulator 

switches, you know them?

Show thread

idiot dev, yandere simulator 

to be honest, I have no idea of Unity, but I don't think THIS is the correct way of handling this.

Show thread

idiot dev, yandere simulator 

ah, the classic of manipulating parent state

Show thread

idiot dev, yandere simulator 

oh my my my my my my

Show thread

idiot dev, yandere simulator 

this is all part of "StudentScript"

I know that Unity likes the term Script, doesn't mean you need to suffix your classes with it, oof.

Show thread

idiot dev, yandere simulator 

okay, I'm really not wondering this game has performance issues if a single student carries more properties and methods than my whole game reverse engineering toolkit.

Show thread

idiot dev, yandere simulator 

Sure, I get that the game has a lot of stuff to do

but then just subclass Student types and only assign what's necessary, this is ridiculous.

Show thread

idiot dev, yandere simulator 

if your editor crashes when opening a >single< class file

you know something is horribly wrong

Show thread

idiot dev, yandere simulator 

so I want to share my pain.

feel free to join in in the feast that is consuming this wonderful piece of code.

it just might happen that your browser dies.

The entirity of Yandere Simulators "StudentScript" class.

Enjoy!

gist.github.com/pixeldesu/f6c8

Show thread

idiot dev, yandere simulator 

looks like the tutorials YanDev took code from did never handle the concept of enums.

Show thread

idiot dev, yandere simulator 

"Okay, not wondering about performance issues"²

Every Student carries an instance of the playable character, (this.Yandere)

Show thread

idiot dev, yandere simulator 

So, StudentScript carries "any possible state at any point in time" basically. Including animation references, textures, meshes, etc.

This could be handled so much better.

Show thread

idiot dev, yandere simulator 

I actually wonder if I can make some kind of class/property map out of this because it looks like most parts that are required more often all have references to each other in them.

Show thread

idiot dev, yandere simulator 

The fact that YanDev actually refused to take the code that was improved by someone from tinyBuild because "he couldn't understand it" just verifies that any quality in this is genuine.

Show thread

idiot dev, yandere simulator 

it's so fun how YanDev thinks that the performance of the game is tanking because of the rendering.

There even are low-poly models rendered at a distance for students.

But with this much stuff being tied to a single student instance, adjusting the rendering will only be the smallest part.

Show thread

idiot dev, yandere simulator 

@pixel holy shit, wasn't he a professional game dev before?
like that was part of his backstory, I'm sure of it.
what did he DO in that position?
like what were his responsibilities???
such that would lead him to believe he should jump into making his own game like that.
hearing about how he schedules his life as well is... wow.

idiot dev, yandere simulator 

@toast I saw his LinkedIn and he was in fact never a professional.

He helped with and made small mobile games at a...mobile game centric studio, but that was it, and of course his other gamedev projects at the side.

idiot dev, yandere simulator 

@pixel he claims he's worked on several console games (see other subthread)... so that's really weird.
And, well, mobile games are even more performance-critical, so surely he wasn't involved with the code there either... Unless they flopped I guess.

idiot dev, yandere simulator 

@toast okay, it also included console games, I remembeed wrongly.

But here, as you can see in the roles, aside for the mobile games, he only supported/QA'd them.

idiot dev, yandere simulator 

@pixel that makes it worse, imo
he should KNOW the quality of his game is unacceptable
but then he rejects changes (e.g the tiny build thing) that improve it
Follow

idiot dev, yandere simulator 

@toast well, from all the personal replies he always makes to critism etc. it looks like he is high up on his ego-trip because he made something popular.

which mainly works because of anime + hitman-like concept. The execution itself is rather bad tho.

Sign in to participate in the conversation
desu.social

Welcome to desu.social, pixeldesu's personal Mastodon instance!