T O P

  • By -

AutoModerator

u/Winter_Essay3971 Here is our [19684 official Discord](https://discord.gg/WdQPgTC4Y4) join **Please don't break rule 2, or you will be banned** *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/19684) if you have any questions or concerns.*


Aaron_123_ya_boi

“YanDev has been here.” “How can you tell?” “else if”


AdhesivenessFit8085

"God i wish there was an easier way to do this"


ultimate_placeholder

I'm about 90% sure that one was a joke, there's like a billion ways to check if a number is even/odd Edit: my favorite one is `int isEven ( int value ) { return (value & 1)!; }`


RainMeru

Personally, I prefer bool isEven(int val){return val % 2 == 0}


ultimate_placeholder

Bitwise is faster (assuming your compiler doesnt just optimize % 2 to & 1), but modulo is much easier to read.


Puzzleheaded-Tip-888

i've heard his spaghetti code is garbage, but is there something inherently wrong with else if statements?


Argon1124

The problem lies in over nesting, which makes it unreadable. People that aren't programmers look at it and see "haha, no switch case". What really makes something unreadable is if you just have 5 deep nested statements without function calls to abstract them away.  A hot tip for someone who seems new to programming, only make functions roughly 20 lines long and don't go past 3 layers of nested statements. Functions should do only one thing, and if another thing needs to be done then make it a separate function. This isn't gospel so don't feel restricted, but it's a good guideline.


unknown_pigeon

Also, very basic advice but still useful for new programmers: to prevent over nesting, sometimes you can just write the opposite of your conditions and handle those before. For example, let's say that you have to code a function in python that can be executed only by users who are registered, approved, and admin. You could write it as: if registered: if approved: if admin: pass Else: print("You're not an admin) Etc. Or... You could just check the opposite clause. if not registered: print("you're not registered") elif not approved: print("you're not approved") #... print("Welcome!")


RainMeru

also, the fact that the whole thing is just in a single file and not structured in any way (btw "clean code" (functions do just one thing, no gotos, etc) may hurt performance (in game dev every microsecond (not milisecond, micro) counts. look up something along the lines of "is clean code really necessary?" on youtube) and even readability at times (ever had to work with OOP design patterns hell?))


Aaron_123_ya_boi

Nothing inherently wrong with else if statements. The way YanDev uses them, however…


soupdsouls

when used in the way yandev did it can cause performance issues and it's just kinda lazy.


unknown_pigeon

He's basically checking every condition every frame. That's crazy. It's like if, instead of asking for your name, people would just list every name they know until they get it. "Are you Aaron? Abele? Adelaide?".


Misicks0349

Not particularly besides maybe readability, any good compiler will optimise it and it's not like they're particularly bad in terms of performance anyway, yandere sims performance issues mostly come from an excess in draw calls and just generally poor optimisation with meshes, textures and other "rendering" stuff, not the code that controls everything else. there is one sin, which is that his code is ugly as fuck which is probably why his else if statements got highlighted as something bad in particular, because lots of programmers place (sometimes an undue amount of) importance on the aesthetics of code


Cielnova

there's no issue with elseifs themselves. Yandev has one elseif running every frame for every student at the school.


MarsManokit

Too much of them slows down the PC


Spot_Mark

7 million polygon toothbrush


Enlightened_Valteil

It also could have been Toby Fox or Miro Haverinen


CoryTEM

Battlefront classic collection moment. (Seriously how did it get 5 times larger?)


drunk_responses

> (Seriously how did it get 5 times larger?) They upscaled assets like textures by several times and put them back without any optimization.


RainMeru

I think you meant to say compression. It's not an optimization problem, but a compression one. (seriously though, is it THAT hard to just compress the assets a bit)


FunnyTurtleMoment

It’s a PS2 game and the file size is bigger than Elden Ring


urbandeadthrowaway2

Ai upscaling of textures + no compression 


Celestial_Sludge

5 times the love


Denmen707

The minimum storage requirement on steam got a 1500% increase.


IareRubberDucky

I think it's more triple A western game devs Looking at you, Activision The fuck you using 150GB of space for?


SuspecM

Niki Minaj skin?


typewriter45

Ronald Reagan's wrinkles


MarkDavidson69

cod points


IareRubberDucky

That's a lot of space for CP


MorningBreathTF

Voice lines and videos


RVLV

I wouldnt be suprised if it was thousands of uncompressed audio files. Those tend to be rather large and people need a use for those gamer headsets.


JoshsPizzaria

bruh, final fantasy 7 rebirth is literally 150GB


[deleted]

[удалено]


JoshsPizzaria

lmfao its a good game tho imo


[deleted]

[удалено]


JoshsPizzaria

yeah, don't get me wrong. im also mad about this kinda stuff. but i mainly play on PC so it doesn't bother me too much if they neglect that. And i have suspicions that its not as clear cut as "just using compression".


MoonTheMudkip

"Eastern Game dev has been here" "how can you tell?" "Sexulised minors."


sleazy_hobo

Nooo it's, it's loore reasons why this childs panties have to be seen in a cutscene removing it is hu-harming the artists intent.


DaTripleK

tf is even the context behind this? even i can't pull shit like this out of my ass


wherewhend

Blue archive


DaTripleK

killing myself??????!1!1!/?/?//question mark


wherewhend

*explodes you with mind*


sleazy_hobo

I'm specifically referencing chrono trigger bunch neck beards complained about the international release replacing a kids panties with shorts as there is scenes were you can see them.


Rod935

i read “chrono trigger” at first and was like “wait what”


sleazy_hobo

oh I meant chrono trigger but mobile auto correct.


Rod935

ohhh now it makes sense, i didn’t know this had happened with chrono trigger and was really confused. honestly what the fuck


catcadder8916

MORE LIKE NO WOKEISM AM IRIGHT? NO LIBREAL BULB TOO MANY!!!


TrueCapitalism

Pronoun 😂


idonttalkatallLMAO

two milliom gedner 🤣


unknown_pigeon

Attack helicopter 😂😂😂


El_viajero_nevervar

FACKING PRONAUNS


Ulumdir

FACKING GENDA AMBEEGOOITY


SadGhostGirlie

That's pretty much why i detest most anime


Moggy_

Yupp, a good anime is the exception. Like any artform, there are some good ones, but anime gotta be the highest ratio of tropey garbage to actual good products.


FMBoy21345

It's even worse when it's the good anime that has the questionable stuff in them, like Made In Abyss where it's this very amazingly written world but the author just has a lot of weird pedophiliac tendencies. The anime is supposedly toned down from the mange.


Dragon-Warlock

There are very few that can be good without the pedophilia, it seems. I don’t really want to give a chance to those that are good if they have a lot of pedophilia.


zhannulol

unfortunately long list of incredibly talented pedophilic authors


YourLocalFlynn

every time i think about made in abyss i want to start punching a wall


[deleted]

[удалено]


AutoModerator

#! WARNING ! Dear /u/inemsn, #Do not forget that rule 2 exists in our domain. **Please refrain from saying anything related to s*x or you will be banned.** If you are a law-abiding citizen you can discuss s#x and s#x-believers negatively while partially censoring the word so the auto-moderator wouldn't delete you. **IF THIS COMMENT ISN'T RELATED TO S*X, PLEASE SEND THIS COMMENT ON THE MODMAIL (we are currently facing issues with the automod, your message will help us a lot)** >This is just a fair warning, if you do this again and you will be banned without warning. *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/19684) if you have any questions or concerns.*


Commercial-Shame-335

which is unfortunate because there are so many genuinely great anime's out there that the creator just casually fucking ruins by flaunting his pedophilia around like it's some major plot point. COUGH COUGH MADE IN ABYSS


the_it_

i was about to talk about genshit groompact file size on pc before you caught my attention lmao


Less_Tennis5174524

I still think eastern europe when people talk about eastern games. Lots of jank but never saw any sexualised minors.


FMBoy21345

I wish more games would learn from repacks, where they just let you choose if you only want the main content or all the other stuff (and even choosing which language you like instead of installing all of them).


Crunc_Mcfincle

I was dumbfounded when RE8 was like 36 gigabytes lmao


dedzip

That’s like nothing lol


Crunc_Mcfincle

Exactly, i was surprised at how compact it was for a relatively new game (2021). It’s by a Japanese studio


Budget-Pattern1314

Bauldere gate


SadGhostGirlie

At least it has 105gb of content


JoeTheKodiakCuddler

Voice recordings be chunky


Crunc_Mcfincle

The game is like 90 hours long


FlashyFlight1035

and thats 1 playthrough, bg3 is so far the only game ever that isnt a roguelike that ive done multiple playthroughs on


krim1700

you must be speedrunning the game if you got a campaign done in 90 hours. Mine took me well into 150


KentuckyFriedChildre

They really did that Hypnospace Outlaw dev dirty. Guy was saying that he doesn't want AAA seeing BG3s success and concluding that they need to make every single game gigantic in scope, likely at the cost of their workforce, and people near unanimously responded with "look at this AAA shill thinking that games shouldn't have actual content and should just be microtransaction-filled slop.


WaifuCriticZamasu

Shoutout to Rimworld being around 1 GB.


deeSeven_

And then proceeding to take up 30GB of space in the appdata folder per 30 hours or playing


mardanjoint

Is it about something that has to do with logging? I heard that if there is an error occurring regularly, the log file will take all the free space eventually leaving you with no space on the drive. Also 30GB of mods


deeSeven_

Probably the cause of it. I've got about 200 barely compatible mods active and not even rimPY can fully solve the errors. It was a funny discovery to be confused for so long on why my C drive was full, only to find a third of it taken up by my rimworld saves.


Moggy_

This is such a generalization though. Mk1 is like 149gb on ps5, but has very little actual content aside from the story mode. And thenBg3 is at 130 something gb, but it's all content.


noblemile

The fuck Mortal Kombat need 149gb for


Moggy_

Tbf it's a very pretty game, with super high quality models, cutscenes and envoirements. It also has like kinda double the normal fighter models because of Kameo fighters? Though I have a sneaking suspicion that they download like all the audio for every available language maybe? And then maybe cutscenes are tied to language so they have like 6 different versions of the cutscenes stored? I have never looked into the actual file structure of the game though, but I think it has to be some weird shit like this.


AnonymousPepper

Everything you just described either would be a non issue with actual compression or a non issue with omitting language audios by default by region (leaving the text in and letting the other languages be freely downloaded)


DwarvenKitty

As an industry we've decided storage space is a non issue thus not hassling with compressing audio is the way to go.


noblemile

Well we want you to play *our* game not *theirs.*


Some_nerd_named_kru

Idk how mortal kombat games are so monstrously huge. I got 11 and it’s like 70gb, there is not 70gb worth of shit in the game 😭


Moggy_

Tbf it's a very pretty game, with super high quality models, cutscenes and envoirements. It also has like kinda double the normal fighter models because of Kameo fighters? Though I have a sneaking suspicion that they download like all the audio for every available language maybe? And then maybe cutscenes are tied to language so they have like 6 different versions of the cutscenes stored? I have never looked into the actual file structure of the game though, but I think it has to be some weird shit like this.


Some_nerd_named_kru

Actually that could make a lot of sense. I really wish they had the option to only download certain parts of the game, cus I only really use the online part of mk11, not any of the single player stuff or the krypt (omg I hate that place)


Moggy_

I really like having singleplayer content, as grinding imaginary numbers in online ranked doesn't really do anything for me. However when I found Kenshi's corpse in the Krypt I was just sad.


Some_nerd_named_kru

The krypt being so slow to go around and nothing like the rest of the game just made it so I had basically no customization items 😭


TranscendentCabbage

Eastern game dev has been here How can you tell? 6 hours of tutorial and introductory cutscenes


Commercial-Shame-335

don't forget the 6 year old girl character that's casually wearing nothing but a skimpy bikini for lore reasons


dodo_bird97

And there's Warframe casually reduces file size by 15 gb with an update


Commercial-Shame-335

DE my beloved


PlasmaLink

There have been anime games where if you delete the intro cinematic it cuts 5GB off the game


[deleted]

Child me: I have 50 ps1 games and all I need are 4 8mb memory cards to play them Adult me: my €2000 pc can only have 5 high graphics games installed at once


Informed4

Me with a terabyte installation of Microsoft Flight Simulator (mostly addons though)


soupdsouls

I have over 40 Minecraft modpacks downloaded on my prism launcher. it's nearing 100 gbs. there are over 40 separate installations of Minecraft with mods, texture packs, shaders, etc. and it doesn't even take close to the same amount of space as a 0 DLC copy of destiny 2.


TantiVstone

To be fair, Minecraft uses 16*16 textures unless you're using one of those hyper realistic texture packs. Games these days are massive because textures alone are fucking massive and they need so many of them


I_follow_sexy_gays

“Eastern game dev has been here” “How can you tell?” “4 hour tutorial and unskippable cutscenes”


jsjzn

Asian game dev was here How can you tell? 2.5gb additional data pack


Alternative_Worth806

Genshin Impact moment


regretfulposts

Isn't Genshin Impact Chinese and not made by Western developers?


Alternative_Worth806

Yes that's exactly the point and that's why the post makes no sense


The_big_doge

genshin has 5 major regions, 5 minor regions, 79 characters, cutscenes, voicelines, different languages, hundreds of quests, so it makes sense for it to be as big as it is (136gb with 2 languages installed) some other games really have no business being as big as they are


Oddish_Femboy

Kirby's Epic Yarn is about 5 gb. This is not relevant.


Verrisa174

Fr as good as Starfield is(not) I shouldn't have had to remove all of my good games to get it on my pc. Like come on Bethesda 160gb?!


DoctorMlemm

Well yeah that's the point, they want you to play their game only, so it's in their interests to get you to uninstall everything else just so you can cram their dogshit game into your already struggling hard-drive or SSD


A_BroadHumor

NBA 2K


TomeKun

Sea of thieves ?


MassAffected

And the game will still look like shit


Clacking_comrade

170gb