Although this is true, imagine how hard it'd be to throw away 7 YEARS of work. It may be clumsy and laughably inefficient work, but you still spent so much time on it... Starting over from scratch after 7 years would be crushing, and I don't blame the guy for not having the willpower.
Reminder that tinybuild sent a professional programmer to help Yanderedev with the code. A week later this programmer was fired by Yanderedev for fixing his code simply because Yanderedev didn’t understand anything other than his own laggy script.
He justifies his code because he was a self-taught coder. He understands it and it works. That's all the justification he needs. I would say that's fine... If you were working on a tiny game for two weeks for fun and it's a hobby. But it's not fine if you are working on a game for multiple years and it's your job. It's like someone saying, "I don't need to learn how to drive a car, I can ride a bike." Riding a bike is not a problem if you are visiting a close neighbor. It is a problem if you are planning on going to a different town. Then when people criticize him for arriving late by saying, "You could have arrived on time if you learned how to drive, and you wouldn't complain about all the energy it took for you to ride that bike." He'll just reply with, "We'll no one taught me how to drive and riding a bike works. Yeah, it takes longer, but I'm just one person riding the bike and at least I'm not walking." And then people tell him, "If you don't want to learn how to drive, ask someone else for a ride." But then he'll say, "I don't need be in a car with someone else, what if they are listening to music I don't like? At least if I'm riding a bike alone, I get to pick the music."
This is a perfect analogy! You’ve hit the issue straight on the head. The real issue at the root of this bad code is a prideful man that does not want to accept he’s wrong or adapt to the situation.
I like the idea of a guy with a screwdriver going around a high school and fixing the students by prying off their faces and and being like “ah yep this needs a switch statement”
Programers beginers could learn code by playing a yandere simulator mod where you have to go near students with a screwdriver, press a key, and then recode parts of the game, and by doing it winning achivements.
@@Iden671 That is actually a really cool idea! A game that starts off broken and performing poorly but that can be fixed by the player in order to progress in the game and fix new and more complicated bugs down the line. Could probably include bugs that relate to general game logic and also performance optimization. Perhaps visual glitches as well like missing land and character meshes and pop-in.
@Matty Bruno Lucas Zenere Salas and rushing code is...good? If you mess up a game you promise to make for the only purpose of showcasing it faster to fans, it shows you choose recognition over completion. Meaning your game suffers. Meaning one day you will face the choice - do I keep this sh*t like that and go on or do I fix? It's a lose-lose sutiation. troll or not, people should (almost) never rush the code for the excuse of showing the game faster.
My dads been working as a programmer since I was born (so about 22 years) I showed him the code and he genuinely thought I was effing with him. Especially after I told him how much hes making monthly from patreon for it.
@Matty Bruno Lucas Zenere Salas if you were a REAL programmer as you claim, you would know rushing code is NOT the mark of a good programmer. Rushing anything means much much more time fixing all the bullshit you rushed through because it doesnt work and never did.
@Matty Bruno Lucas Zenere Salas he had six years to go back and fix it. And trying to show more in less time is stupid. He shouldnt have cared more about showing off to youtube than coding the game.
@Matty Bruno Lucas Zenere Salas i'm not. I'm just saying that if he were a good programmer, he would have understood the importance of focusing on the game instead of rushing it for youtube views, because a 'real' programmer would understand that he needs to put the game as first priority instead of youtube views. If you actually agree with him rushing the game, then you don't have the 'mind of a rEaL programmer', you have the mind of a youtuber whos only looking for clout. Fuck, why did i even write this? Not like you'll even listen.
@Matty Bruno Lucas Zenere Salas bruh you are the one that sounds like a karen. the guy is literally just pointing out that he wasted 6 yrs at "rushing" his code even though in that span of 6 yrs, he has alot of time to fix it but he didnt
@Matty Bruno Lucas Zenere Salas using if statements automatically get swapped to switch statements (if more efficient) by the unity compiler, switch statements are just far easier to read
In case you don’t understand the problem with it all being in one script, here’s one way of thinking about it: It’s like an entire book series being shoved into one chapter, with footnotes, errors left in and corrections put in after an error. An unreadable, unreasonably large mess that never needed to exist.
Gaben :p I was talking about the actual code not the assets. For the most part love letter is already starting to replace those so yanderedev doesn’t say something like “tHeY sToLe My AsSeTs”
For those unaware or struggling to get to grips with the first major issue of the Yandredev's code, its bad practice to keep *everything* in one massive block. As Jack illustrated, one script does everything. Litterally EVERYTHING, every time the computer runs a clock tick. Your computer can be considered very complex clockwork. Every action on screen is a 'tick' of its internal clockwork mechanism. We as Devs tie actions to each tick of that clock, happening over and over again based on that regular action. Like wind-up toys, the game keeps moving to that beat. Normally, its fast enough to look smooth and seamless. Yandre Simulator is an example of how to poorly manage each 'tick' as the computer doesn't tend to finish everything it needs to before the next tick happens. Its as if your plan to keep your house clean and tidy was to clean all of it, everyday. Scrub and hoover floors, wash dishes, clean toilets and oven, wipe down all windows and counters. It would eat into your day, possibly even encompass the whole thing. And as you get tired and slower trying to keep up,you go over a day, spilling into the next. And so stuff gets backed up as you try to keep up. On each tick, the limits of what can be done before the next tick happens are stretched to beyond their limit as the computer has to do more than just run your game. There's an OS in there too. Jack's solutions here are simple: only do what you need to in the time given. NOT EVERYTHING. Only what is pertinent. He broke everything down into abstract concepts so that he could then update each student on what they ought to be doing together rather than one at a time so that they could handle themselves, in a way. This also means that any students that don't do anything at a particular point aren't required to do anything or at least can 'opt out early' (turn down doing something now) if they're not supposed to do anything. Its the equivalent of only cleaning your house when something is deemed 'dirty'. If its fine, you leave it and do what actually needs doing now. It makes keeping the number of things your doing between computer ticks much, much easier.
@@DarkDax why would you even think that dude? If you make a competent crtique he'll even link your video. Rn youre just talking about general shit and guessing. Some other dude made a codereview that actually uses profiling and benchmarks
The funniest part is, shortly after this came out YandereDev actually switched out most of the if/then statements with switch statements. Makes me wonder if he saw this and went "Oh, that would work better" and then decided to claim he knew how to do it all along and was just more focused on other aspects of the game's code first.
@@RalismynameOh okay i'll diss him for something else! He's openly said in his discord server that he thinks DID is not a real disorder and that it's just people looking to roleplay as others occasionally. So he also knows jackshit about psychology... and he made a game where the main character is very much implied to have a mental disorder?
@@ghostlyyyyyy Alr, game is first of all a work of art and you cant really judge it There are games about criminals and stuff yet it aint a problem smh But everything else is pretty much valid
Yandere Simulator is like writing a novel where everything, from the footwear of the characters, to the air they breathe, is described so meticulously, that even the descriptors are described in such a manner. Such a novel would make J.R.R. Tolkien's work look like a short story a kindergartener wrote.
Stumbled across this video out of nowhere and, quite honestly, this was better than anything I've seen yet on YS's development. Not only was it well edited and informational, but all suggestions are 100% accurate and validated against YD's code; and, nonetheless, it was actually pretty entertaining to watch. As someone who does game development and graphic engineering on commission, watching people say "YaNdErE dEv cOuLd jUsT dO [insert idea here] tO mAx YS's fPs!!" and then giving an equally poor option to replacing the thousands of strings of "if, else", is nearly as infuriating as trying to run the game itself. I'm glad there are others who are willing to actually sit down and introduce better, more logical and thought out ideas--it gives me hope for the development community. Well done. Seeing that Dax only has 1.8k subs is honestly shocking to me--this is some seriously good content that I would kill to work with. If you're reading this, dude, I'm sending FAT kudos your way; this is the content that should be getting millions of views. Keep up the incredible work. With love, a new subscriber.
Wow, this has to be one of the nicest genuine comments I’ve received, thank you so much I’m glad you enjoyed it! There’s definitely a more in-depth video about the code of YS, but there’s still some important stuff here that hasn’t really been talked about. Hope your game dev and graphics stuff is going well! Thanks for the FAT kudos and for subscribing! Truly means a lot!
The 4 things that made my own personal 3D game project go from 20 FPS to a consistent 60FPS (some efficiency is still needed) are: · Occlusion Culling · Occlusion Portals (they're like culling but more specifically useful for non-static blocking objects like doors, basically "when door is closed, turn it on and it'll not render anything behind the door) · Lightmapping (real time lighting is HEAVY on a game) · LOD Geometries (Basically you have multiple models for each of your things in-game, higher poly and lower poly, I typically have 2, it makes it so that if an object is farther away the lower poly geometry will be shown instead) These 4 things REALLY improved performance on everything and I've been using it heavily ever since. There's way more stuff like limiting calls to events and whatnot, but I feel like these are some of the biggest ones graphically speaking.
In another universe: Yanderedev sees this video. Yanderedev follows the advice. Yanderesim gets optimized. Yanderedev realizes his mistakes. Yanderedev develops as a person. Yanderedev apologizes for his errors. Yanderesim gets a release date. Yanderesim rivals coded in properly. Yanderesim done.
Excuse me but what mistakes ? Don't take it wrong its just that i don't understand the hate in this comment section, i mean you don't hate but every comments say that : Yandev will take that as a hate. He will take that as harassment... ECT... Just why would everyone think like that ?
@@zera_nei hmm where should i start? first yandev is pedo and harass/bully minors on discord second he used donated money on personal things instead of game he bought Ayano's body pillow (she was 16 years old that time yandev changed her age to 18 after that) he is problematic and always fight with people for any reason he definitely deserves all the hate
@@Sophbloxe tbf not like having millions of people offer "Criticism" at the same time is any easy thing. It like people weren't constantly trying to dig into his personal life, or complain the game isn't coming out quick enough when it's literally Free. It's like people forget he's an indie dev, or just imagine he should do/handle all things exactly as other indie devs do.
Hey great content dude, most people shitting on yanderedev code dont even know half of whats going on, so its nice to see constructive criticism thats actually backed by some good examples
I think accepting help/criticism is YandereDevs core issue. Before Yandere-Sim he did some work on a fighting game and showed his work to a well respected game-dev of fighting games. The experienced dev didn't give him much praise and instead just focused on telling him what the problems were with his current approach and how to address them - y'know actual practical advice from an experienced developer. But YandereDev couldn't handle it and instead complained how he put so much effort into it and should be praised for that regardless of how good the actual product was. You can find some of these exchanges online and it's sad to read. I get that receiving criticism feels bad, but understanding that what you are currently doing is not perfect is the key to getting better. Every programmer starts out writing terrible code, but most get better over time.
To be perfectly fair, he did own up to being ashamed over his row with MikeZ and in hindsight considered his response to his criticism to be immature. At the same time, he displayed a frightening amount of personality worship in his original picturing of MikeZ as this god of programming (yanderedev's own words). The type of guy who can only ever sway one or the other extreme, really.
I just want to say that this is exactly what gaming needs right now. There are too many times where people will deflect any criticism of a game for glaring, critical issues by just saying "Don't you know how hard it is to develop a game? Come back when you know how programming works." I feel like game development and digital tech stuff is so esoteric for people who aren't in the know that it's really easy to make assumptions or spread misinformation. A video like this is exactly what we need to define the lines we want to draw with our standards and understand what can and can't be done with code. I don't think I'll be a regular viewer, but I want to know that you have earned my respect and encouragement for doing this.
@Brian Donegan Yea but by stooping to his level only encourages more bullying. Just because you're allowed to do something doesn't mean it's the right thing to do. DarkDax is a class act. It takes balls too considering bullying would have been much easier to write and more popular.
We really need someone to make an entire RUclips series about fixing the code. Not "just" removing everything and programming from 0 again, but actually trying to keep most of the code and optimising, fixing it.
I don't think anyone really wants to make yandere simulator, heck, the dev himself might not even want to make yandere simulator. The people who could be doing that would probably rather be working on the game they want to make.
The thing is the issues are at the core of the scripts themselves and the structure of the game in its entirety, not just little mistakes here and there. in cases like that it legitimately is not only better to just start from zero but easier
@@yesa6871 YEA! The thing that makes it worse is his logic. He brought a new switch because he wanted a second island cause he hated his first island. Problem is that he didn't want to delete it cause he put time into it. However, no one is going to see it again cause it was the island he made for the people VIEWING the stream.
@@yesa6871 That's what I fear lol. This is question that I have that won't be answered. What is he going to do with the second switch other then for the second island?
I'm by no means good at programming, but my knowledge from learning basic coding in a Python programming 101 course is more than enough to let me understand what a horrific aboination of a programme Yandere Simulator is, like, I wouldn't use as many else-ifs as YanDev did even for my first assignment in the course. Great explanation btw, you did it so clearly that I can understand with my non-existent programming skills. :)
Thanks, glad you enjoyed it! You definitely don't need to be good to understand how crazy that many IFs are, even if it doesn't actually improve performance, it just hurts your eyes haha. Keep up the programming!
Fun fact, I would. Why? Because the only coding class I really had was a required one for one semester freshman year of high school. I know jack shit about programming, but hearing videos about this, I’ve learn that what if can make a game lag like shit. So why is he using so many?
I know this phrase is very overused, but this channel is severely underrated, I find it so amazing how if I scroll a bit I can still find a bunch of your videos with 10 or less views, but yet you persevered, and with videos like these in which you clearly put in a lot of work, you now have thousands of views and you're working your way to 10,000 subscribers
YandereDev got a huge budget, a lot of youtubers giving professional and detailed advice on how to fix and optimize his game but he still doesn't finish it. He had the knife and the cheese in his hands and throwed both through the window
*_Update:_*_ It appears there was a minor hiccup with the game’s development, but unfortunately I don’t think anyone can fix that…_ *Clarifications* Just to clear up some questions and good points mentioned in the comments: *IF vs Switch* - IFs are preferable to Switch where using a Switch could be messier or more convoluted (simple/multiple condition checks). - Performance gain of Switch isn't always game changing, but it's best to use where applicable. - IFs are like sandpaper, they're quick and get the job done, but they aren't always easy on the eyes. *GetComponent* - GetComponent is not inherently expensive if used judiciously. Caching the result is best practice if you use that result multiple times across many frames instead of grabbing it every single frame for every single student. - Methods such as GameObject.Find and similar, as well as Array returning variants of these methods are more costly and should be used properly. *Occlusion Culling* - Dynamic Meshes are occluded by default according to the setting in an Object's Renderer Component.
@@FeuervogelIra In fact, MSIL doesn't even have any difference between them; they both compile to the same thing. The biggest performance issue here, in my opinion, is not in the scripts, but in the rendering pipeline. However, the bad scripting creates a lot of tech debt and slows down development, which is why the game is in the state that it is today.
Was I recommended this now instead of when it was made years ago? Yes. But am I captivated by the video and will probably rewatch it whenever I’m cleaning? Also yes.
Currently on my 3rd year of studying cs at uni, and got this video recommended to me again. Feels so good being able to watch it again, but now ACTUALLY understand what you're talking about and being able to appreciate this video more wih this knowledge. Great video!
I'm honestly really excited to go to uni and hopefully attain this same level of enlightenment xD I've tried self-learning but it's a lot harder; I feel like it's just more helpful to have some structure and be learning in that kind of environment. I'll be honest though, the exams scare me. I don't think I'll be able to slack anymore
same here! back in 2020 the yandev drama was hilarious to me but i knew nothing about programming, years later when i started going to school for it, i remember thinking "oh shit switch statements are gonna be hard to grasp considering yandev couldn't comprehend them whatsoever" and then finding out it took all of 2 minutes to learn was surreal. like i knew he was incompetent, but my opinion of him somehow managed to sink even lower in that moment
@@user-qe3qs9bv2r holy fucking shit, how could he fucking swear, swearing is bullshit. to anyone who is reading this, you should never fucking swear, please don't ever do that nasty shit :)
15:22 Reminds me of what Arnold Schwarzenegger said "The concept of the self-made man is a myth" But will Alex accept help to succeed, probably not. He already kicked out Tiny Build and stole $30k worth of work, because he couldn't understand their code.
@@moekitsune I don’t really know how the US legal system works, but I think the idea is that the time spent suing YanDev could be better spent pushing new games and furthering their company. Topped with the legal fees and the money/resources lost from not working, I think the best choice they thought of was just to separate/disassociate from YanDev and move on
Brave of you for going after Yandere Dev's creepy game. That dev is unhinged. Got no idea what I'm watching. Actually in high school I took a class of coding, we had a hand written test and I did poorly but my code didn't look like anywhere near that monstrosity.
Quite a lot of good gamedev advices! Especially towards the end, where it gets less about the code and more about behaviour, relationships, character, personality traits. I've always wanted to be a part of something, and have a noticeable figure there. And well, recently it has started going pretty well in that direction. Of course, not much from my own projects, but my contributions, but as a contributor I'm open to other contributions too. Accepting help from others is awesome, because you can't do EVERYTHING by yourself. And also there's quite a good feeling when working on something together.
Thanks mate! Exactly, it's all about recognising these things and growing not only as a developer but a person too. Glad to hear your journey is going well! Keep it up mate and you'll be golden!
@@spookysomeone Well, I've heard something about him buying second switch just because he wanted to start new game in animal crossing without deleting his old save
As somebody with very little understanding of code I appreciate how much effort you went through to make things understandable for the layman. Great video
To further optimize the time events, you could have a "ScheduleManager" class that students send their "appointements" to and when time changes, the class checks for appointements matching the current time and sends the appointment back to the student. Maybe put the appointements in dictionary with the time as a key and a list of appointements as value to further speed up the process. Also, starting in C# 6, you CAN check multiple conditions in a switch using the "when" keyword.
@@DarkDax Could also make the IScheduable owner an IEnumerable containing multiple owners which all get notified. This would reduce the number of Appointement objects for large events like when class starts.
"Also, starting in C# 6, you CAN check multiple conditions in a switch using the "when" keyword." Unless these checks are based on constant values, you are still using if-else statements. Switch statements are used because they are O(1), and therefor they require pretty much compile time values to evaluate (ie. jump tables).
Best solution: 1. Change the dev 2. Delete all trash-code 3. Start all again from clean sheet of paper 4. Wait more 7 years to have a really completed game with unusual concept Oh, maybe you worry about previous dev who was changed, so, now he goes to therapist. (if we had lived in parallel universe it would have become)
I gotta say, this is the mark of a good youtuber. I have no clue what this dude is saying, I don't know anything about code. But I'm still watching this video because even if I don't understand it, its still interesting and entertaining. For me its mindless entertainment, but for someone who knows code this is probably useful. Useful yet entertaining, and that's rare
Thanks a bunch for this, I'm an electrical engineer who only knows the basics of OOP and was wondering how to properly do everything. I felt a bit bad when all these experienced programmers were just laughing at code I would write too. This video is well meaning and it will inspire many more people than it will discourage others :)
I think some of the reasons of the downfall of YanSim is some decisions. It was announced and had a playable alpha way too early, but it did bring in volunteers in. I think what really killed it was the whole Kickstarter campaign being made after the demo. It make sense to show that there is progress to the game and that has potential, it just the demo itself is way to big. In the current state of the game is that it has 78 students including Senpai and the rivals, all the clubs are active including the student council and all are security measures that the player has on them. That made the game demo longer causing all the stress and motivation for the game lost. The playable demo should have been about 15-20 students including Senpai and Osana, two clubs active, a handful or so of eliminations, and the school being way smaller, such as areas being taped off as such. That would have the scale so much smaller and people want to pay for the game in order to get more features and rivals. Basically it would have caused the Kickstarter so much earlier and not cause all of this drama.
Another thing I can think of is that fact the Alex (The Developer) is feature creeping. I'm not sure if he doing it intentionally or not but he is doing it. Now for people who don't know what feature creeping is, feature creeping is when a developer adds a new feature, lets say a elimination method, and then starts working on another feature without finishing the original feature they created.
Even outside of the game itself, Alex's own behavior has also butchered a lot of his chances. He burnt bridges with Tiny Build because he didn't want them rewriting his code, he's refused to credit volunteers (and made fun of some), instead of being civil with not wanting fan games he threatened suicide instead, and he essentially blames his fans for his slow progress ("I have to read through all these emails which slows me down, even though it's completely optional"). At this point it's gone on long enough that even if he stepped back and apologized for his shitty behavior and handed development to more competent developers, many would still see him poorly, and I couldn't blame them.
Asking for help is the most important skill to not just improving in your skills. But it's important to being a functioning adult. You can Google and figure alot out on your own. But having others help you who know more than you can only benefit you.
ik this is a, fairly old video (the drama). but im glad theres a video actually giving criticism on the code & yandre dev in general without shitting on him. Dont get me wrong I hate the guy and think he needs to sit down and work on major improvements to his game and himself (saying that if he didnt already), but people just blindly hate on him without giving actual critisim, only cause its a hot topic and they will gain cool kid points. Anyways cool video & it was very cool for my eyes
This video was a real class act. As fun and easy as bullying is it doesn't accomplish anything and in the end has only resulted in this whole controversy going on for several years longer than it's needed to.
@@TheFloodFourm This controversy is going for several years longer than it needs because this game's development has been going for several more years than it needs to in the first place. There has been people offering him criticism. There has been professional individual devs offering him help. All have been turned away. This was more than three years ago. Now, there are some people hating on him for the sake of it, but after how much time spent trying to help someone you're allowed to mock them because they keep making the same mistakes because they have a "I can do no wrong" mentality?
For someone with such a fragile ego, it's not like he doesn't deserve the hate after postponing his garbage game for 6 years without ever making anything new or any updates for it, after promising to do so for forever.
@@TheFloodFourm That’s part of it.But the other reason is that he’s prolonged the development for a lot longer than CD Projekt Red did for Cyberpunk 2077.
YandereDev: *Oh,* you're criticising *me?* DarkDax: I can't give you *constructional-feedback* to grow as a dev without getting closer ᵗᵒ ʸᵒᵘʳ ᶜᵒᵈᵉ. YandereDev: _Oh-ho, then_ I want you to take this video down. It's obviously my content since it's using my 3D-assets. I can technically sue you if I wanted to.
-ZA MIDORI!!! GURINUUUUUUUUUUU ............ ......... ..... ... .. . . RODA REPORT DAAAA!!! ITS TOO LATE, YOU WILL GET BANNED! MUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA -GRFH, ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA
You truly do speak differently from other videos and I appreciate that because this is arguably the most accurate analysis not relying on "look at all the IFs" argument. I especially agree with the importance of understanding and using basic programming design paradigms and principles - doesn't matter if you're ECS or OOP oriented, you need to know these basics before just slapping code together.
I still can’t believe that this game’s peak hype was almost 10 years ago now, and yet it’s still not finished despite being basically the same game as it was back then.
This is a great learning experience, so many lessons and much knowledge presented in such an easy-to-digest and also engaging way and I do appreciate it
YOOOOO YOU USED THE RACHET AND CLANK SOUNDTRACK DIDN'T YOU- That's my frigging childhood- I got so excited when I heard it! It's good to see it getting recognized lmao. Good video, keep it up!!
I still remember there was this one student in a Linux scripting class with legit Down Syndrome, and when we would write scripts to do things like automatically decipher complex meteorology weather reports, they would use strange variable names like “apple” to describe the temperature and would never hit the enter key to space out the lines of code, which made everything look like a giant block of text. Yandere Dev’s code reminded me of this.
@@Cube-xm6vt I don't think so from what I could tell. It was the second time the student was taking the class, they always asked for extra help from the teacher after class, and they told me they got a 60-something on one of their exams (I didn't ask them to disclose their grade. They came up to me after class to chit chat asking about how I did on the exam, then they came out and told me their test score).
This! This is it! Programming is a continuous learning process. But Alex didn't even considered idea about further educating himself in this area over basic knowledge. So, tinyBuild offered him second developer to help coding, who rewrote his code in more efficient and structurally making sense way. And what Alex did? He fired this dude and trashed all his work, whining that he cant't understand new code and how to expand on it instead of learning oop techniques and becoming proper developer.
I definitely think one of the biggest problems is the lack of modularity. Everytime he needs to add a feature he needs to go back and manually update every single entry and exception. If you ever seen the censor blood mode, the teachers still bleed blood when stabbed because he probably forgot to update the censor option for the teachers lol
I really like these sorts of videos that actually analyze and fix spaghetti choice cause, as a programmer myself, I feel like it's a good way of learning what works well and what doesn't. It's crazy to me btw, that Yandere Dev doesn't use any sort of event handling in the game, which really explains why the students lag everything out, lol.
"How to fix"
Step 1: Select the files.
Step 2: Delete
Step 3: Start over from scratch.
Careful, he might be able to make it worse out of spite
Don't give him ideas 🙄
It'd probably be quicker
@@jimbomyboy9679 well quicker but messier
Although this is true, imagine how hard it'd be to throw away 7 YEARS of work. It may be clumsy and laughably inefficient work, but you still spent so much time on it...
Starting over from scratch after 7 years would be crushing, and I don't blame the guy for not having the willpower.
Brute force coding is so fascinating, it's like making a shirt by gluing tons and tones of strands of cloth together until it sorta looks like a shirt
Pissing your pants to stay warm
Thats just troom troom
@@askamikaze3936 brutality is a way of life
Do you know Me?
@@askamikaze3936 yea but that
probably works
i never did it
idk
Reminder that tinybuild sent a professional programmer to help Yanderedev with the code. A week later this programmer was fired by Yanderedev for fixing his code simply because Yanderedev didn’t understand anything other than his own laggy script.
Bruh the creator sounds dumb af ngl
@@Nice_Boy_555 calling yan dev stupid is too kind
@@Nice_Boy_555 wait until you see his long history of controversy even before making this 'game'
he is literally going to die from ego
@@coocoo_mcf oh god how long?
He justifies his code because he was a self-taught coder. He understands it and it works. That's all the justification he needs. I would say that's fine... If you were working on a tiny game for two weeks for fun and it's a hobby. But it's not fine if you are working on a game for multiple years and it's your job.
It's like someone saying, "I don't need to learn how to drive a car, I can ride a bike." Riding a bike is not a problem if you are visiting a close neighbor. It is a problem if you are planning on going to a different town.
Then when people criticize him for arriving late by saying, "You could have arrived on time if you learned how to drive, and you wouldn't complain about all the energy it took for you to ride that bike."
He'll just reply with, "We'll no one taught me how to drive and riding a bike works. Yeah, it takes longer, but I'm just one person riding the bike and at least I'm not walking."
And then people tell him, "If you don't want to learn how to drive, ask someone else for a ride."
But then he'll say, "I don't need be in a car with someone else, what if they are listening to music I don't like? At least if I'm riding a bike alone, I get to pick the music."
very nice explanation, wasting years on something that can be improved is just... waste
This is a perfect analogy! You’ve hit the issue straight on the head. The real issue at the root of this bad code is a prideful man that does not want to accept he’s wrong or adapt to the situation.
It all comes back to his inflated ego and his lack of self awareness. Truly he is a lolcow.
Incredible analogy indeed !
Just wanted to be the third person to say that this analogy is 1:1
I like the idea of a guy with a screwdriver going around a high school and fixing the students by prying off their faces and and being like “ah yep this needs a switch statement”
Programers beginers could learn code by playing a yandere simulator mod where you have to go near students with a screwdriver, press a key, and then recode parts of the game, and by doing it winning achivements.
The else if thing wasn't even the problem
@@Iden671 That is actually a really cool idea! A game that starts off broken and performing poorly but that can be fixed by the player in order to progress in the game and fix new and more complicated bugs down the line. Could probably include bugs that relate to general game logic and also performance optimization. Perhaps visual glitches as well like missing land and character meshes and pop-in.
Yo I’m so on it.
@@Iden671 I want that to exist
*_Bold of you to assume that Alex is gonna accept and listen to your criticism._*
@Matty Bruno Lucas Zenere Salas Oof Simp
@Matty Bruno Lucas Zenere Salas Rush? His code?
@Matty Bruno Lucas Zenere Salas dude please stop making yourself look stupid
@Matty Bruno Lucas Zenere Salas and rushing code is...good? If you mess up a game you promise to make for the only purpose of showcasing it faster to fans, it shows you choose recognition over completion. Meaning your game suffers. Meaning one day you will face the choice - do I keep this sh*t like that and go on or do I fix? It's a lose-lose sutiation.
troll or not, people should (almost) never rush the code for the excuse of showing the game faster.
Matty Bruno Lucas Zenere Salas it’s been six goddamn years if he wasn’t actually lazy or bad at coding the game would’ve been out by now
Once I showed my computer teacher Alex's code and he laughed, and now he's my favourite teacher
My dads been working as a programmer since I was born (so about 22 years) I showed him the code and he genuinely thought I was effing with him. Especially after I told him how much hes making monthly from patreon for it.
@Matty Bruno Lucas Zenere Salas if you were a REAL programmer as you claim, you would know rushing code is NOT the mark of a good programmer. Rushing anything means much much more time fixing all the bullshit you rushed through because it doesnt work and never did.
@Matty Bruno Lucas Zenere Salas he had six years to go back and fix it.
And trying to show more in less time is stupid. He shouldnt have cared more about showing off to youtube than coding the game.
@Matty Bruno Lucas Zenere Salas i'm not. I'm just saying that if he were a good programmer, he would have understood the importance of focusing on the game instead of rushing it for youtube views, because a 'real' programmer would understand that he needs to put the game as first priority instead of youtube views. If you actually agree with him rushing the game, then you don't have the 'mind of a rEaL programmer', you have the mind of a youtuber whos only looking for clout.
Fuck, why did i even write this? Not like you'll even listen.
@Matty Bruno Lucas Zenere Salas bruh you are the one that sounds like a karen. the guy is literally just pointing out that he wasted 6 yrs at "rushing" his code even though in that span of 6 yrs, he has alot of time to fix it but he didnt
Me just trying to pretend i understand anything.
I feel like this while watching a Sebastian Lague video haha
@@DarkDax yea but he reads so it makes sense
Matty Bruno Lucas Zenere Salas no?
@Matty Bruno Lucas Zenere Salas using if statements automatically get swapped to switch statements (if more efficient) by the unity compiler, switch statements are just far easier to read
@Matty Bruno Lucas Zenere Salas If else statements are like the first thing you learn
In case you don’t understand the problem with it all being in one script, here’s one way of thinking about it:
It’s like an entire book series being shoved into one chapter, with footnotes, errors left in and corrections put in after an error. An unreadable, unreasonably large mess that never needed to exist.
Thanks that puts it into perspective
So a xReader Wattpad.
oooohhhh, i was watching this blind and was barely getting by but now it all makes sense.
@@HereIComeKnight LMAO THIS REPLY IS GOLD
@@HereIComeKnight PLEASE THAT'S PERFECT 😭
A Cadbury ad played for me before the video started: “What if you could secretly send chocolate to someone special?”
Video starts: “You can’t!”
Solid advertising right there hahaha
Be careful if you fix his game he will guilt trip you by go commit drink chalice himself
2 weeks, top comment, no replies.
Except this one. I am the third.
Proud to be the second comment
And im the third!
4th my dudes
Good!
I like how Dark isn’t even being aggressive or anything, but if Alex ever saw this he would freak the fuck out.
how do you know that he would? maybe he already saw this
@@Xianemezis Believe when someone tries to make his shitty work better he scares the fuck out
@@Xianemezis did you not see the reddit purge.
100% he skimmed throughout the video and thought to himself that this is bs and never payed it any attention
He's gonna be like: AAAAAAAAAAAAAA
Me, who has no idea about programming and thinks its too much for my disabled brain: I like your funny words, magic man.
How many scoops?
@@DarkDax three scoops
@@DarkDax of ice cream?
@@DarkDax only a spoonful
Anar Batsukh then king Bach pulls out a comically large spoon
This is so funny that i got this recommend at THIS point in time and not 3 years ago when it was made. Its like something is going on rn...
I’m sure it was just a minor error that’s all!
@@DarkDaxtryna strike a chord and it’s probably a minorrrrrrrrrrrrrrrr
same
Upon reading the title, I audibly said to myself, "You can't". Now imagine my joy when I heard those exact same words the moment the video started.
"You can't"
video over
You havent heard of love letter?
Edit: aged like milk
@@beastcarleeto707 i've heard of it.
Carleeto Meepo to be fair love sick isnt based on yandere sim code it was built from scratch
@@Zodiaxx no no it steals yansim's assets that are everywhere on the unity store
Gaben :p I was talking about the actual code not the assets. For the most part love letter is already starting to replace those so yanderedev doesn’t say something like “tHeY sToLe My AsSeTs”
I’m waiting for Yandere Dev to take this video down for “hAtE aNd hARaSmeNt”
Hate and Shame 2 let’s go
@@thatoneguy9582 or guilt trip him
@@ev4n_scence or both
lalli#7433
One game got his video taken down for terrorism or something, yup
Y’know, YandereDev has all the characteristics to be a successful politician
you got me in the first part ngl
Well this is actually accurate
Except charisma
No look at our last politician
If he did become a politician he'd probably reduce the legal age to 5
if (age < 18) {
don't DM
}
you forgot semicolon, it's true tho
@@exhaustive_the_sixth aaaa ur right i haven't been in a coding class for a while lol
@@exhaustive_the_sixth It being javascript (and therefore semicolon-less) would make sense considering YanDev initially coded the game in js
Im dead
It probably got compiler error so the code was not implemented...
For those unaware or struggling to get to grips with the first major issue of the Yandredev's code, its bad practice to keep *everything* in one massive block.
As Jack illustrated, one script does everything. Litterally EVERYTHING, every time the computer runs a clock tick.
Your computer can be considered very complex clockwork. Every action on screen is a 'tick' of its internal clockwork mechanism.
We as Devs tie actions to each tick of that clock, happening over and over again based on that regular action. Like wind-up toys, the game keeps moving to that beat. Normally, its fast enough to look smooth and seamless.
Yandre Simulator is an example of how to poorly manage each 'tick' as the computer doesn't tend to finish everything it needs to before the next tick happens.
Its as if your plan to keep your house clean and tidy was to clean all of it, everyday. Scrub and hoover floors, wash dishes, clean toilets and oven, wipe down all windows and counters. It would eat into your day, possibly even encompass the whole thing. And as you get tired and slower trying to keep up,you go over a day, spilling into the next. And so stuff gets backed up as you try to keep up.
On each tick, the limits of what can be done before the next tick happens are stretched to beyond their limit as the computer has to do more than just run your game. There's an OS in there too.
Jack's solutions here are simple: only do what you need to in the time given. NOT EVERYTHING. Only what is pertinent.
He broke everything down into abstract concepts so that he could then update each student on what they ought to be doing together rather than one at a time so that they could handle themselves, in a way. This also means that any students that don't do anything at a particular point aren't required to do anything or at least can 'opt out early' (turn down doing something now) if they're not supposed to do anything.
Its the equivalent of only cleaning your house when something is deemed 'dirty'. If its fine, you leave it and do what actually needs doing now. It makes keeping the number of things your doing between computer ticks much, much easier.
That’s a good analogy, thanks
Thanks for helping my brain understand mate. Cheers.
Damn this is a good analogy
Thanks for explaining
„The Code disappeared faster than something that disappeares quickly“
10/10
I said "support for yandere sim" then e was looking for something that dissapears quickly
"Cotton candy in water" is a good expression for this
Maybe, fathers?
Eminem been real quiet since this dropped
My Sanity is a good answer to that.
Yandere dev is definitely gonna try to false copyright strike this like another RUclipsr
Wouldn’t be surprised to be honest, it’s basically the new censorship.
@@DarkDax why would you even think that dude? If you make a competent crtique he'll even link your video. Rn youre just talking about general shit and guessing. Some other dude made a codereview that actually uses profiling and benchmarks
kenonerboy what are you even on about?
kids, this is why you write essays at school: to learn how to write coherent messages
@@karou6969 nice to see that you dont even bother to engage and instead point and laugh. you added nothing.
@@kenonerboy shoo child
Me who makes 50 lines of code at best for my freshman programming class:
*Ah yes, makes sense.*
Me who gets lost in my own if commands: Mmmmh. Yes. Cömputer.
I made an mod with a better code that alex made..
I deleted unnecessary thingies because I didn't want people to lag their game
The funniest part is, shortly after this came out YandereDev actually switched out most of the if/then statements with switch statements. Makes me wonder if he saw this and went "Oh, that would work better" and then decided to claim he knew how to do it all along and was just more focused on other aspects of the game's code first.
I doubt any one would first come up with a giant if else chain
@@tiqosc1809 You would be surprised how easy it is for inexperienced programmers to cling to the methods they know.
the guy learned a new thing and ur still finding ways to diss him the internet's so annoying
@@RalismynameOh okay i'll diss him for something else! He's openly said in his discord server that he thinks DID is not a real disorder and that it's just people looking to roleplay as others occasionally. So he also knows jackshit about psychology... and he made a game where the main character is very much implied to have a mental disorder?
@@ghostlyyyyyy Alr, game is first of all a work of art and you cant really judge it
There are games about criminals and stuff yet it aint a problem smh
But everything else is pretty much valid
Yandere Simulator is like writing a novel where everything, from the footwear of the characters, to the air they breathe, is described so meticulously, that even the descriptors are described in such a manner. Such a novel would make J.R.R. Tolkien's work look like a short story a kindergartener wrote.
His accent sounds like a British person making fun of British accents
Facts
Ouch
yes
Americans think they're funny, but they're just embarrassing
@@youtubehastobancommentstab7466 every person is an embarrassment
Stumbled across this video out of nowhere and, quite honestly, this was better than anything I've seen yet on YS's development. Not only was it well edited and informational, but all suggestions are 100% accurate and validated against YD's code; and, nonetheless, it was actually pretty entertaining to watch.
As someone who does game development and graphic engineering on commission, watching people say "YaNdErE dEv cOuLd jUsT dO [insert idea here] tO mAx YS's fPs!!" and then giving an equally poor option to replacing the thousands of strings of "if, else", is nearly as infuriating as trying to run the game itself. I'm glad there are others who are willing to actually sit down and introduce better, more logical and thought out ideas--it gives me hope for the development community. Well done.
Seeing that Dax only has 1.8k subs is honestly shocking to me--this is some seriously good content that I would kill to work with. If you're reading this, dude, I'm sending FAT kudos your way; this is the content that should be getting millions of views. Keep up the incredible work.
With love, a new subscriber.
Wow, this has to be one of the nicest genuine comments I’ve received, thank you so much I’m glad you enjoyed it!
There’s definitely a more in-depth video about the code of YS, but there’s still some important stuff here that hasn’t really been talked about.
Hope your game dev and graphics stuff is going well! Thanks for the FAT kudos and for subscribing! Truly means a lot!
Yes, this programming actually is good.
I hope yandev actually LISTENS to this criticism because he always thinks of criticism as "hate and harassment"
no lul
Yeah but he accept the criticism only if its constructive plus I don't think you would like someone to bully every fuking time.
@@zera_nei yeah sorry I don't remember making this comment but I think yandev is improving a bit more so good for him
If he listened to criticism this problem wouldn't exist anymore.
@@lordmuhehe4605 exactly wouldn't still have a shit demo at 7 seven years
The 4 things that made my own personal 3D game project go from 20 FPS to a consistent 60FPS (some efficiency is still needed) are:
· Occlusion Culling
· Occlusion Portals (they're like culling but more specifically useful for non-static blocking objects like doors, basically "when door is closed, turn it on and it'll not render anything behind the door)
· Lightmapping (real time lighting is HEAVY on a game)
· LOD Geometries (Basically you have multiple models for each of your things in-game, higher poly and lower poly, I typically have 2, it makes it so that if an object is farther away the lower poly geometry will be shown instead)
These 4 things REALLY improved performance on everything and I've been using it heavily ever since. There's way more stuff like limiting calls to events and whatnot, but I feel like these are some of the biggest ones graphically speaking.
Thanks for sharing! Light mapping and LODs really are magical helpers, can’t believe I didn’t mention them here!
Yandev: *“I’m gonna pretend I didn’t see that”*
In another universe:
Yanderedev sees this video.
Yanderedev follows the advice.
Yanderesim gets optimized.
Yanderedev realizes his mistakes.
Yanderedev develops as a person.
Yanderedev apologizes for his errors.
Yanderesim gets a release date.
Yanderesim rivals coded in properly.
Yanderesim done.
Excuse me but what mistakes ? Don't take it wrong its just that i don't understand the hate in this comment section, i mean you don't hate but every comments say that :
Yandev will take that as a hate.
He will take that as harassment...
ECT...
Just why would everyone think like that ?
@@zera_nei Oh by mistakes I meant his mistakes in the coding. Sorry if you misunderstood. whoops
@@zera_nei because every time someone made criticism on yandere simulator the dev always took it as hate and harassment
@@zera_nei hmm where should i start? first yandev is pedo and harass/bully minors on discord second he used donated money on personal things instead of game he bought Ayano's body pillow (she was 16 years old that time yandev changed her age to 18 after that) he is problematic and always fight with people for any reason he definitely deserves all the hate
@@Sophbloxe tbf not like having millions of people offer "Criticism" at the same time is any easy thing. It like people weren't constantly trying to dig into his personal life, or complain the game isn't coming out quick enough when it's literally Free.
It's like people forget he's an indie dev, or just imagine he should do/handle all things exactly as other indie devs do.
I really like the kingdom hearts music and sound effects! :)
Also very informative and interesting video!
Kingdom hearts may have a crazy story but it's sfx are top notch haha, thanks so much man!
Didnt expect to see my favorite sfm creator here
@@DarkDax I like your words magic man.
Oh didn't expect a great sfm animator in This video
Same here
Ironic huh?
Hey great content dude, most people shitting on yanderedev code dont even know half of whats going on, so its nice to see constructive criticism thats actually backed by some good examples
Too bad that Yandev will probably flag this as "hate and shame".
@@camulodunon No cuz the hate and the shame are for the bullying, plus he said that he accept the critisism if its constructive like this video.
@@zera_nei look at some videos on him, they show comments he deleted for "bullying'' that were just constructive
@@eatyourcereal6577 on what youtube or discord cuz for discord it's not him who deleted them
@@zera_nei all platforms including reddit.
I think accepting help/criticism is YandereDevs core issue.
Before Yandere-Sim he did some work on a fighting game and showed his work to a well respected game-dev of fighting games. The experienced dev didn't give him much praise and instead just focused on telling him what the problems were with his current approach and how to address them - y'know actual practical advice from an experienced developer. But YandereDev couldn't handle it and instead complained how he put so much effort into it and should be praised for that regardless of how good the actual product was. You can find some of these exchanges online and it's sad to read.
I get that receiving criticism feels bad, but understanding that what you are currently doing is not perfect is the key to getting better.
Every programmer starts out writing terrible code, but most get better over time.
To be perfectly fair, he did own up to being ashamed over his row with MikeZ and in hindsight considered his response to his criticism to be immature. At the same time, he displayed a frightening amount of personality worship in his original picturing of MikeZ as this god of programming (yanderedev's own words). The type of guy who can only ever sway one or the other extreme, really.
I just want to say that this is exactly what gaming needs right now. There are too many times where people will deflect any criticism of a game for glaring, critical issues by just saying "Don't you know how hard it is to develop a game? Come back when you know how programming works." I feel like game development and digital tech stuff is so esoteric for people who aren't in the know that it's really easy to make assumptions or spread misinformation. A video like this is exactly what we need to define the lines we want to draw with our standards and understand what can and can't be done with code. I don't think I'll be a regular viewer, but I want to know that you have earned my respect and encouragement for doing this.
The you cant at the beginning really got me.
Finally, somebody really makes a creative criticizism without bullying.
FR
bullying yandev is so _fun_ though
considering he defends pedophilla.. mmm he kinda deserves it, especially with banning his mod for having DID
@Brian Donegan Yea but by stooping to his level only encourages more bullying. Just because you're allowed to do something doesn't mean it's the right thing to do. DarkDax is a class act. It takes balls too considering bullying would have been much easier to write and more popular.
Many ppl already tried to give him polite criticism, dont be a smartass
Step 1: Press the "Ctrl" and the "A" key at the same time.
Step 2: Press the "Delete" key
Step 3:Re-Write code.
Honestly I think it would take much less time to just remake the game from the ground up
step 4: buy new pc, we don't need any traces at all
ggVG x
We really need someone to make an entire RUclips series about fixing the code. Not "just" removing everything and programming from 0 again, but actually trying to keep most of the code and optimising, fixing it.
I don't think anyone really wants to make yandere simulator, heck, the dev himself might not even want to make yandere simulator. The people who could be doing that would probably rather be working on the game they want to make.
The thing is the issues are at the core of the scripts themselves and the structure of the game in its entirety, not just little mistakes here and there. in cases like that it legitimately is not only better to just start from zero but easier
@@creeperizak8971 Ironically, YandereDev could be a good secretary (if exclude his hysterical behavior), but now he is freak and creepy guy.
Aged like fine wine
@matthewglenguir7204 did something new happen?
*trust me YandereDev has 2 switchs* and Not the code ones
The reason why is so stupid to. He has two switches cause he wanted a second animal crossing island cause he didn't like his first island lol.
@@souakadpadkid6685 wow that... is really dumb. he could easily delete the data and start over.
@@yesa6871 YEA! The thing that makes it worse is his logic. He brought a new switch because he wanted a second island cause he hated his first island. Problem is that he didn't want to delete it cause he put time into it. However, no one is going to see it again cause it was the island he made for the people VIEWING the stream.
@@souakadpadkid6685 he'll eventually grow bored of his current island and buy another switch lmaooo there goes his patreon money!
@@yesa6871 That's what I fear lol. This is question that I have that won't be answered. What is he going to do with the second switch other then for the second island?
I'm by no means good at programming, but my knowledge from learning basic coding in a Python programming 101 course is more than enough to let me understand what a horrific aboination of a programme Yandere Simulator is, like, I wouldn't use as many else-ifs as YanDev did even for my first assignment in the course.
Great explanation btw, you did it so clearly that I can understand with my non-existent programming skills. :)
Thanks, glad you enjoyed it! You definitely don't need to be good to understand how crazy that many IFs are, even if it doesn't actually improve performance, it just hurts your eyes haha. Keep up the programming!
Fun fact, I would. Why? Because the only coding class I really had was a required one for one semester freshman year of high school. I know jack shit about programming, but hearing videos about this, I’ve learn that what if can make a game lag like shit. So why is he using so many?
@@alexandramcginnis8872 else ifs aren't the problem though, and any complicated (or even not) game will have milions of switches and if else ifs.
@@Carsu12 I mean, considering his entire code is else ifs, it seems to be a different story.
I code on Roblox, and I still understand lol.
I know this phrase is very overused, but this channel is severely underrated, I find it so amazing how if I scroll a bit I can still find a bunch of your videos with 10 or less views, but yet you persevered, and with videos like these in which you clearly put in a lot of work, you now have thousands of views and you're working your way to 10,000 subscribers
Thank you so much dude. This comment alone makes all the effort over the years worth it.
YandereDev got a huge budget, a lot of youtubers giving professional and detailed advice on how to fix and optimize his game but he still doesn't finish it. He had the knife and the cheese in his hands and throwed both through the window
Got to watch this almost 4 years late
Me too mate
I wonder if he took any of the advice from this video
@@missmadness564 I doubt it he took advice as a personal attack
haha funny accent man
But nah this is actually fire, you're hella underrated, keep up the good work homie!
It's all that Tea I drink haha thanks mate really appreciate it!
@@DarkDax you know the red mini cooper with a giant union jack on the roof?
thats britain's general lee
You make me think of Brett Domino, in a good way.
Well maybe he's british? 😒 There's nothing funny
@@RimFaxxe Geography is a weakness of Americans
Alex when he sees this:
➖👄➖
“I do not see it”
👁👄➖
“But I might copyright strike this”
Why ?
@@zera_nei He's been known to copyright strike people before for the stupidest reasons
Alex/yandev simply handles criticism like a 4year old at Wal-Mart when their mom says they can buy cookies
Can't*
*_Update:_*_ It appears there was a minor hiccup with the game’s development, but unfortunately I don’t think anyone can fix that…_
*Clarifications*
Just to clear up some questions and good points mentioned in the comments:
*IF vs Switch*
- IFs are preferable to Switch where using a Switch could be messier or more convoluted (simple/multiple condition checks).
- Performance gain of Switch isn't always game changing, but it's best to use where applicable.
- IFs are like sandpaper, they're quick and get the job done, but they aren't always easy on the eyes.
*GetComponent*
- GetComponent is not inherently expensive if used judiciously. Caching the result is best practice if you use that result multiple times across many frames instead of grabbing it every single frame for every single student.
- Methods such as GameObject.Find and similar, as well as Array returning variants of these methods are more costly and should be used properly.
*Occlusion Culling*
- Dynamic Meshes are occluded by default according to the setting in an Object's Renderer Component.
Codig 101 with DarkDax
@@FeuervogelIra In fact, MSIL doesn't even have any difference between them; they both compile to the same thing. The biggest performance issue here, in my opinion, is not in the scripts, but in the rendering pipeline. However, the bad scripting creates a lot of tech debt and slows down development, which is why the game is in the state that it is today.
Vs Match:
Match can do everything switch can do and more.
Match isn't available in C#
Good job
Me not understand
Was I recommended this now instead of when it was made years ago? Yes. But am I captivated by the video and will probably rewatch it whenever I’m cleaning? Also yes.
Currently on my 3rd year of studying cs at uni, and got this video recommended to me again. Feels so good being able to watch it again, but now ACTUALLY understand what you're talking about and being able to appreciate this video more wih this knowledge. Great video!
I'm honestly really excited to go to uni and hopefully attain this same level of enlightenment xD
I've tried self-learning but it's a lot harder; I feel like it's just more helpful to have some structure and be learning in that kind of environment. I'll be honest though, the exams scare me. I don't think I'll be able to slack anymore
same here! back in 2020 the yandev drama was hilarious to me but i knew nothing about programming, years later when i started going to school for it, i remember thinking "oh shit switch statements are gonna be hard to grasp considering yandev couldn't comprehend them whatsoever" and then finding out it took all of 2 minutes to learn was surreal. like i knew he was incompetent, but my opinion of him somehow managed to sink even lower in that moment
The persona music is so taunting since he compares yan sim to persona 5
Yess
fr loll
Honestly, Hitman is a better comparison.
Like, very similar gameplay loop.
Oh that's a very cursed thought
@@utterclown1580 About OP or about it being similar to Hitman?
Damn, you have my respect for the pacing and overall delivery of the video, VERY underrated channel, i tell you that
Thanks that honestly means a lot! Glad you liked the video!
DarkDax: Clock logic.
Me: *happy noises*
No seriously the student script really irritated me.😅
It's definitely one of those things you don't truly believe until you open it yourself haha. Really shows how important it is to keep things organised
Very appropriate timing to get this recommended
I don’t know shit about coding and I always hated coding/tech in school. But I will watch you, funny British man from my recommendations section.
Was "arguing with the drinks machine, because they've lost their sanity" a Derek Smart reference?
Oh my god, it wasn’t before but it sure as shit is now haha
@@DarkDax did you just swear?
@@user-qe3qs9bv2r Fuck, I think you got em
@@user-qe3qs9bv2r holy shit, he said a bad word
@@user-qe3qs9bv2r holy fucking shit, how could he fucking swear, swearing is bullshit. to anyone who is reading this, you should never fucking swear, please don't ever do that nasty shit :)
15:22 Reminds me of what Arnold Schwarzenegger said "The concept of the self-made man is a myth" But will Alex accept help to succeed, probably not. He already kicked out Tiny Build and stole $30k worth of work, because he couldn't understand their code.
Literally if he just pushed past himself and stopped acting on emotions he’d probably regain a lot of trust he lost, but it probably won’t happen.
So if YanDev basically stole that code couldn't TinyBuild just sue?
@@moekitsune I don’t really know how the US legal system works, but I think the idea is that the time spent suing YanDev could be better spent pushing new games and furthering their company. Topped with the legal fees and the money/resources lost from not working, I think the best choice they thought of was just to separate/disassociate from YanDev and move on
@@louichen1433 yeah, that's probably better. I'm not a legal expert in the slightest
@@louichen1433 suing him would probably help to knock him down a peg though
I love the ratchet and clank background music!!
Bringing the funk since 2002
As soon as i noticed that i went straight searching for some comment about it to make sure i wasn't having a stroke. Thank you.
Brave of you for going after Yandere Dev's creepy game. That dev is unhinged. Got no idea what I'm watching. Actually in high school I took a class of coding, we had a hand written test and I did poorly but my code didn't look like anywhere near that monstrosity.
Quite a lot of good gamedev advices! Especially towards the end, where it gets less about the code and more about behaviour, relationships, character, personality traits. I've always wanted to be a part of something, and have a noticeable figure there. And well, recently it has started going pretty well in that direction. Of course, not much from my own projects, but my contributions, but as a contributor I'm open to other contributions too. Accepting help from others is awesome, because you can't do EVERYTHING by yourself. And also there's quite a good feeling when working on something together.
Thanks mate!
Exactly, it's all about recognising these things and growing not only as a developer but a person too.
Glad to hear your journey is going well! Keep it up mate and you'll be golden!
6:49 Gremlins! Lies! Slander! Alex also has Switches lying around. We know for a fact he has at least two
😔
please be satire
@@spookysomeone Hard to tell on the interwebs, ain't it?
@@spookysomeone Well, I've heard something about him buying second switch just because he wanted to start new game in animal crossing without deleting his old save
Not enough
I may be set to fail computing but you somehow make this so interesting lmao
Glad I could make it interesting haha. As long as you do your best, you got this!
why in the hell do you not have at least 10k subs already
Thanks, I appreciate that! I think the algorithm just hasn't learned to love me yet haha
DarkDax
Your in luck. I came from recommendation.
As somebody with very little understanding of code I appreciate how much effort you went through to make things understandable for the layman.
Great video
This video aged like wine.
I wonder how long it takes for me to jump off the Burj Khalifa.
i’m a theatre kid- the most coding i’ve ever done was making conditionals on twine. this video is so well made and it and you are very underrated!
To further optimize the time events, you could have a "ScheduleManager" class that students send their "appointements" to and when time changes, the class checks for appointements matching the current time and sends the appointment back to the student. Maybe put the appointements in dictionary with the time as a key and a list of appointements as value to further speed up the process.
Also, starting in C# 6, you CAN check multiple conditions in a switch using the "when" keyword.
Now this is a really neat addition, thanks for your input! I did not know about the 'when' keyword that's great!
@@DarkDax Can also be used with catch blocks.
Wow that's actually great, nice use of interfaces and switches!
@@DarkDax Could also make the IScheduable owner an IEnumerable containing multiple owners which all get notified. This would reduce the number of Appointement objects for large events like when class starts.
"Also, starting in C# 6, you CAN check multiple conditions in a switch using the "when" keyword."
Unless these checks are based on constant values, you are still using if-else statements. Switch statements are used because they are O(1), and therefor they require pretty much compile time values to evaluate (ie. jump tables).
Me after 0:01
"understandable, have a great day"
there isn’t a way to fix it now
except changing the dev
Best solution:
1. Change the dev
2. Delete all trash-code
3. Start all again from clean sheet of paper
4. Wait more 7 years to have a really completed game with unusual concept
Oh, maybe you worry about previous dev who was changed, so, now he goes to therapist.
(if we had lived in parallel universe it would have become)
I gotta say, this is the mark of a good youtuber. I have no clue what this dude is saying, I don't know anything about code. But I'm still watching this video because even if I don't understand it, its still interesting and entertaining. For me its mindless entertainment, but for someone who knows code this is probably useful. Useful yet entertaining, and that's rare
I think this is the first video I’ve ever seen that is educational about coding AND funny.
Great content, keep it up
Glad you liked it!
Thanks a bunch for this, I'm an electrical engineer who only knows the basics of OOP and was wondering how to properly do everything. I felt a bit bad when all these experienced programmers were just laughing at code I would write too. This video is well meaning and it will inspire many more people than it will discourage others :)
I think some of the reasons of the downfall of YanSim is some decisions. It was announced and had a playable alpha way too early, but it did bring in volunteers in.
I think what really killed it was the whole Kickstarter campaign being made after the demo. It make sense to show that there is progress to the game and that has potential, it just the demo itself is way to big.
In the current state of the game is that it has 78 students including Senpai and the rivals, all the clubs are active including the student council and all are security measures that the player has on them. That made the game demo longer causing all the stress and motivation for the game lost.
The playable demo should have been about 15-20 students including Senpai and Osana, two clubs active, a handful or so of eliminations, and the school being way smaller, such as areas being taped off as such.
That would have the scale so much smaller and people want to pay for the game in order to get more features and rivals.
Basically it would have caused the Kickstarter so much earlier and not cause all of this drama.
Another thing I can think of is that fact the Alex (The Developer) is feature creeping. I'm not sure if he doing it intentionally or not but he is doing it. Now for people who don't know what feature creeping is, feature creeping is when a developer adds a new feature, lets say a elimination method, and then starts working on another feature without finishing the original feature they created.
@@souakadpadkid6685 he's also just creeping
*yes*
@@souakadpadkid6685 He's Osana creeping!
Even outside of the game itself, Alex's own behavior has also butchered a lot of his chances. He burnt bridges with Tiny Build because he didn't want them rewriting his code, he's refused to credit volunteers (and made fun of some), instead of being civil with not wanting fan games he threatened suicide instead, and he essentially blames his fans for his slow progress ("I have to read through all these emails which slows me down, even though it's completely optional").
At this point it's gone on long enough that even if he stepped back and apologized for his shitty behavior and handed development to more competent developers, many would still see him poorly, and I couldn't blame them.
the fact that this got recommended to me now is actually hillarious
Same. I don't even play this game. I was just watching a renpy coding tutorials and it gave me this lol
Asking for help is the most important skill to not just improving in your skills. But it's important to being a functioning adult. You can Google and figure alot out on your own. But having others help you who know more than you can only benefit you.
"you can't" ``*outro starts playing*``
me: i don't know what i was expecting.
Right off the bat that is one incredible thumbnail and made me instantly click
Thanks! Probably the best thumbnail I've ever made haha
ik this is a, fairly old video (the drama).
but im glad theres a video actually giving criticism on the code & yandre dev in general without shitting on him. Dont get me wrong I hate the guy and think he needs to sit down and work on major improvements to his game and himself (saying that if he didnt already), but people just blindly hate on him without giving actual critisim, only cause its a hot topic and they will gain cool kid points. Anyways cool video & it was very cool for my eyes
This video was a real class act. As fun and easy as bullying is it doesn't accomplish anything and in the end has only resulted in this whole controversy going on for several years longer than it's needed to.
@@TheFloodFourm This controversy is going for several years longer than it needs because this game's development has been going for several more years than it needs to in the first place.
There has been people offering him criticism. There has been professional individual devs offering him help. All have been turned away. This was more than three years ago. Now, there are some people hating on him for the sake of it, but after how much time spent trying to help someone you're allowed to mock them because they keep making the same mistakes because they have a "I can do no wrong" mentality?
For someone with such a fragile ego, it's not like he doesn't deserve the hate after postponing his garbage game for 6 years without ever making anything new or any updates for it, after promising to do so for forever.
@@TheFloodFourm That’s part of it.But the other reason is that he’s prolonged the development for a lot longer than CD Projekt Red did for Cyberpunk 2077.
Who’s here after… the news?
What news?
@@PublishedLeafYanderedev had some messages with a young person
@@alexcerzeathat’s putting it hilariously kindly
@@eclipsemarauder5394 IK, but it was the best I could without being so explicit
i respect how you committed to the switch bit, sound effect and all
YandereDev: *Oh,* you're criticising *me?*
DarkDax: I can't give you *constructional-feedback* to grow as a dev without getting closer ᵗᵒ ʸᵒᵘʳ ᶜᵒᵈᵉ.
YandereDev: _Oh-ho, then_ I want you to take this video down. It's obviously my content since it's using my 3D-assets. I can technically sue you if I wanted to.
Wonderful Jojo reference you've got there
haha jojo funny
DarkDax: But I refuse...
He can’t, cause 99% of yandere assets are from the asset store
-ZA MIDORI!!! GURINUUUUUUUUUUU
............
.........
.....
...
..
.
.
RODA REPORT DAAAA!!!
ITS TOO LATE, YOU WILL GET BANNED!
MUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA MUDAMUDA
-GRFH, ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA ORA
I subbed for the Switch joke. And the Ratchet and Clank music... overall great vid mate.
Thanks man, that means a lot. Had to shove some Ratchet and Clank in there some how haha
You truly do speak differently from other videos and I appreciate that because this is arguably the most accurate analysis not relying on "look at all the IFs" argument.
I especially agree with the importance of understanding and using basic programming design paradigms and principles - doesn't matter if you're ECS or OOP oriented, you need to know these basics before just slapping code together.
I still can’t believe that this game’s peak hype was almost 10 years ago now, and yet it’s still not finished despite being basically the same game as it was back then.
This is a great learning experience, so many lessons and much knowledge presented in such an easy-to-digest and also engaging way and I do appreciate it
Glad it was helpful!
Congrats on not being taken down by yandere dev after 8 months this being uploaded
But its a constructive critisism so its good
@@zera_nei nah any criticism is taken down by yandere dev
This is actually pretty good for helping people who want to do programming. I'm really loving this channel
how to change it: start over from scratch and make your own models
dudes been working on this game for SEVEN YEARS and still hasnt made more than one week of gameplay
He is adding 9 rivals right now~ and the rivals aren't the only focus of the gane
@@user-ul3dm8tx7z yh but its 7 years
@@FernandoAlonso-cj6prgood things take time
@@user-ul3dm8tx7z true but this doesnt apply to yandevs "game"
@@davgad05 because there's no way to win YET! If u think it's a bad game then go hate another game, i won't stop u
This unironically is also a great lesson to help improve codewriting skills. thanks for this
Anytime mate!
Watching videos on yandere sim has literally become my main source of information on c#.
Watched for 1 second... I've never hit the subscribe button so quickly.
Gotta love how "The best bit" started off with Afternoon Break from Persona 3, truly the best bit
Me who can’t even code in scratch: “I like your funny words magic man”
YOOOOO YOU USED THE RACHET AND CLANK SOUNDTRACK DIDN'T YOU-
That's my frigging childhood- I got so excited when I heard it! It's good to see it getting recognized lmao. Good video, keep it up!!
Got to represent one of the best games ever made!
I still remember there was this one student in a Linux scripting class with legit Down Syndrome, and when we would write scripts to do things like automatically decipher complex meteorology weather reports, they would use strange variable names like “apple” to describe the temperature and would never hit the enter key to space out the lines of code, which made everything look like a giant block of text.
Yandere Dev’s code reminded me of this.
but yandev doesn't have down syndrome
@Viraxor
I know.
Just looking at his code reminded me of this other student I had in college.
Did their code work tho?
@@Cube-xm6vt
I don't think so from what I could tell. It was the second time the student was taking the class, they always asked for extra help from the teacher after class, and they told me they got a 60-something on one of their exams (I didn't ask them to disclose their grade. They came up to me after class to chit chat asking about how I did on the exam, then they came out and told me their test score).
@@UndertakerU2ber at least they were trying to get help. Yandev on the other hand...
This! This is it! Programming is a continuous learning process.
But Alex didn't even considered idea about further educating himself in this area over basic knowledge.
So, tinyBuild offered him second developer to help coding, who rewrote his code in more efficient and structurally making sense way. And what Alex did? He fired this dude and trashed all his work, whining that he cant't understand new code and how to expand on it instead of learning oop techniques and becoming proper developer.
tinyBuild cut ties with him shortly after that, all because he was butthurt that his ego was hurt. He's a monster.
@@nevaehhamilton3493 totally agreed. Especially considering recent events.
I definitely think one of the biggest problems is the lack of modularity. Everytime he needs to add a feature he needs to go back and manually update every single entry and exception.
If you ever seen the censor blood mode, the teachers still bleed blood when stabbed because he probably forgot to update the censor option for the teachers lol
Plot twist: horrendous code was a part of advertising campaign, and now literally everybody knows that Yandere Simulator exists
I really like these sorts of videos that actually analyze and fix spaghetti choice cause, as a programmer myself, I feel like it's a good way of learning what works well and what doesn't. It's crazy to me btw, that Yandere Dev doesn't use any sort of event handling in the game, which really explains why the students lag everything out, lol.