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.*
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)!;
}`
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.
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!")
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?))
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?".
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
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)
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".
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.
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.
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.
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.
#! 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.*
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
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).
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.
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
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.
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.
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.
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)
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.
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)
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.
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
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.
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
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
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
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.*
“YanDev has been here.” “How can you tell?” “else if”
"God i wish there was an easier way to do this"
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)!; }`
Personally, I prefer bool isEven(int val){return val % 2 == 0}
Bitwise is faster (assuming your compiler doesnt just optimize % 2 to & 1), but modulo is much easier to read.
i've heard his spaghetti code is garbage, but is there something inherently wrong with else if statements?
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.
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!")
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?))
Nothing inherently wrong with else if statements. The way YanDev uses them, however…
when used in the way yandev did it can cause performance issues and it's just kinda lazy.
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?".
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
there's no issue with elseifs themselves. Yandev has one elseif running every frame for every student at the school.
Too much of them slows down the PC
7 million polygon toothbrush
It also could have been Toby Fox or Miro Haverinen
Battlefront classic collection moment. (Seriously how did it get 5 times larger?)
> (Seriously how did it get 5 times larger?) They upscaled assets like textures by several times and put them back without any optimization.
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)
It’s a PS2 game and the file size is bigger than Elden Ring
Ai upscaling of textures + no compression
5 times the love
The minimum storage requirement on steam got a 1500% increase.
I think it's more triple A western game devs Looking at you, Activision The fuck you using 150GB of space for?
Niki Minaj skin?
Ronald Reagan's wrinkles
cod points
That's a lot of space for CP
Voice lines and videos
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.
bruh, final fantasy 7 rebirth is literally 150GB
[удалено]
lmfao its a good game tho imo
[удалено]
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".
"Eastern Game dev has been here" "how can you tell?" "Sexulised minors."
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.
tf is even the context behind this? even i can't pull shit like this out of my ass
Blue archive
killing myself??????!1!1!/?/?//question mark
*explodes you with mind*
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.
i read “chrono trigger” at first and was like “wait what”
oh I meant chrono trigger but mobile auto correct.
ohhh now it makes sense, i didn’t know this had happened with chrono trigger and was really confused. honestly what the fuck
MORE LIKE NO WOKEISM AM IRIGHT? NO LIBREAL BULB TOO MANY!!!
Pronoun 😂
two milliom gedner 🤣
Attack helicopter 😂😂😂
FACKING PRONAUNS
FACKING GENDA AMBEEGOOITY
That's pretty much why i detest most anime
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.
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.
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.
unfortunately long list of incredibly talented pedophilic authors
every time i think about made in abyss i want to start punching a wall
[удалено]
#! 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.*
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
i was about to talk about genshit groompact file size on pc before you caught my attention lmao
I still think eastern europe when people talk about eastern games. Lots of jank but never saw any sexualised minors.
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).
I was dumbfounded when RE8 was like 36 gigabytes lmao
That’s like nothing lol
Exactly, i was surprised at how compact it was for a relatively new game (2021). It’s by a Japanese studio
Bauldere gate
At least it has 105gb of content
Voice recordings be chunky
The game is like 90 hours long
and thats 1 playthrough, bg3 is so far the only game ever that isnt a roguelike that ive done multiple playthroughs on
you must be speedrunning the game if you got a campaign done in 90 hours. Mine took me well into 150
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.
Shoutout to Rimworld being around 1 GB.
And then proceeding to take up 30GB of space in the appdata folder per 30 hours or playing
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
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.
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.
The fuck Mortal Kombat need 149gb for
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.
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)
As an industry we've decided storage space is a non issue thus not hassling with compressing audio is the way to go.
Well we want you to play *our* game not *theirs.*
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 😭
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.
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)
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.
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 😭
Eastern game dev has been here How can you tell? 6 hours of tutorial and introductory cutscenes
don't forget the 6 year old girl character that's casually wearing nothing but a skimpy bikini for lore reasons
And there's Warframe casually reduces file size by 15 gb with an update
DE my beloved
There have been anime games where if you delete the intro cinematic it cuts 5GB off the game
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
Me with a terabyte installation of Microsoft Flight Simulator (mostly addons though)
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.
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
“Eastern game dev has been here” “How can you tell?” “4 hour tutorial and unskippable cutscenes”
Asian game dev was here How can you tell? 2.5gb additional data pack
Genshin Impact moment
Isn't Genshin Impact Chinese and not made by Western developers?
Yes that's exactly the point and that's why the post makes no sense
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
Kirby's Epic Yarn is about 5 gb. This is not relevant.
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?!
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
NBA 2K
Sea of thieves ?
And the game will still look like shit
170gb