How to Fix Yandere Simulator - A Yandere Simulator Code Review

DarkDax July 25, 2020
Video Thumbnail

About

Just some tea drinking, crazy game dev mentalist. If you want nonsensical madness, you've found your new home.

Video Description

Yandere Simulator has a problem. Bad code, poor performance, no concrete gameplay loop and more. In this Yandere Simulator code review, we'll analyse Yandere Simulator’s code and discuss how to fix the game. From code optimization, to poor graphics performance and low frame rate, to a breakdown of IF Statements and 17,000 lines of code in the StudentScript. We review many ways of fixing or improving Yandere Simulator’s programming within the Unity Game Engine. Game Development and coding can be hard - this video is not intended to insult YandereDev (despite the negativity he seems to like to create), those just starting off, or bad programming in general, rather for us to learn from poorly performing code and explore better game development practices and general game development tips. YandereDev is not known for welcoming advice of any kind and often sees it as an insult, but thats how it should be taken. This popular indie game is a perfect example to learn from bad programming practices as we talk about what not to do and how not to act as a Game Developer. The game Watashi No Mono and Lovesick are great examples of good game development practices. I don't claim to be a Game Dev expert or Unity expert whatsoever, but it doesn't take an expert to understand why some of these practices aren't exactly favoured and contribute to the poor performance of the game. Are ya coding son? 💻 Socials Second Channel: https://www.youtube.com/@Dax_Plays Support me on Patreon: https://www.patreon.com/DarkDax Follow me on X (Twitter): https://twitter.com/ThisIsDarkDax Join me LIVE on Twitch: https://www.twitch.tv/darkdax96 🎬 Timestamps Introduction - 00:00 The StudentScript Script - 01:20 C# Events - 04:54 IF Statements - 06:45 Expensive Unity API Method Calls - 09:13 Pathfinding - 10:52 Graphics: Frame Rate, Assets, Occlusion Culling- 10:54 Coding Consistency - 13:59 Accepting Help - 15:22 The Best Bit - 18:21 🔗 Links Unite Europe 2017 - Squeezing Unity: Tips for raising performance (https://www.youtube.com/watch?v=_wxitgdx-UI) GameGrumps: G R U M P W A V E (https://www.youtube.com/watch?v=thlzwywkVPQ) Stay Safe and Thanks for watching! ~(˘▾˘~) #YandereSimulator #YandereDev #GameDevelopment

You May Also Like

Fix Your Game: Essential Parts & Tools

AI-recommended products based on this video

Loading...
PC Gaming Headset Headphone Hook Holder Hanger Mount, Headphones Stand with Adjustable & Rotating Arm Clamp, Under Desk Design, Universal Fit, Built in Cable Clip Organizer EURPMASK
Best Seller

PC Gaming Headset Headphone Hook Holder Hanger Mount, Headphones Stand with Adjustable & Rotating Arm Clamp, Under Desk Design, Universal Fit, Built in Cable Clip Organizer EURPMASK

(26,414)
$9.57
FREE delivery Sat, Jun 14 on your first order
500+ bought in past month
Loading...
Ozeino Gaming Headset for Ps5 Ps4 PC, Over Ear Gaming Headphones with Noise Cancelling Microphone RGB Light, Deep Bass Stereo Sound Headset for Xbox Series X/S, Switch, Laptop, Mac, Phone

Ozeino Gaming Headset for Ps5 Ps4 PC, Over Ear Gaming Headphones with Noise Cancelling Microphone RGB Light, Deep Bass Stereo Sound Headset for Xbox Series X/S, Switch, Laptop, Mac, Phone

(5,790)
$35.99
FREE delivery Mon, Dec 15
3K+ bought in past month
Loading...
Turtle Beach Stealth 600 Wireless Multiplatform Amplified Gaming Headset for Xbox Series X|S, Xbox One, PC, PS5, PS4, Nintendo Switch, & Mobile – Bluetooth, 80-Hr Battery, Noise-Cancelling Mic – Black
Best Seller

Turtle Beach Stealth 600 Wireless Multiplatform Amplified Gaming Headset for Xbox Series X|S, Xbox One, PC, PS5, PS4, Nintendo Switch, & Mobile – Bluetooth, 80-Hr Battery, Noise-Cancelling Mic – Black

(3,680)
$99.96
FREE delivery Tue, Oct 14
800+ bought in past month
Loading...
NEW SteelSeries Arctis Nova 3 Multi-Platform Gaming Headset - Signature Arctis Sound - ClearCast Gen 2 Mic - PC, PS5/PS4, Xbox Series X|S, Switch, Mobile

NEW SteelSeries Arctis Nova 3 Multi-Platform Gaming Headset - Signature Arctis Sound - ClearCast Gen 2 Mic - PC, PS5/PS4, Xbox Series X|S, Switch, Mobile

(9,500)
$99.98$67.37
PrimeFREE delivery Sat, Jun 14
100+ bought in past month
Loading...
Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black
Best Seller

Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black

(17,871)
$27.98$22.38
FREE delivery Tue, Oct 14 on your first order
500+ bought in past month
Loading...
Logitech G305 LIGHTSPEED Wireless Gaming Mouse, Hero 12K Sensor, 12,000 DPI, Lightweight, 6 Programmable Buttons, 250h Battery Life, On-Board Memory, PC/Mac - Black

Logitech G305 LIGHTSPEED Wireless Gaming Mouse, Hero 12K Sensor, 12,000 DPI, Lightweight, 6 Programmable Buttons, 250h Battery Life, On-Board Memory, PC/Mac - Black

(21,223)
$44.98
FREE delivery Tue, Oct 14
1K+ bought in past month
Loading...
VersionTECH. Gaming Mouse Ergonomic Wired Computer Mouse with 7 Colors LED Backlight, 4 DPI Settings Up to 3600 DPI Compatible for Chromebook Windows 7/8/10/11 XP/Mac/Linux Gamer/Notebook/MacBook
Best Seller

VersionTECH. Gaming Mouse Ergonomic Wired Computer Mouse with 7 Colors LED Backlight, 4 DPI Settings Up to 3600 DPI Compatible for Chromebook Windows 7/8/10/11 XP/Mac/Linux Gamer/Notebook/MacBook

(15,947)
$12.79
FREE delivery Thu, Sep 11 on your first order
500+ bought in past month
Loading...
Logitech G502 HERO High Performance Wired Gaming Mouse, HERO 25K Sensor, 25,600 DPI, RGB, Adjustable Weights, 11 Programmable Buttons, On-Board Memory, PC / Mac, Black
Best Seller

Logitech G502 HERO High Performance Wired Gaming Mouse, HERO 25K Sensor, 25,600 DPI, RGB, Adjustable Weights, 11 Programmable Buttons, On-Board Memory, PC / Mac, Black

(54,445)
$49.98$44.98
FREE delivery Tue, Oct 14
1K+ bought in past month
Loading...
Gaming Keyboard, 104 Keys All-Metal Panel, Dacoity Rainbow LED Backlit Quiet Computer Keyboard, Wrist Rest, Multimedia Keys, Anti-ghosting Keys, Waterproof Light Up USB Wired Keyboard for PC Mac Xbox ClimatePartner certified

Gaming Keyboard, 104 Keys All-Metal Panel, Dacoity Rainbow LED Backlit Quiet Computer Keyboard, Wrist Rest, Multimedia Keys, Anti-ghosting Keys, Waterproof Light Up USB Wired Keyboard for PC Mac Xbox ClimatePartner certified

(1,361)
$29.99
FREE delivery Thu, Aug 21 on your first order
500+ bought in past month
Loading...
Lenovo Legion KM310 RGB Wired Gaming Keyboard & Mouse Combo - K310 Keyboard w/Silent Operation & Compact Water-Resistant Design - M300S Mouse with 8000 Adjustable DPI, 220 IPS, 6 Programmable Buttons

Lenovo Legion KM310 RGB Wired Gaming Keyboard & Mouse Combo - K310 Keyboard w/Silent Operation & Compact Water-Resistant Design - M300S Mouse with 8000 Adjustable DPI, 220 IPS, 6 Programmable Buttons

(14)
$109.39
FREE delivery Tue, Jun 17
Loading...
TMKB 60% Mechanical Gaming Keyboard, Brown Tactile Switch, LED Backlight, Anti-Ghosting, Detachable USB-C, Double-Shot Keycaps, 61 Keys, Wired, White

TMKB 60% Mechanical Gaming Keyboard, Brown Tactile Switch, LED Backlight, Anti-Ghosting, Detachable USB-C, Double-Shot Keycaps, 61 Keys, Wired, White

(35)
$39.99
PrimeFREE delivery Sat, Jun 14
Loading...
FYOUNG Controller Keyboard for Xbox Series X/S/Xbox One/S/Controller Gamepad, 2.4Ghz Mini QWERTY Controller Keyboard Gaming Chatpad with Audio/Headset Jack for Xbox Series X/S Controller Accessories

FYOUNG Controller Keyboard for Xbox Series X/S/Xbox One/S/Controller Gamepad, 2.4Ghz Mini QWERTY Controller Keyboard Gaming Chatpad with Audio/Headset Jack for Xbox Series X/S Controller Accessories

(1,436)
$26.99
FREE delivery Sat, Jun 14 on your first order
50+ bought in past month
Loading...
UPERFECT Portable Monitor 17.3 Inch 2K 144Hz Portable Gaming Monitor Travel Monitor for Laptop 2560x1440P HDR IPS Screen with VESA, Cover Stand, Dual Speakers for PC Phone Game Console

UPERFECT Portable Monitor 17.3 Inch 2K 144Hz Portable Gaming Monitor Travel Monitor for Laptop 2560x1440P HDR IPS Screen with VESA, Cover Stand, Dual Speakers for PC Phone Game Console

(2,824)
$389.49
PrimeOnly 8 left in stock.
Loading...
UPERFECT Portable Monitor 2K 144Hz 16.1" Portable Gaming Monitor for Laptop 2560x1440P QHD FreeSync HDR Ultra Slim Travel Monitor External Second Screen for PC Phone Game Console with Cover Stand

UPERFECT Portable Monitor 2K 144Hz 16.1" Portable Gaming Monitor for Laptop 2560x1440P QHD FreeSync HDR Ultra Slim Travel Monitor External Second Screen for PC Phone Game Console with Cover Stand

(2,824)
$284.99
PrimeOnly 3 left in stock.
Loading...
18.5 Inch Portable Touchscreen Gaming Monitor, High Resolution 1920x1080 with HDR, for PC, Phone Game Console, Easy Connection, Large Display

18.5 Inch Portable Touchscreen Gaming Monitor, High Resolution 1920x1080 with HDR, for PC, Phone Game Console, Easy Connection, Large Display

(0)
$226.59
$2.99 delivery Aug 19 - 29
Loading...
Portable Monitor 16 Inch 1920x1200 IPS Display Gaming Monitor, USB C HDMI Laptop External Computer Display, HDR Eye Care Travel Montior for PC Laptop Phone Game Console

Portable Monitor 16 Inch 1920x1200 IPS Display Gaming Monitor, USB C HDMI Laptop External Computer Display, HDR Eye Care Travel Montior for PC Laptop Phone Game Console

(0)
$202.92
FREE delivery Aug 26 - Sep 9
Loading...
240W 180W AC Charger Fit for Dell G15 G16 G7 G5 G3 Series 5500 5505 5510 5515 5511 5520 5521 5525 5530 5535 5587 5590 7500 7588 7590 7700 7790 7620 7630 3500 3579 3590 3779 LA240PM160 Gaming Laptop

240W 180W AC Charger Fit for Dell G15 G16 G7 G5 G3 Series 5500 5505 5510 5515 5511 5520 5521 5525 5530 5535 5587 5590 7500 7588 7590 7700 7790 7620 7630 3500 3579 3590 3779 LA240PM160 Gaming Laptop

(13)
$44.99$35.81
FREE delivery Sun, Aug 24
50+ bought in past month
Loading...
Dell G16 Gaming Laptop 7630-16-inch QHD+ 240Hz 3ms Display, Intel Core i9-13900HX, 32GB DDR5 RAM, 1TB SSD, NVIDIA GeForce RTX 4060 8GB GDDR6, Windows 11 Home, Onsite Service - Metallic Nightshade

Dell G16 Gaming Laptop 7630-16-inch QHD+ 240Hz 3ms Display, Intel Core i9-13900HX, 32GB DDR5 RAM, 1TB SSD, NVIDIA GeForce RTX 4060 8GB GDDR6, Windows 11 Home, Onsite Service - Metallic Nightshade

(0)
$2,099.00
$11.58 delivery Aug 26 - 28
Loading...
GIGABYTE - AORUS Elite 16 Gaming Laptop - 165Hz 2560x1600 WQXGA - NVIDIA GeForce RTX 5070 - Intel Core Ultra 9 275HX - 1TB SSD with 32GB DDR5 RAM - Windows 11 Home AD (AORUS Elite 16 BWHC3USC64SH)

GIGABYTE - AORUS Elite 16 Gaming Laptop - 165Hz 2560x1600 WQXGA - NVIDIA GeForce RTX 5070 - Intel Core Ultra 9 275HX - 1TB SSD with 32GB DDR5 RAM - Windows 11 Home AD (AORUS Elite 16 BWHC3USC64SH)

(0)
$9,050.69
FREE delivery Aug 28 - Sep 8Only 3 left in stock.
Loading...
18 Inch Portable Display, 2.5K 2560x1600P 144Hz IPS Slim External Second Screen with Dual USB C, 16.7M Colors, VESA Mount, for Laptop Gaming

18 Inch Portable Display, 2.5K 2560x1600P 144Hz IPS Slim External Second Screen with Dual USB C, 16.7M Colors, VESA Mount, for Laptop Gaming

(0)
$369.91
FREE delivery Aug 19 - Sep 2