Developing game for 5 years

>Developing game for 5 years
>Still hasn't programmed a save feature
Let's have a thread about incompetent devs

Attached: D8zbyFlUEAA7srq.jpg (1112x1200, 150K)

Other urls found in this thread:

stackoverflow.com/questions/3366376/are-net-switch-statements-hashed-or-indexed
twitter.com/JayroachSSB/status/1139246840719691776
github.com/id-Software/Quake-III-Arena/blob/master/code/game/g_main.c
youtube.com/watch?v=b_6V-iSbMM0
youtu.be/7uLzaKlZSQQ?t=260
twitter.com/SFWRedditVideos

Stop advertising this parasite, he has to fade and die.

Nigga just export all the variables into a JSON.

there's already a thread you incompetent poster/shill

>15 FPS
When a games developer cant fucking run the game theres an issue

bro
ur PC is just weak LOL
go buy another one or something to play this masterpiece

>tfw even Newgrounds porn games still in their first month of development have save features and after all these years you can't save in this shit

>mfw he is now making less money than all of the obscure /d/ tier games i follow on patreon
The system works

Attached: 1554517113292.png (925x711, 32K)

what happens when he makes no more money?

How long

Attached: image.png (891x1400, 226K)

rope

Almost same thing for Mental Omega btw, though they did introduce it in the 3.3.3 patch

>Proper programming design patterns? Never seen her!

Attached: yanderedev.png (828x801, 149K)

>2,492,904 subscribers
How many of those were due to NeoNaziPie?

god when the fuck did he start development on this shit? 2011? 2013?

the question is was he smart enough to save up the paytreon shekels

wat is this programming

Attached: 1424384261312.png (512x384, 238K)

You think lottery winners are smart enough to save their shit?

I have never programmed a single thing in my whole life, explain what is wrong here

Do "people" really give this retarded excuse of a human being money?

>seething because a guy from Yea Forums got successful

can't imagine this guy spends that much money, plus he has a job on the side.
better off than 90% of Yea Forums i bet

>plus he has a job on the side.
???

Hard to read mostly.
There are better ways to do it, rather than multiple "if" statements you can use "switch"

>successful
the game is not even released mate.

Could use "case" instead of a shitload of "else if".
But I'm pretty shit at programming, so there's probably a better way than that too.

Shit, I meant switch.. within which you have cases.

Attached: 1366725718997.jpg (552x526, 75K)

what matters if it works?

I mean we joke about it and make fun of him, but ff7's enemy ai was also just a bunch of nested if/else checks

Attached: file.png (491x1566, 151K)

long if-else blocks are frowned upon if you are checking only one variable(thats the this.Witnessed). A better programmer would have programmed a switch-case, as that would yield better performance.

Attached: 1528515002856.png (955x524, 182K)

this "game" still hasn't been released yet?

Nothing really, retarded year one CS students see a bunch of else/if blocks and immediately assume it's somehow bad code or something. In reality it's just a segment of code that really can't be simplified and totally warrants this level of repetition. Autists will say it should be placed in a switch statement, but professionals realize that doesn't really make much of a difference.

Attached: 1558389677467.jpg (1242x1320, 109K)

its not that easy. saving in video games is really tricky and easy to fuck up. look for example at stalker.

game devs being hacks does not excuse any single dev for being a hack.

What the fuck is his problem?

Attached: 1528515107122.jpg (1199x589, 59K)

t. yandev.

IT'S COMPARING FOR STRINGS
STRINGS

>Yea Forums tries to talk code
Why do I even browse this reddit tier board?
No, it is.

Reminder.

Attached: hm.jpg (812x625, 71K)

Nigger what
String comparisons alone would make anyone with an IQ above plankton cringe

nothing really. just a meme picture by one of these countless incompetent arrogant "i am such a nerd and proud to be a developer" idiots

What a faggot.

How old is he again?

>t. second year student

>using switch
switch aren't magical, its still a O(n) algorithm, it's barely faster than if-else if. He actual non-retarded answer is to use a Map, or define a Strategy interface.

>what matters if it works?
Because saying "what matters if it works" is exactly why his shitty fucking game runs at 15fps. I'd just endless compromises, but he probably didn't do any, he's just incompetent and didn't know how to code better

Everything, but one simple thing is using a chain of if-statements instead of using a switch-statement or a map/dictionary.

Imagine there is a line of 100 people standing in line, and you're need to find the person named "Adam".

One way to solve this is to walk up to each person and ask them "are you Adam?" until one of them answers "yes, I am Adam." This is what his code is doing and it's slow and difficult to maintain as the code base grows.

A more efficient approach would be to hire a person whose sole job is to remember who and where each person is, so that when you ask them "Where is Adam?" they will answer "he's the 36th from the right" so that you can talk to him instantly.

this
it's hilarious really

Stop fucking making threads about yourself, Eva.

after all this time seeing that image, I somehow never noticed that part. what the fuck. is his ai just constantly returning full sentences for their status? the fuck

>In reality it's just a segment of code that really can't be simplified

Attached: 1487366925699.jpg (360x361, 38K)

FPBP

>evaxephonman

>Map
>Strategy interface
Literally never heard of, but like I said, not really into programming.

>Switch
>it's barely faster than if-else if
Image related.

Attached: thats bullshit but i believe it.png (570x558, 117K)

compilers turn large switch statements into lookup tables, turning your O(n) into O(1).

Is the same not mission-based? That seems like the obvious way to do anime Hitman.

I realize Yea Forums is full of r/gamedev hacks who think that their 8 week programming bootcamp qualifies them to critique other people's code - but please, humor me for a second. In a professional setting, code doesn't always have to be elegant or completely efficient on the first pass.

Often times a developer will quickly program a module without too much thought into elegance, simply because it's not worth the time to think through and optimize such a small and irrelevant chunk of code. In the event that that code needs to later be expanded upon or re-used, they'll likely tighten it up for future use.

That said, scavenging through someone's Git history to try to find snippets of cringe code is just fucking pathetic. Anyone who pretends that all their code is somehow perfect the first time they spit it out is straight up lying. Part of being a good programmer is knowing when to brush aside less important tidbits and focus on the big picture.

Yandare Simulator is cringe, but for fucks sake stop posting that picture of a giant if/then branch - it's not even that bad ffs.

Attached: hqdefault (3).jpg (480x360, 22K)

Ah yes, so instead of running a simple if/then query, which uses practically one cpu cycle, you can build an entire engine with libraries to return a value!
Brilliant! When can I fire you?

the game state consists of more than "all the variables". what you mean is maybe a memory dump.

I seriously hope you are never employed for anything remotely involving software

Add 'and get sued to return his stolen dev-money' onto that. Otherwise, pic related.

Attached: 1st.webm (800x800, 2.49M)

the eye color one is better anyway and it's still comparing strings

Attached: file.png (560x279, 227K)

This is noncoherent blabber. All you have to do is store variables on every happening in the game.

The amount of pseudointellectualism in this thread is insane. Yes, O(n) functions are worse than O(1). No, it doesn't matter if n is always going to be beneath a certain amount. His code is bad for other reasons, mostly readability and maintainability.

Eva, I thought you said you were going to stay on Reddit?

t. babby who just learned what a tree datatype is in his community college and now thinks that professionals don't just use giant ArrayLists 99% of the time

yanderedev's game runs in 15fps on dev's power rig while looking like an early ps2 game blown up to hd and did not have a working save feature for 5 years of development
now sit down and rethink your post and your life

All I remember is when YD would come in to Yea Forums and spam his shitty streams over and over again. He'd start off okay, but then someone would call him out for missing something in a game, he'd be like 'I'm not going to respond to trolls' and then, every time, without fail, he'd pause the game five minutes later and have a bitchfit about how everyone hates him and he can't get a girlfriend.

Yanderesim is the exact same thing, but in game form.

Who gives a fuck about comparing strings, it takes virtually the same amount of processing time as comparing enums. This isn't 1990's hardware anymore.

why bother when he's making millions anyway

>In a professional setting, code doesn't always have to be elegant or completely efficient on the first pass.
For game development if matters, or else you get a shitty looking game that runs at 10 fps like that dumbass

You're fucking kidding, right? The save system should be one of the priority things he's worked on, how the fuck do you just let that slip for so much time?

>String comparisons alone would make anyone with an IQ above plankton cringe
Holy fuck. I don't need a bunch of fucking lookup tables or enums to check one string matches another. Fuck you and the code you write.

I remember him hawking his scythe fetish game here a few times. I think I even downloaded the demo once. I remember people telling him the laser scythe was a dumb weapon and he got really mad and said the scythe is nonnegotiable

>his game runs at 15fps because he had too many if statements

Attached: 2rdkbw.png (205x246, 4K)

>Ah yes, so instead of running a simple if/then query, which uses practically one cpu cycle, you can build an entire engine with libraries to return a value!
>he thinks a HashMap is a complex module you need to build from scratch
how fucking adorable.

Comparing strings in most languages requires a new instance of a string for every letter.
Comparing "Apple" = "Apron" requires new strings "A", "A", then new strings "Ap", "Ap", and finally "App", "Apr". This is due to limitations in byte size comparisons of word and dwords, which makes it very expensive unless a compiler creates hashes for every string used itself.

If it works it works, dude.

Why would you even use an enum?

Tf code is a fuking piece of shit, making a change other than twiking some number is- literaly imposible, you can only carry 3 cosmetics on you because otherwise the servers fuking colapse

Attached: 1548192632385.jpg (750x741, 78K)

Dude, he refuses to even hire someone to get through his emails and reply to them, repeatedly stating that he regularly deletes huge piles of them rather than reply because it eats into his 'dev time' which consists entirely, I assume, of jerking off to Mirai Nikki until he draws blood.

there's not even need of rthat, Unity has a whole system to save data called ScriptableObject.

THE EMAILS Yea Forums, WHAT DO THEY MEAN?

Any non-retard would use a dictionary mapping the input values to the outputs. Not only is it going to perform better on anything but trivially small lists, it's also going to be a lot easier to maintain and expand and can be populated dynamically (unlike a list of if statements or a switch, which are compile-time).

correct

but yanderedev is a cunt so whatever

the if statements are not the questionable thing about that code. only dillettante retards think it is. who cares anyway? that snippet of code isn't why yandere simulator is slow.

switch statements don't compile into magically faster branches by the way

goblin speak

>a dictionary is a tree
jc

Look up string literal interning and never post in a programming-related thread again.

why are you invoking a hash table in a situation where ORed flags are probably most appropriate?

why does Yea Forums get so mad over programming stuff
are you all failed code monkeys or something

>Estimated earnings
>from 1k to 18k
My statistics professor at college would be so mad

it's like #define except it's actually a part of the language as an integral type, and can also be typedef'd

Honestly he could have the coding ability of a whelk and people wouldn't mind if he wasn't an arrogant cunt. You only get to be a cunt scot-free if you can make up for it.

>switch statements don't compile into magically faster branches by the way
an optimizing compiler will usially compile switch into either jump tables or hash tables, depending on how large and/or complex the switch body is

>comparing strings without using preset variables
Not the worst thing there but still absolutely disgusting
What if he fucking mis-spelt one?

Attached: cRgJiE7.jpg (509x513, 135K)

I thought the entire reason his game runs like shit was he decided to have extremely costly methods update every single frame instead of when actually needed or something?

I'm a 25 year old code monkey who gets triggered by 19 year old CS students who are blatantly wrong about everything they say online

Attached: 1558204654408.jpg (1200x893, 165K)

sauce
seems interesting

>gets triggered by 19 year old CS students who are blatantly wrong
but why user

>FPS 15

Attached: 125125125.png (275x213, 127K)

GCC compiles large if/then statements as jump tables just like it does large switch statements.

>in a professional setting
so...not Eva's basement?

It reminds me of my college days and how much i hate annoying CS kids who think they are the hottest shit in the world because they learned a new datatype.

because ORed flags are useful when you want to want to handle situations where you have the possibility of having multiple states at the same time, which is not really the case in his code's snippet.

programming threads is to Dunning Kruger compsci 101 fags what honey is to flies

it looks like the kinda stuff i write when my assignment is due in an hour and i have to bruteforce it w/ if and else statements

Is it too late to learn programming at 31 and work on that field?

Be brutally honest. Also where do I learn it? What books or website should I go to?

>jump tables
sometimes. and if a jump table can be determined then certain compilers will do that for if statements as well. this is just bikeshedding. anyway, in the case of this snippet of code, and even after converting it such that it uses bit flags as it should, no jump index can be determined .

>compile switch into ... hash tables
don't speak of what you don't know

STOP

bruh it's chugging at 15fps because he's checking these conditions once every frame instead of using OOP like a normal human being

I'm surprised he even uses git

switch case and if else are compiled into whatever is more efficient anyway so choosing one over the other is just a matter of style now.

Who fucking says that to a person's face when they're asking a simple question? Just say 'Sorry that's low on the priority list' and move on, you don't have to be an asshole about it.

>that picture of a giant if/then branch
That's just a snippet of your entire coding knowledge you unbased retard, your entire game runs at 15fps because of this yet you lie to fans about getting a stable 30fps when you've streamed working on the game and never topped 21fps

>it's not even that bad ffs.
Yes it is and you know it is, holy shitI'd call you out for shit posting but not only did you quickly grab an image from google to use so you could stand out at attention but you even type like that raging faggot too so I know you're deadly serious about defending yourself in a place that hates you. I don't know what's more sad, you scamming retards out of their money or that you can't keep yourself away from the place you ran from because someone might be saying mean words about you on the internet

Why didn't you just go over to irc to ask the mods to delete this thread like you usually do?

this, as long as it works who fucking cares, it's not 1990

post them

>checking those conditions every frame
No he's not. Look at the context of that statement. It's "which gameover screen to display"
That statement should only get hit once per game.

It's not too late but you need to get a four year bachelor's degree at a proper university.

How can I learn GOOD coding?

>don't speak of what you don't know
how about, instead, you don't speak of what you don't know, especially C#
stackoverflow.com/questions/3366376/are-net-switch-statements-hashed-or-indexed
>If the number of case statements is small then the compiler emits a sequential equality comparison.
>If the number of case statements is large then the compiler emits a Dictionary lookup.

This. Who gives a shit if it's inefficient. It's used once in an entire play session.

Attached: 1517525233780.jpg (720x643, 41K)

Why are programmers so bitchy? I am a programmer but I never bitch this hard.

It isn't but if you don't have a head for it you'll hate it.

I've started working as a dev at 26, last year. I've seen people in their 40-50 getting their first job at my place. In uni there were dudes in their 60's.
Don't let your dreams be memes. Programming sucks tho stay a neet

No, this is the check to see whether it is a game over situation or not. It checks every frame for what every teacher is currently "Witnessing".

i haven't read the code for a long long time but i recall it was chock full of shit like "SeenBodyAndCanSeeYandere" which would translate to "(ent->flags & ALARMED) && visible(player, ent)" or more likely "(ent->alarmtimeout > thetime) && visible(player, ent)" in human speak

Avoid Reddit AT ALL COSTS

If you're yet another extrinsically motivated poojeet faggot who just wants to make fat stacks of cash and don't actually give a shit about technology, then yes, it's too late.

Absolutely fucking based.

How about this, use objects, make use of polymorphism so you don't have to use any comparisons to get the correct game over screen.

It's a giant dick swinging contest of who writes the superior code. In reality, as long as your work is somewhat competent and properly commented, no one cares.

do the exact opposite what /g/ tells you

Yeah I had to use it for a JS project for a client recently because they were demanding we get it finished for the weekend. Just stuck the strings in there and said fuck it to futureproofing.

Got it mixed up but it was somewhere else in it. In another segment of code, all his NPCs are checking if they're being talked to or not on every tick.

Also pic related

Attached: 1497156055051.png (1366x768, 347K)

Mentally he's 15

How mad is he bros?

Attached: 1560549579201.png (3224x3017, 2.12M)

true, i don't use C#

seems crazy to invoke hash tables for case statements, but i expect that's the fastest thing to do when considering the runtime's performance characteristics

how 2 code?
maybe i will do some porn games

Attached: 634634673743.png (309x424, 183K)

>properly commented
I do the needful, sir, thank you sir.

You can finish the game in 2 days, who needs a save feature

Fair enough, I've never actually spent time on his github, I've only seen the screenshots.

>says he's going to reddit
>censors all posts that criticize the game and don't allow anyone to dislike posts
>got so bad that people made a second page just to shit on the game

Attached: 465259.jpg (250x238, 19K)

Unnecessarily complex given the scope of this.

all software is shit and no code is good enough. stressful profession and even a stressful hobby. programming is shit, don't do it.

saike

It matters if the code is so inefficient that it's dropping frames. Graphically this is a game that should be running on basic laptops yet he's telling people to gotta have a high end PC to play it. Look at Pokemon Sword/Shield, GF are such hacks at code that it looks and runs worse then Wii games.

Underage zoomers are a plague.

The more people remember him, the more people will remember that they're getting charged every month by patreon for something they don't give a shit about anymore.

If that's how his objects are set up, then fixing those checks is the priority rather than the structure of his conditionals. The purpose of that code snippet is to decide which gameover screen to use and it should only be used after it's been determined there's a gameover screen.

Attached: 1167205455015.jpg (150x150, 2K)

Yeah but that's a turn based strategy game so the AI doesn't need to be that complex and there's not really a better way to do a 6 turn cycle if the ai script has to be called from outside that frame. I guess they could have used a switch-case but the time loss is minimal and it ran on ps1s so who cares.

The Yandere guy is ifelse-ing on something that would be much easier to deal with if it were an enumeration. Additionally the last two args for every function call are the same and he's casting ints to floats. AND he is having optimization issues. Although I would guess that's more because he doesn't know what a minmap is.

Imagine if you will something changes so every one of those 6s needs to be a 7. How annoying would that change be to implement?

but user, yandere sim is supposed to be more complex than both Hitman and Persona COMBINED

your brain on sepples

It is when his IF statements are comparing strings though.

Switch statements are constant time if the compiler can make a jump table from your inputs

>Game that is in early early alpha
>"It doesn't matter that his code in unmaintainable and extremely hard to update, because it runs just fine and it's not the cause for the FPS drops"

Attached: 1511545678759.png (207x243, 7K)

>nobody in my team at work comments so I didn't for most of my time there
>started to comment at least the public methods
>"why are you over-commenting when you could instead let the code speak for itself?"

Attached: 1540070113737.jpg (280x280, 12K)

That's assuming this is the only place where it's used, which is not, because it was checking if a teacher saw blood or weapons or some shit, you can apply that to every character (object), and all of them would react different to it. A teacher might give you game over, students may set an alert mode. You have a giant piece of code full of if and else that you will have to copy paste for every occasion why you could just call teacher.reactToEvent(event)

4 else statements result in "insanity" game over cause and 2 result in "weapon" . if his iq was above 80 he could have just used "or" in the variable check to do in 2 statements what he did in 6.

he also has completely fucked up the string variables, painfully so.

finally spamming if statements like that is bad for performance. his shitty game cannot touch 30fps in rigs that easily handle 60fps for AAA titles

>all his NPCs are checking if they're being talked to or not on every tick.
yeah this is how games work; state change doesn't just fall out of thin air. if you want to branch control flow you're going to have to check something and conditionally branch on it.

could you explain to me what is wrong with "BeginStruggle"? thanks in advance

Why would you even care about this unity shit when there came out not one but TWO new good Hitman games?

Attached: 1558168434085.png (546x459, 5K)

all the good programmers usually leave for non-game companies that actually pay them well.

Does anyone know when violated heroine is goig to be finished?

The screenshot illustrates that the entire script for every student is in one massive file instead of modulated

>teacher.reactToEvent(event)
which sets off a bunch of state changes: flags, timers, and so forth. state changes that have to be examined to determine what an entity's control flow should be doing every game frame.

are you a game programmer? you don't seem to be thinking in the context of a game.

Using if/else and while/for loops at all is something you should avoid, learn fucking functional programming faggots.

HAHAHAHAHAHAHAHA

Well, yeah, you should not generally have to comment stuff unless you need to explain some very intricate behavior or explain why you're doing something non-obvious (e.g. "// although it might seem less efficient than Y, we need to do X here because Y is not thread safe").
What type of methods are you writing comments for and what do your comments entail? Post an example.

>state changes that have to be examined to determine what an entity's control flow should be doing every game frame
Eh it was just on the top of my head, doesn't mean I would implement it exactly like that, but this isn't true, the event would trigger the call, you don't have to be checking every frame.

>Let's have a thread about incompetent devs
twitter.com/JayroachSSB/status/1139246840719691776
THESE FUCKERS CAN'T DO ANYTHING RIGHT

Attached: 1558407522140.png (480x360, 257K)

>using FP languages for game development
go choke on a monad

Attached: grayons.png (558x614, 45K)

I have alot of fun with programming but when I see pic related I'm starting to realize how and cancerous game programming is going to be.
I really envy those who actually work on engines with a shit salary.

Attached: basic_engine.png (695x887, 169K)

>(float)6
what language is this? wouldn't 6.0 do the same thing?

ironic weebs

>ctrl+f
>warframe
>0 results

Attached: 1559263776519.jpg (521x707, 79K)

Everyone hates me at work because I forced a very restrictive StyleCop ruleset on a new project.

It's fun, you should tell your PM about it.

2/10.

>you need to use a functional programming language to use functional programming
I gave you a specific case of use and you're still retarded.

he more than quadrupled his frames by simply updating the old unity version he was on. barely touched his code.

yeah game still sucks balls but the CS retards thinking too many ifs crashed his game is very amusing.

Attached: hm.jpg (788x650, 51K)

Is that the full name? There's like 100 mangas with that name

>yeah game still sucks balls but the CS retards thinking too many ifs crashed his game is very amusing.
No one ever in every single yandare thread said this.

It's retarded to think that such high level code will have any impact on the game performance anyway, those are the optimizations you would do in the 80s. The whole performance hits occur when you're multiplying huge matrices, ie mostly graphic stuff.

people have been using that old version without any performance issues for way more intensive games than this turd
it IS an optimization issue

yes let's see if we can make that 15 FPS into 5 FPS

you're offended and angry at a 4000-ish-line file? pretty much bikeshedding

you just suggested abandoning conditionals and loops, which means you want to crunch big lists of immutable (read: garbage collected) data every frame

>Let's have a thread about incompetent devs
I'm an incompetent dev because I can't decide what I want to make and I change my mind every 5 seconds. Right now I kinda want to make a bionicle fan game.

Attached: 1557065057637.webm (198x360, 2.76M)

maybe someone should profile it and point out what parts of his code are slow, then

in no world will recursive functions ever be able to do what loop constructs can at the same level of performance, even if you account for tail call optimization

let me rephrase, nobody in my *team* at work comments. Everyone else in the company does. It's supposed to be company guideline that every public method should follow javadoc conventions. Except ours.

It's just helpful to be able to hover over any method and have your IDE automatically show you all the information you need without having to go to the class and read all the code. You don't have to write a lot if the method is trivial. A simple "returns x or null" is sometimes enough. Just knowing instantly that a method can or cannot return null saves a little bit of time that you'd otherwise wasted reading code you haven't seen before.

Fucking hell, this. CPUs today are more than powerful enough to brute force through even the most archaic linear time code.

this but unironically
>updating games
>not making new one another X years till patreonbux runs out

>We won't be adding in all the pokemons so we can focus on higher quality animations
>It's still the same shitty animations on the same shitty models with a different light source

How can you be this incompetent and still sell millions of copies every year?

they do. he blocks them for being bullies and fired his professional programmer, then proceeded to mock him on a video

What’s so funny? I was just asking when Violated Heroine would be finished?

link to profiling results

If you don't use variables you don't need a garbage collector because you're not creating references, mutation makes code harder to debug and leads to errors.
I'm not saying you should be recursive, iterative is great, but maps and filters can do most of the stuff where people use for, and ifs just create different branches in the code, making it harder to test, and like I said, debug. It also creates additional lines of code which makes it harder to read.

I just started at 30. Its possible but hard.

nah you can fuck off
don't you have to prepare another yt video to maintain your patreonbucks? they won't last forever, especially if you offer paying 20k to buy moderator rights in subreddits

The compiler optimizes a lot of that stuff too.

>he fell for the "writing your own engine" meme
all that time wasted on your engine could have been used getting better at drawing, animating or 3D modeling.

>YandereDev was EvaXephon, the ugly kid who I literally posted on here next to like 12 years ago, all along
This was a twist I didn't see coming.

>>Developing game for 5 years
>>Still hasn't programmed a save feature
How is that even possible

What is about Unity that makes devs barely put any effort into optimizing their games?

Attached: 1560051023865.png (492x588, 159K)

>nah
thought so

What do you mean hard?

It's still only a week long demo, I think anyway. I can kind of see why it is a low priority.

No interest in art. I just want to code and make games.

Most devs think they can make a game by taking a 6 months course of programming.

i hope people are only doing this because yandev is a shithead. i would hate it if thousands of CS undergrads started shrieking and memeing at my code without actually having any relevant experience

Saike Mata Shitemo

They simply don't know how.

Saike Mata Shite mo

>A simple "returns x or null" is sometimes enough.
If your language has no way to indicate whether null references are accepted or not, I think this is fair. Same with when it's not immediately obvious what the exact possible outcomes of a method invocation are.
What irks me is when people (who I have the displeasure of working with) insist on writing overly obtuse, poorly named code and writing entire paragraphs worth of comments above explaining what the code is doing, when you could simply give the method and variables better names and actually use programming constructs that don't require you to spend multiple minutes trying to decipher what the code is doing.

>There are people who think making a game is all about programming when that's probably 15% of the game development

Lmaoing at you

Well that sucks, there's a VIDEO in video games

hes angry because the foundational design for the code is aids. It shouldn't be an if check every frame, that makes no sense.

In my experience, programmers love to criticize code way more than they like writing it. Even when someone gives you an example there will be another guy pointing out how to make it a bit better.

How long should the course or should I take? 12 months?

its hard. requires tons of discipline and self improvement.

How did stalker mess up saving?

Yeah, even inefficient code shouldn't be making this game chug at 15fps. What else is causing it? Lack of culling? Does he have have a lot of redundant polygons on otherwise simple objects?

>competing with all those koreans who grind art 10hours a day

>if teacher witnessed A, do X
>if teacher witnessed B, do X
>if teacher witnessed C, do X
>if teacher witnessed D, do X
how the fuck hasn't annyone else noticed this? and why are IFfags defending this piece of shit code?

it's not even about whether IF is optimal or not, he fucking botched it. he should have gone for
>if teacher witnessed A, B, C or D, do X
this would have also saved him from having to use these cringe inducing strings

why are map/filter in haskell so slow compared to iteration in c?

yeah so in other words your hypotheses that basically boils down to "too many ifs make the code slow" and "too many ifs make the game crash" are bullshit

Programmer can make a game on their own, everyone else needs to hire a programmer. Also most of the features the game has/will have depend on how can you program it, or adapt the feature to the code you're writing. You can think of games programatically, or you can just say "i want this to have dark souls combat lmao" and try to figure out what the fuck you can do. Remember the gameplay is 100% programming, the rest is just putting art here and there.

Maps and filters create different branches in code as well. Just because your static code analysis tools don't report them as affecting cyclomatic complexity doesn't mean they don't actually affect the possible branches your code can take.
Additionally, most languages that have functional programming constructs don't optimize them as well as iterative constructs (which is unfortunate). FP is great for many things, but not so much for games.

not that guy, but didn't everything around respawn after loading a save? or something like that

Yeah because it’s outputted on a video screen you fucking retard. Wow these rogue likes do need art wish I had listened and to that one cocksucker on that Burmese hut making forum.

how can they be optimized?

You don't have to be the best at art, just good enough to be indie 8bit pixel shit tier.

I would say because C compiles to assembly which makes a huge ton of optimizations in the way and is machine language, so it runs directly without anything in between. Most of whatever you write in C will be faster than other languages.

This is the target audience.

Attached: image.jpg (700x800, 63K)

How did you end up learning? Like what steps or books did read?

>he wants to make ascii """games"""
Now now, grandpa, it's time to take your medicine again...

How is saving hard when you can just save state?

>It shouldn't be an if check every frame, that makes no sense.
go and read some game source code. what do you think a game tick is? it's pure fucking control flow.

he claimed that it's a generated table. i'm sort of inclined to believe that because no one would write a bunch of strings encoding information like that. surely not.

i bet you think using switch cases would magically fix all the game's problems instead

>learning on your own
never gonna make it. you need to go to school to motivate your ass. without loans on your mind you'll never make the grind in time.

youtube.com/watch?v=JPjMXz7Srhs

absolute unit

>he fell for the wageslave meme and doesn't just mooch off his parents and be a useless hikineet piece of shit all day

What the fuck happened to Yea Forums?

I got a trade school/apprenticeship setup which allows me to focus on learning/working for many hours a day.
I barely make enough to live but after two years I will at least have something on paper.

learning on your own is hard but possible if you can motivate yourself. I like w3schools for the stuff I do.

I think the worst part about this is that Yandev has actually worked at a game company before. I shudder to imagine how awful his code was back then if the stuff usually posted in these threads is anything to go by.

What do you mean? Isn’t self learning better ?

he's running hundreds checks for all npcs in the game every single frame, there's nothing to profile here, it's fundamentally shit
>b-but me cs major and Yea Forums dropouts
take a closer look at op's screenshot

Surely he's doing the bare minimum which is to have a collider that activates NPCs to do their checks, so they're not running if they're not anywhere close to the player.

He is already pretty dead.

>w3schools
just fucking read the official documentation for whatever language or set of tools you are working with, w3schools is full of outdated, blatantly incorrect information

Attached: 1452162608196.png (861x990, 563K)

So he's basically a scam artist right? This game isn't ever getting done

Will he ever kill himsefl?

Attached: cat eat gun.jpg (1024x681, 95K)

the large-brained criticism is not that every NPC has a branch that you take objection to, it's that the player code isn't doing that branch instead. the player is the thing that initiates a conversation.

Despite memes, it's usually never too late to do anything really. You could even become a doctor if you really fucking wanted to even if you'd be pushing 50 by then, not like it matters. As long as you have a functional brain you can learn shit.

if you're part of the 1% geniuses, sure. If you're like 99% of the people, you'll need consequences to motivate you.

There's a world of difference in studying on your own terms for 2h and being like "my brain is a little bit tired, I'll stop for today and continue tomorrow" and actually having to work everyday and spend entire weekend nights learning and coding as fast as you can because if you don't you're gonna fail the semester.

maybe when the patreon well start to run dry in a few years, either that or he'll just sell the rights to the game to another studio/publisher

>none of this code makes sense
I agree, it's completely fucked up

I use documentations all the time but only when I want to look up specific stuff I want to do.
Many of them have absolutely terrible examples though.

w3schools keeps it simpler and gives it all some structure which I dont get from docs. it helped me a lot starting out.

I mean, there's a reason why universities are still a thing when all the information on virtually every subject possible is already available on the internet. People pay for the motivation factor (and also to have that little piece of paper that proves you are theoretically not completely incompetent in that specific field)

game isnt even out dumbass

>he'll just sell the rights to the game to another studio/publisher
This is what I expect, personally. Then he'll start some other meme project to keep enough dollerydoos in the patreon wagon to keep his plate full and his roof intact.

The nested if/else statements themselves aren't really the worst part, its dumb but its not what causes the game to barely work. The code itself has 0 logic to it, the entire thing is one giant update loop with no other functions, everything is hardcoded, he checks for the status of everything every single frame, etc. Basically its all made in the most inefficient way imaginable and also in the most "easy to fuck up with a typo or because you forgot to check for that one scenario" way possible.

Didn't one of the clones of this game alrady came out?

looks like it maps tokens (for use in a UI or savegame) to character appearance changes

Well, frankly, the value of experienced individuals with which to learn from is irreplaceable. You don't get that when you try to self-study your way to the top. Sometimes you just need guidance. Though, that's not to say that you CAN'T self-study your way to mastery, but being able to ask an already-master "yo the fuck is quantam entanglement and why are the implications of it so fucked up?" is vastly superior to just googling it and hoping for the best.

Didn't this guy admit he wasn't even a weeb and had no idea what a yandere was at first?

>the entire thing is one giant update loop with no other functions
welcome to game development

ye some chink made an android clone of the game in like 3 months and it's still more functional than anything yanderedev has made so far

why would it be? tutor/mentor systems exist for a reason. a student wont grasp the entire scope and wont have the understanding to correct fundamental problems early.
its obviously possible to learn on your own but its not the most efficient way no matter how you slice it.

Its true, before I got my basic job I could barely motivate myself to do shit, now I kinda have to because Im sitting in the office. The boss is OK with me being slow so there isnt too much pressure, but at the same time I actually do my shit
Granted, I think that my brain is essentially giving up after like 4-5 hours in a day so I'd prefer it if it was a bit shorter.

If there's one thing the industry isn't missing, it's shitty outdated code. Learning how it works is vital.

>1.2m views
>2.2m subscribers

youtube was a mistake

He's financially successful compared to most of Yea Forums

hello yandev your game sucks

>Learning how it works is vital
which is why you should not use w3schools and their outdated teachings. Assuming you're a webshit, MDN is a much better source

He's also depressed and lonely.

So the same as Yea Forums

"I build hype for a fake product, everyone invests in my company game and BAM! I'm a billionaire!"

How the fuck is he lonely? Doesn’t he and Yea Forums have any friends?

>he same as Yea Forums
But with money.

Quick, give me an idea for a game that I can keep in development hell for 5+ years while taking patreon money from retards/weebs/zoomers?
Hard mode: Not porn or furry related.

Attached: thinking.jpg (347x316, 11K)

>noooo he check da thing every frame
github.com/id-Software/Quake-III-Arena/blob/master/code/game/g_main.c

you can't fire anybody if you don't have a job

If you are depressed and lonely while having money it just means you want to be that way.

Oh he's posting in this thread, I can smell his smelly mouth.

Attached: airjuggle.png (824x540, 65K)

But is he more or less competent than game freak?

>Hard mode: Not porn or furry related.
So you don't want to make money, uh

FIRST
POST
BEST
POST

Zombie apocalypse with proceduarly generated survivors/waifus and lots of anime references.

Imagine seething this hard when you're already making bank.

Just don't read comments online.

make an anime themed battle royale game

Daycare simulator, you take care little boy/ girl and clear a set of task everyday.

yes game freak are incompetent because a "not a coder" guy said so

>Not porn
Not gonna happen.

retarded jews

Attached: fraud.png (626x453, 57K)

some underestimate the importance of a dedicated PR person or team

pokemon but you catch and train shortstacks

It's amazing to think GF still has drones like you even at this point.

Attached: 1556585748842.png (986x797, 869K)

>FPS: 15

Attached: 1501632520503.png (500x377, 192K)

you don't have to be a coder to see how shitty new pokeymans are basedboy

Youtuber Battle Royale 20XX

In this epic game of epic proportions, play as your favorite YouTuber heroes as you duke it out on an island, battle royale style! Will Pewds betray Markiplier or will they work together to put an end to Northernlion? Will Ethan make it before the circle shrinks? You decide!
Back our kickstarter before August 31st to gain the exclusive Vinny Vinesauce starter kit on release!

hey that probably used to be you
don't hate them for a stupid phase that every cs student gets

>4:47
>5:10
The worst part is he literally says as if quoting someone else "why aren't you doing it [better way]?" and proceeds to keep it as the shit way. He knows exactly what he's doing wrong and keeps doing it the shitty way.

>FPS: 15

Attached: L9MlEPw.jpg (807x659, 37K)

a discord simulator

>takes 2 hours to send you the login verification mail

>Stealth Game Freak thread
I'm picking up on it, OP.

i wish i was still riding the dunning-kruger crest. i was a lot more productive when i thought i knew better than 99% of programmers because it was all starting to "click".

>try to make a meme game despite not really knowing how to make a game and were previously reamed out by your personal idol for how bad you are
>literal years go by with minimal to no progress at all
>unironically spends more time making update videos where he rambles about nonsensical things than actually working on the game
>still has blind fanboys throwing money at him allowing him to coast more
>the free money and ego gets to his head and he starts getting more ballsy, doesn't even try to hide his laziness anymore and straight up streams on twitch just him playing other video games all day
>his blind fanboys all start to realize this and start to notice him streaming on twitch all day is inconsistent with his story he tells every update video about how he works all day every day on yandere and is breaking his back with hard work
>they stop throwing money at him and his well is drying up
Can't believe it took this long but finally it's happening.

Attached: 1313389411483.jpg (640x480, 53K)

Based.
I'm in EECS at Berkeley and the amount of code-monkey, Dunning-Kruger mongoloids in these threads makes me chuckle.

Learn to code, Yea Forums.

Reminder dunning-kruger is less of a curve and more of a roller-coaster.

There's already dozens of Gamefreak threads on /vp/, user.

>yandev thread
>ctrl+f "switch"
>underage codelet presence confirmed
EVERY TIME
V
E
R
Y TIME

Attached: 1538910153488.jpg (500x387, 45K)

It's still thousands of dollars.

based and codepilled. I literally work for google and I just if/else shit all the time, only people with autism get mad

If YanSim flops he can always go back to that Lunar Scythe game thing where he couldn't pick a fucking design for the main character.

Reminder
youtube.com/watch?v=b_6V-iSbMM0

It's sad because there are real problems with Eva's code, but the if/else spam is absolutely not it. It looks really stupid but that's all.

This is some high grade autism.

>thermo equations

Attached: naisu.jpg (467x413, 26K)

>I literally work for google
moot come back

Writing the same else/if statement over and over again when you could compress it down to a simple switch statement is not only time-efficient but also cleaner, making troubleshooting not shit.
>inb4 ur a zoooooomerrrr
Also comment your code, Yanfag.

Attached: h.png (231x272, 146K)

So is this game filled with all kinds of weird fetish shit like he wanted?

The "use a switch" brainlets are just mindlessly parroting what they've heard their favorite nodev drama-youtuber said in their videos.
If you look at and your solution has ANYTHING to do with swapping if-else statements for switch cases, just know that you're currently located at the summit of Mt. Stupid.

Attached: 1557100130654.png (576x471, 35K)

He just throws in whatever random shit he feels like while never turning it into an actual game.
Like you can sacrifice an NPC to perform a demonic ritual or some shit.

extremely failed code monkey. nested if's everyday

How does this man still have patrons when he's literally admitting to mooching.

Attached: mooching.png (251x641, 37K)

go home evaxephon

90% of coding is documentation. 90% of coders dont fucking bother. if you're code is a mess at least document the shit so i don't spend a month before deciding learning jap is easier than reading that shit

>xkcd
go back to tv tropes

>xkcd
You may as well have just namefagged yourself as "Reddit Tourist"

He's kind of right though, a switch just makes it easier to read, edit, and it saves time but that can't be the entire issue. This if/else is for a teacher so does that mean he has do the same for a student for example? Should he just make a switch statement for everyone like people are suggesting?

hi eilidh

This. Please, leave fucking notes. It's like my instructor said back in the day, "if you're gonna write in code, at least leave a cypher". Sometimes it's easier to rewrite whole fucking chunks of shit, which shouldn't be the case. But if you don't know how it works, you can't use it.

Didn't Eva hire some guy to completely rewrite his code?

Yandev's codebase is so impressively shitty, that it triggers the everloving Dunning Krüger effect in codelets, making them spew out impressively dumb solutions such as "use a switch case". This in turn gets the attention of individuals with an iq of 65 and up, who notice just how dumbs these fools sound.
Also, these kids will assume that you're either Eva or whatever other youtube eceleb they have in mind if you correct them.
It's all an amazing storm of autism, and the best threads on Yea Forums.

Attached: 1559125925770.jpg (640x853, 63K)

Yea but he fired him because he couldn'T release any new "content" updates until its fixed. I think the guy who was supposed to fix it told him he would need at least 3 months. Too long for yanderedev.

Worse. He signed on with a publisher who sent an actual programmer his way who he then fired because he kept rewriting eva's shit code. Him and the publisher stopped working together afterwards.

>want to make a shitty game
>0 coding skills
>usually try but its too hard to start
>gave up 3 times
>see yandere thread
>everyone goes into details about how shit his code is
>somehow Yea Forums helped me understand some basic concepts in coding and now I feel comfortable enough to get started

Thanks Yea Forums I still dont know dick about coding but I'm going to start looking into python or C++.
going to start with really simple projects then move up

Attached: 1555255954047.png (857x1200, 1.23M)

youtu.be/7uLzaKlZSQQ?t=260

required viewing

Proper refactoring will get rid of the entire if-else mess. It won't however involve a single switch-case, a few design patterns and proper usage of data structures and it'll be good to go. Sadly it is above most people ITT.

Attached: 1550161470819.jpg (600x600, 47K)

i don't think anyone new is going to be ensnared at this point. i just like getting occasional status reports on how utterly shit he is, which if anything will just remind what little support he has left to drop him

The guy only has an introductory understanding of how to program from taking community college courses. You can't actually expect him to know how to program an entire game like this.

Else:ifs are literally detrimental training wheels and I'm tired of you codelets saying otherwise so I will prove it OBJECTIVELY.
With a switch statement, any computing searches a hash list instantly for the correct one, while with else:if, it must parse each option until it reaches the correct one. Now if you don't have a lot of options, say, three, the difference is minuscule, almost zero. Thing is, YanDev doesn't have three options per scenario. He has TEN that we can see on It's basically the difference between scrolling through 100 files to find the right one vs just using a search bar. Tell me, which one is faster?

Attached: 4qymjrzz3y031.jpg (1077x607, 37K)

My advice is to stay away from Yea Forums coding shitposting and especially stay the fuck away from /dpg/

SICP is fine but it's main purpose isn't as much to teach as it is to gatekeep and filter people out of MIT, there are better introductory material like the dragon book.

C++ and Python aren't too good if you only want to code video games, too.

atleast that saved the sanity of that unlucky programmer.
is Eva's code too much voodoo or is it divine intellect?

If Terry's code is willed by God, Eva's is the heretic that would get some good old liberation via crusade.

>autistic codelet misses the point yet again
Why are you incapable of understanding that it's not a defense of Eva's monstrous if-else statements. We're laughing at you mongoloids for suggesting that he simply replaces his monstrosity with switch cases, since that would still end up as a fucking shitshow of a codebase.

Attached: 1555898794345.png (303x311, 178K)

It's not even that, looking at the strings they're combinations of individual attributes, so it's more like
>if teacher witnessed A and B do X(A,B)
>if teacher witnessed A and C do X(A,C)
Except "A and B" is encoded has a fucking string instead of some booleans "witnessedA/B".

Plenty of great mods are made by people with the passion to make something they can barely run

>(float) 6 isn't a constant
I don't know why, but this is the part that annoys me the most

Attached: 1536639714063.png (473x488, 192K)

Not every amateur is going to be the next Carmack, it's fine if it looks like shit, but the problem is that he is completely unequipped to deal with criticism or compromise. Eva is still dragging his lumber around on a sled when everyone's presenting the wheel to him because that's the way he "learned to do it."

>the dragon book
Oh fuck thanks user this is what I needed.

>spoiler
C# seems interesting too

3D is an instant red flag for any post

We all know that Eva's code is trash. Just understand that some of us are simply here to laugh at the stupid switch-case suggestions from people that don't understand WHY it's trash.

Attached: 1546333960091.gif (400x400, 667K)