Watch the stream here: piratesoftware... #Shorts #GameDev #Undertale
Пікірлер: 5 300
@thewindwakinghero742310 ай бұрын
Ah yes, UNDERTALE is being held together by determination and glue.
@GreatGamer2810 ай бұрын
Seeing this spaghetti code, it fills you with glu- I mean determination...
@Xenthetic10 ай бұрын
@@GreatGamer28glutermination
@GreatGamer2810 ай бұрын
@@Xenthetic that is an amalgamation
@loganb705910 ай бұрын
You mean DETERMINATION and glue
@0ccasional_j03510 ай бұрын
Undertale is made of metal and magic
@waffleswafflson307610 ай бұрын
Learned this from being a Dungeon Master. The real illusion isnt whats behind the curtain. Its the curtain itself.
@PirateSoftware10 ай бұрын
Absolutely!
@Skidoodle1810 ай бұрын
As a fellow DM, this is so true
@zackwelsh880110 ай бұрын
I feel the same about world building in writing. In a lot of ways its more important to imply that there's far more detail than you actually have
@thomaskamkar519710 ай бұрын
@@zackwelsh8801Absolutely, so many authors fall into over-explaining, which makes their world feel so much smaller. LOTR doesnt need the details of the Silmarillion around every campfire in order to be good
@vik.o159810 ай бұрын
@@zackwelsh8801yeah, mostly (imo) because it leaves you space to actually explore that implied complexity, thr writer basically turns itself into a journalist of a world that you are creating
@talleywa577210 ай бұрын
Programmers: "Why isn't this working?" Also programmers: "Why IS this working?"
@thepotatoportal6910 ай бұрын
You have a long shower and plan out exactly how your code should work, and then it fails, so you add random lines and it works flawlessly.
@andrewgreeb91610 ай бұрын
When a programmer writes code only the programmer and God know what it does, when the programmer finishes the code only God knows what it does.
@Catastropheshe10 ай бұрын
It should end on "Ooooh that's why"😂
@Dimi_K10 ай бұрын
must more code be shed?
@mrdaym10 ай бұрын
Have you ever intentionally tried to break your code, just to check a function, but then it doesn't break, even though it should? It's scary.
@jerethkhan6 ай бұрын
Undertale's text all being a switch case is because Toby was an Earthbound modder and Earthbound's underlining text code was also tons of switch case with other embedded game code.
@HeraldOfOpera5 ай бұрын
The fact that he wasn't the only one to do it doesn't make it stop being dumb.
@jerethkhan5 ай бұрын
@@HeraldOfOperaFor 65c816, doing it all in a switch case is super efficient and reduces storage, so super smart for SNES games. But I'm curious as to why you'd think it's dumb to do it in GML as opposed to attaching to individual events/objects; especially for localization ease.
@HeraldOfOpera5 ай бұрын
@@jerethkhan I don't actually know all that much about coding; my only clue was the context of being mentioned in the short we're commenting on.
@redactedandredactedaccesor72905 ай бұрын
@@HeraldOfOpera So you don't know what you are talking about thanks bye
@doctorthraxmc5 ай бұрын
@@redactedandredactedaccesor7290 roasted
@samuelsalvatore451110 ай бұрын
the fact that the game is so responsive to the player's actions in such a cathartic way, while at the same time being so terribly coded is amazing
@Woodledude10 ай бұрын
It doesn't take a programmer to do that, it just takes someone who cares about those little details enough to make them work SOMEHOW.
@neiabaraja804010 ай бұрын
@@WoodledudeTell that to my teacher who only let us use "&&" up until the finals.
@FilthyActs10 ай бұрын
Generally bad programming practices like hundreds of if statements in a row will be simplified by the compiler to have better runtimes
@hwstar941610 ай бұрын
that has nothing to do with the game really. It's just that computers are fast even if ur code is shit
@totally_not_a_bot10 ай бұрын
@@FilthyActsThis. Compilers assume whoever's coding kinda sucks at writing optimal code and so they optimize it for you.
@Jokerfaic10 ай бұрын
Okay, this is actually extremely encouraging.
@michaeldunkel158210 ай бұрын
I followed a lot of the earlier Dwarf Fortress development very closely and that's where I first made this realization. You can actually do a really bad, clumsy job and still make something great. Because you did it. The rare thing is actually doing it, it's putting in the hundreds, and then thousands, and then tens of thousands of hours even after it stops being fun. It's easy to sorta of imagine broad outlines of a super clean and tight project, but almost everyone (and I include myself) stops after couple dozen hours. It's not the skill, it's the tenacity and discipline that takes something from "great, but doesn't actually exist" to "sorta crummy, but... is an actual real thing!" And it helps that "sorta crummy" seems to be the actual default state of almost all code on the planet.
@darkninja53110 ай бұрын
You're filled with determination
@ontopofbottom10 ай бұрын
It shouldn't be. Nobody here is going to make the next undertale. Game standards have changed.
@skelswap10 ай бұрын
@@ontopofbottomloud incorrect buzzer
@ontopofbottom10 ай бұрын
@@skelswap prove me wrong. Make a great game that has the same 2015 quality that undertale has. Or even just name me a popular game in the last 3 years that took the same approach as undertale
@Caaaaaarl10 ай бұрын
"It just works" ~Todd Howard, 2015
@Albatross09139 ай бұрын
Best use of this I've ever seen
@cellohowslife58179 ай бұрын
“It just works” - Toby Fox 2015
@Caaaaaarl9 ай бұрын
@@cellohowslife5817 isnt it crazy that both launched their games the same year and the same quote can be used in completly different ways
@akira83939 ай бұрын
if you do it right, and you don't fuck it up. it works, it just works - jontron
@vinnyandlin85109 ай бұрын
But Carrrrllll how else will we get 16× the detail?
@Ranger87446 ай бұрын
"...Sets the value to zero and checks it again" I'm dying🤣🤣🤣🤣🤣🤣🤣🤣
@kaktusart05Ай бұрын
Mood
@trizedlyzaАй бұрын
Programmer understands molders/cheaters/trainers?
@jeanmuyuela8112Ай бұрын
It could be 2 programmers. The first sets the if statement then the 2nd wanted it to happen and just sets it to zero without reading the code lol
@kaktusart05Ай бұрын
@@jeanmuyuela8112 except. It is well known that that's not the case
@user-xh5hk4lz5y24 күн бұрын
@@Ranger8744 deja Vu
@EpicWolverine9 ай бұрын
I also like the story about how Toby couldn’t figure out why Undyne kept walking off the path, so he just had magic glass panels appear for her to walk on when this happened. The player doesn’t care if that wasn’t really intended if it makes sense in-universe.
@existenceispain_geekthesiren9 ай бұрын
And it's there for Susie and Ralsei (and assumedly Noelle) in Deltarune, too! He's said that he just decided if there's any clipping errors, it's just magic glass, don't worry.
@tanko.reactions1769 ай бұрын
@@existenceispain_geekthesirenthis is the the core philosophy of enterprise level development! its not a bug, its a feature!
@CZghost8 ай бұрын
This is a prime example of a bug turned into a feature. Great! :D
@NotGabe0018 ай бұрын
@@CZghost another example is the double cherry powerup from Super Mario 3D World. I think they were implementing multiplayer or something and ended up with two Marios controlled by one person and realized "hey, that's kinda cool, we should add that to the game"
@KOMISSARIAT7 ай бұрын
@@NotGabe001 When Team Fortress 2 was in development, there was a bug where some player characters would appear as the wrong team. So they though "what if there's a guy that can disguise as the enemy team?" and then created the Spy.
@vinnyandlin85109 ай бұрын
I remember hearing something about how Toby Fox wanted to have a completed genocide run delete the game from your computer but he didn't know how to program that
@kallixo9 ай бұрын
he did know but it triggered antiviruses
@vinnyandlin85109 ай бұрын
@@kallixo oh now that I didn't know
@walkerx18139 ай бұрын
@@kallixothen how did Doki Doki Literature Club do it?
@vappyreon11769 ай бұрын
@@walkerx1813it doesnt delete the game, just change some files around and make some text/pngs
@rasmachris949 ай бұрын
Doki Doki got the player do to it themselves. So it wouldnt be picked up as malware because there was nothing actively deleting files. Just the player choose to add it to the trashbin.@@walkerx1813
@zenreos344210 ай бұрын
Basically programmers: "If it works, It works" "Idk why it works, but it works"
@gen15710 ай бұрын
//if we touch this at all, it breaks, leave it alone -me
@evorathesylvurr10 ай бұрын
# this code does the thing I need it to please don’t remove it # idk what it does I stole it off stack overflow (or whatever the website is called)
@carboncopy418310 ай бұрын
@@gen157 valves programmers had a few cases of that.
@h13n1210 ай бұрын
reminds me of the coconut jpg that held together an entire game. it doesn't have to be good, it just have to work is the way i do my code.
@genericpotato950210 ай бұрын
@@h13n12good ol Tf2 spaghetti
@thomasdavis87223 ай бұрын
Had a classmate back in high school game programming class. She would use endless amounts of booleans in her code. We called her the boolean queen.
@Atom224Ай бұрын
@thomasdavis8722 Booleans are way more efficient than whole function calls, though. Soooo....
@thedamneddamsel851829 күн бұрын
i have no idea what a boolean is, but “boolean queen” is the most amazing thing i’ve ever heard 😂
@DenTRM26 күн бұрын
@@thedamneddamsel8518 boolean is "true or false" input
@thedamneddamsel851825 күн бұрын
@@DenTRM thank you! ☺️
@LARAUJO_012 күн бұрын
Did anyone in the class know about bitsets and enums? If so, I think she would've enjoyed those
@frank99669 ай бұрын
As long as your horrific code doesn’t ruin preformance for a game: your code can be the most Eldritch Horror ever
@Simboiss8 ай бұрын
Unless, and until, someone else has to work on it.
@limyarplane19917 ай бұрын
yea this kind of stuff is perfectly fine for small indie games that don't take a ton of resources in the first place and don't really need optimization but it is completely unacceptable when triple a game's come out with optimization so terrible that it cant run on top of the line system's at a reliable fps.
@AndrewFanton7 ай бұрын
Good code is also important for maintenance. Games like Undertale are a once-and-done kind of affair so messy code is fine, but if you’re making something you expect to last (like a multiplayer online game), keeping it up and running is going to be much easier if you keep the code clean.
@Pherim_7 ай бұрын
@@limyarplane1991Tell that to Nintendo
@meltygear59557 ай бұрын
And even if it does the customers will say "just upgrade ur PC bro what are u poor lmao" and brag about tanking your subpar performance.
@nicholasbutler393411 ай бұрын
That's both motivational (as someone who wants to make games) and horrifying (as someone who plays undertale)
@Silverado-pq6xe10 ай бұрын
Plays? Its a linear story-based game how are you continually playing it
@ponchopi10 ай бұрын
@@Silverado-pq6xethere’s multiple endings bro
@Silverado-pq6xe10 ай бұрын
@@ponchopi yes. how many times do you want to get the same endings before it gets repetitive?
@sweetsnowyowl828310 ай бұрын
Same here. Im in the same boat XD
@sweetsnowyowl828310 ай бұрын
@@Silverado-pq6xe I've played Undertale 9 times now and will keep playing
@SuperbFairy9 ай бұрын
Knowing that one day, the mouse might finish its 10,000 lines of terrible code for one room, it fills you with determination
@Abyss85644 ай бұрын
Imma go out on a limb and say… Annoying Dog* I’m sorry I had to
@lagg1e4 ай бұрын
The best thing is, Undertale only has 1 room. Different graphics are loaded each time, different actors are put into it, different triggers are activated, but as far as the game ic concerned every room is the same. It's where 10000 lines of dialogue are stored in the if else statement.
@Abyss85644 ай бұрын
@@lagg1e you’re fricking kidding.
@Agnopes4 ай бұрын
@@lagg1e I wonder how much of the spaghetti is the weird hidden Fun Value.
@Polyergussy7 ай бұрын
People who looked at yandere simulator code wouldn't argue, because they wouldn't know where to start
@LaughingOrange2 ай бұрын
Let's start with the toothbrush asset with 3x the polygons of the rest of the game. That way we don't need to look at that unintentionally obfuscated code.
@crowleeisonfire2 ай бұрын
As a videogames mayor (double mayor with animation) and someone who has been coding for like... Holly shit 10 years- yandere Sim wouldn't be better, not even in performance, by having better code. Yes it's atrocious, and that will absolutely be a problem if someone else ever tries to change/edit/etc the code, but from what I've seen it's not bad enough by itself for performance issues.its the topology, the 3d models have SO MANY triangles and thers so many models and animations playing at the same time, a 3d game needs way more consideration of performance than a 2d one. I've never seen a 2d game having performance issues no matter how badly its coded or the amount of assets (at least not in the last 10 years)
@da7032 ай бұрын
@@crowleeisonfireThe only case of a 2D game running bad I’ve ever found is TBOI, which lags a little (for me) when a lot of brimstone lasers are fired, after which the game runs *too* well and everything is very fast
@cutemess64292 ай бұрын
@@crowleeisonfire I just want to say please never fix that typo. You are now Mayor of Vidogames Town
@Fargoleafy2 ай бұрын
@@cutemess6429 I don't remember voting for him
@Xenomnipotent10 ай бұрын
Bro dropped the most motivational speech for aspiring game developers and thought we wouldn’t notice
@TheGobou7710 ай бұрын
tbh, i'm a dev, but my flaw is laziness. curently making a game on godot, of i wasn't lazy it would be half finished, but it's 1% or less finished.
@dimitrijekrstic756710 ай бұрын
@@TheGobou77how are you a dev if you aren't dev-ing?
@Disconnected6610 ай бұрын
do you still consider yourself employed in between projects or on weekends or like do you think you quit and get rehired after you take a few sick days after a weekend @@dimitrijekrstic7567
@TheGobou7710 ай бұрын
@@dimitrijekrstic7567 i went in university to be a dev. though i'm unemployed T.T
@mattshu10 ай бұрын
Yeah I honestly feel really inspired now because I’m always worried about my work being picked apart
@planetnydro10 ай бұрын
As a programmer, I really want to take a peek behind that curtain. The fact it works is both mildly impressive and horrifying
@kneesnap104110 ай бұрын
UndertaleModTool can let you take that peek
@existenceispain_geekthesiren10 ай бұрын
oh HELLO vee
@existenceispain_geekthesiren10 ай бұрын
take a wild guess what fandom I was in before I joined the Deltarune fandom. Not saying I ever left it
@mosley348510 ай бұрын
It only works because of how absurdly simplistic the game is by modern standards. Even the simplest 3D game would crash and burn if it was fueled by the same spaghetti nightmare.
@kosmosXcannon10 ай бұрын
@@mosley3485 explains why Yandere Dev hasn't released his game yet. Doesn't help that last I heard the scope keeps increasing, making the issue worse.
@Cooperink10 ай бұрын
You look at the coding for Undertale - It fills you with determination
@isakferm767410 ай бұрын
ill fill u up with determination
@sandwich-plays10 ай бұрын
@@isakferm7674ayyo
@Brad-ey6cz10 ай бұрын
I'll also fill you up with determination
@upsidedown-pug197410 ай бұрын
it fills you with fear
@CSEabdulalimkhan10 ай бұрын
I just take 10d20 magic damage
@hhill54892 ай бұрын
I love the mentality of "let the compiler sort it out." Sometimes it just works
@megamage91110 ай бұрын
All I gathered from this is that YanDev doesn't even have the excuse of being a bad programmer.
@bigshrekhorner10 ай бұрын
There are more problems with Yandev Undertale is quite simple, just a 2D game, which means that you can get away with some amount of bad code. On the other hand, 3D is significantly more expensive. Lack of knowledge of programming and how 3D works will surely be a recipe for a bad bad experience
@wintonnguyen10 ай бұрын
Issue is that there’s a difference between bad programming and bad game design. Undertale became one of the first “metagames” where they outed you for your choices and gave you accountability for your actions. Add in good characters, a nice soundtrack, and a pleasant pixel aesthetic and you have a good game design. Yandere sim is flawed to its core, being able to assassinate anyone so long as you had a fan (Exploit where anyone could be killed by coming in contact with a one-time use fan vent).
@jakcesleepingrn573910 ай бұрын
@@wintonnguyenbtw yanderedev's code still sucks even from the eyes of a non-programmer. then you start to realize why game runs at 12 fps maximum.
@SaHaRaSquad10 ай бұрын
YanDev is a bad and inexpierenced programmer who doesn't know it. The Undertale dev probably knew what tradeoffs were being made and had a plan and appropriately limited scope.
@groerhahn22510 ай бұрын
@@wintonnguyen "Undertale became one of the first 'metagames' where they outed you for your choices and gave you accountability for your actions." Uhhh...No? That has always been a thing. Fallout New Vegas comes to mind of course, but a lot of old classics in the RPG genre take your actions into account and make you accountable for them, to a far greater extend than Undertale does. Undertale progressed metagaming, yeah, but even metagaming has always been a thing. There's "Off", there is "Spec Ops: The Line", there is this one famous scene from "Batman: Arkham Asylum". "The Stanley Parable" is a thing. And there are "Lisa: The painful" and "One Shot" which were developed around the same time as Undertale and check similar boxes. Undertale is an amazing game. I love it and think it's nothing short of a stroke of genius. It gives you much to think about the relation between player and the game and how players interact with the content of games, and no game did it quite like Undertale before. But it didn't reinvent the wheel.
@schnoz237210 ай бұрын
So basically boils down to "Dont need to be smart to work hard."
@jankbunky427910 ай бұрын
Moreso, you don't need to be good at everything to still make a great product/experience. Toby Fox isn't a great programmer, so he made a 2D game in Game Maker. He could focus entirely on flexing the skills he *does* have, in game design, visual design, composing and writing.
@DingleFlop10 ай бұрын
@@jankbunky4279 ESPECIALLY writing... god damn... for the right person, at the right point in their lives, the story is a powerful emotional experience that is the emotional equivalent of having Mike Tyson in his prime, beating the shit out of your feelings.
@jankbunky427910 ай бұрын
@@DingleFlop as someone who played the game when I was like 15, I agree. Game changed my whole dang life it did.
@oban605110 ай бұрын
I learned a similar idea when I dropped out of college and enlisted.
@thewhitefalcon853910 ай бұрын
A lot of smart programming ends up making the job harder anyway.
@upsidedown-pug197410 ай бұрын
oh so that's why Papyrus loves spaghetti so much
@YeprilesteR10 ай бұрын
HAh
@kap7910 ай бұрын
Haha that's good.
@enchantedgoldenapple329010 ай бұрын
for those who don't understand this is a refrence to spaghetti code
@BluMndy10 ай бұрын
@@enchantedgoldenapple3290I never understood the term “spaghetti code”
@enchantedgoldenapple329010 ай бұрын
@@BluMndy spagehtti is is long and all over the place, like spagehtti code
@Wildcat127 ай бұрын
The fact that he use a Switch Case already puts him leagues above yandere dev
@LARAUJO_012 күн бұрын
The fact he knows it's a thing? Yes. How he uses it? Not so much considering the other example of bad code in this short is something that sounds perfect for a switch case
@QuoBoat8 ай бұрын
The real reason Toby didn't want people digging in the files, lol
@codetaku8 ай бұрын
Uh... but Toby absolutely wanted people digging in the files lol, digging in the files is the only way you can find two very deliberate easter eggs
@theencolony55957 ай бұрын
@@codetaku originally he didn't actually want people revealing things from datamining, he even wrote out a letter in the code asking people to not post it online. It was only after people did it anyways that he accepted the challenge
@dutch245 ай бұрын
@@theencolony5595 That was because he wanted everyone to have a fresh experience without spoilers.
@user-lh7mt7zo7l4 ай бұрын
@@dutch24 lmao it's funny because you can't find a single lets play that wasn't spoiled and forced onto the pacifist route. Children ruined the intended experience.
@user-lh7mt7zo7l3 ай бұрын
@z794hfbw8I Really? Where? When I checked most people were pushed onto pacifist route by their chat pretty hard.
@evilleprichaun709610 ай бұрын
"the player doesn't care and the player would never know, thats it, go make games" oddly inspiring lol
@CenturyBlade7 ай бұрын
Legit, it doesn’t necessarily have to be “good”, it just has to work.
@KeselekPintu10 ай бұрын
The power of "IF Statements" shines upon Toby, and filled him with determination.
@Pickled_Poet8 ай бұрын
As someone that knows just the very basics, I probably would also use a million if statements to put together my game
@KeselekPintu7 ай бұрын
@@Pickled_Poet Well, you heard him, gamers doesn't care about the code.. 😂
@Bealzabub5 ай бұрын
This advice reminds me so much of my time doing theater and how much I've slowly realized that storytelling is just being careful about what the audience sees and how they perceive it
@Arixandrine10 ай бұрын
I swear every programmer I've ever met has said some variation of "i fuck around with it until it works"
@joesr3110 ай бұрын
Not a programmer but this applies to so many things I do in my life. Sometimes I'm amaze how I even got to where I am being absolutely clueless
@grumboflipflorp568810 ай бұрын
Programming is 60% thinking about coding, 20% actually coding, and another 20% getting the damn thing to work
@simonnguyen69210 ай бұрын
@@joesr31yeah the more you fuck around, the more you gonna find out
@KartonRealista210 ай бұрын
@@grumboflipflorp5688 That last part is like 60% in my case. * "Oops, the input data was bad" * "Formatting mistake, all of my constants are 10x bigger" * "I just needed to wrap this stupid button in a mouse_area widget, but I couldn't figure it out, because the documentation sucks and examples don't cover my specific use case. Who would've thought right clicking is something people would want to implement functionality for?" * "I was accidentally overwriting the variable passed into the function, for like 5 hours, not knowing why this piece of shit simulation goes off the rails"
@andrek692010 ай бұрын
As a farm worker... yeah thats how you do it here too lol.
@AristophMarloque10 ай бұрын
Reminds me of my high school "programming" class. It was the first year being offered and was very primitive. So half the class quickly outpaced the lesson plans, and the teacher knew it. The final exam was writing a program in Basic to play either Yahtzee or Poker. As a bit of a troll, I decided to ignore all best practices and built a program that could play BOTH, with ASCII text displays for cards and dice, formed entirely from brute-force nested IF/THEN/ELSE statements. He gave me an A+ with his only comment being "It pisses me off that this works."
@idkxd683710 ай бұрын
On another episode on things that didnt happen
@asterisk454010 ай бұрын
@@idkxd6837we live in a world where giraffes exist and you spend your time constantly doubting that interesting things happen in life
@naumen650810 ай бұрын
@idkxd6837 nothing ever happens, amirite.
@linhero79710 ай бұрын
@@idkxd6837 I've seen weirder happen. A lot of programming classes are extremely basic stuff that's covered in the first chapter or two of any real programming handbook for a language. So anyone who's quick on the uptake find ways to entertain themselves, if they care to. I did the same thing in an afterschool afterschool class about coding. Though it was a different game and I didn't use all If statements.
@thepotatoportal6910 ай бұрын
@@idkxd6837 It's more fun to allow this person the benefit of the doubt and say that it did. In some cases, it can be dangerous to assume that someone is telling the truth, but in others, the inverse is true.
@jellybelly867210 ай бұрын
To be fair, Undertale is also made by Toby Fox, who seems to be the most motivated living thing to ever exist. The guy had a fever dream back in college about a game ending he NEEDED to make, then started storyboarding an entire game around said ending, drew up characters and concepts, and created Undertale *AS A PROOF OF CONCEPT FOR DELTARUNE.* Dude made one of the best games in rpg history and it isn’t even the main thing he was going for.
@spaceengineeringempire408610 ай бұрын
Ya and also he made lore and even a lot of great music. Hell because of his music and game clout he became a very famous artist. That is world renowned.
@robin670910 ай бұрын
i wouldnt go that far but ok
@existenceispain_geekthesiren10 ай бұрын
wait undertale was a proof of concept? I thought it was just a "prequel". as in, not a direct prequel, but just. a game you played before to make the new one make more sense (Deltarune).
@jellybelly867210 ай бұрын
@@existenceispain_geekthesiren undertale was sort of a proof of concept, I may have exaggerated a little. But it’s definitely not meant to be a relatively super ambitious work and is meant to be a sort of proto-deltarune.
@augustdeer10 ай бұрын
@@existenceispain_geekthesiren "Proof of concept" may not be the exact right wording, but he made Undertale solely because he realized Deltarune would be too ambitious as a first game and he needed to try something smaller first. It wasn't intended as a big project, just a simpler execution of some of the ideas he planed for Deltarune.
@user-gv6wq7tb9l2 ай бұрын
when undertale said hopes and dreams it referred to the games code
@unbearifiedbear188510 ай бұрын
This just makes the fact that Undertale is _so_ good at messing with the player, all the more incredible
@RadicalGaming100010 ай бұрын
From a player perspective, I still enjoyed the game even after hearing this. From a programming perspective, I am horrified.
@Minecraftrok99910 ай бұрын
What's bad about having a massive switch case function for the dialogue?😂
@amasirat10 ай бұрын
@@Minecraftrok999it's highly inefficient because if you want to change any dialogue or I don't know maybe decide to translate them, you'll have to swift through ALL of the code to find them. It doesn't scale basically.
@Zipperheaddttl10 ай бұрын
@@amasiratit scaled to a whole game. (I'm not saying it's the best. But it did work.)
@amasirat10 ай бұрын
@@Zipperheaddttl yeah it works sure, never said it doesn't work. I mentioned a possible problem with this aproach as a computer Engineering student. I also meant scale as in working with others, for example translators which Toby also did work for the ports, the code may have been changed in some way. Usually what works isn't the best. Programmers strive for the best not because we're some egotistical people trying to be better or whatever, it's just to avoid further headaches down the line. That is what I meant as scale. you should make sure your code is designed in such a way that you can minimize complications and bugs down the line because either way your code is going to become complicated the bigger it gets, even if it's the most efficient. However if it is clean, you can manage it somehow.
@Zipperheaddttl10 ай бұрын
@@amasirat As a professional game dev code monkey, every time someone says the word "clean" I cringe internally. Would I do a few thousand case switch for all the dialogue in the game? honestly, maybe. Depending on how complex the dialogue is. Its low indent, everything is in one file, you can search through everything with a control f, everything works the same way. And anyone coming in understands what's going on. because its a switch statement with strings in it. If I start breaking that down into lot of files and start hiding the implementation of the code through some random "API" that I made up, now its actually way harder for someone coming in to understand what is going on. It "looks" messy, but ifs and switches are things that everyone understands. Abstraction is often necessary but it always makes your code more complex and harder to understand. Abstraction is not a good thing, its a necessary evil.
@rubenbohorquez567310 ай бұрын
Well now that's another way Undertale has made me cry, the mere thought of that gargantuan switch statement is making me shiver lmao
@user_of_the_name10 ай бұрын
Now imagine if it was an if else statement. Terrifying.
@Argonwolfproject10 ай бұрын
Dude didn't even index into a string array. The kid's certainly got moxie.
@VJK10210 ай бұрын
I can barely picture it, but the biggest question is... WHY?! He tried to make the game in a single class?!
@Nazgarn10 ай бұрын
@@VJK102why not? 😂
@VJK10210 ай бұрын
@@Nazgarn 1.code readability 2.code optimization
@birdinhand_7 ай бұрын
Undertale is like that one employee that left 20 years ago but you still see their terribly outdated code everywhere
@bonnietelocole677710 ай бұрын
The fact that the best game I know of is being held together by little more than scotch tape fills me with determination
@CowboyRodeo9 ай бұрын
You need to learn some games
@bonnietelocole67779 ай бұрын
@@CowboyRodeo I don't need to, at least not right now, my poor computer can barely handle the Minecraft mods I have 😭
@armaansingh74529 ай бұрын
@@bonnietelocole6777 Then try some good classics. They'll be easy to run. Super Mario Galaxy 1 & 2, Torneko the Last Hope, Homeland for Gamecube, Shadow of the Colossus, VVVVVV, Fancy Pants world 3, World of Goo, Knightmare Tower, etc. There's a bunch of stuff just waiting out there for you to come around to them. Give em' a try. Maybe don't. No need to take my suggestions to heart anyways.
@Nokotron9 ай бұрын
@@CowboyRodeo Sometimes a good game isn’t about it being a technical masterpiece, but just being able to tell a story that your heart clings on to. I’m sure you may know that, but I thought that it should be said
@bonnietelocole67779 ай бұрын
@@Nokotron that's exactly why I called it the best! The story fascinates me, especially with how it responds to resets, replays, and the never-ending curiosity of humans seeking all alternatives at all costs!
@benjaf105810 ай бұрын
It doesn’t have to be perfect, it just has to work
@PirateSoftware10 ай бұрын
Yep!
@xxlarrytfvwxx953110 ай бұрын
@@PirateSoftwareAs longas it runs >2spf (seconds per frame) during normal gameplay.
@crayonicles10 ай бұрын
Just don't emulate Yandere dev
@nimoph10 ай бұрын
@@xxlarrytfvwxx9531Yandere Dev would disagree Then he cries and masturbates to minors
@Karlyr_10 ай бұрын
@@xxlarrytfvwxx9531more than 2 seconds per frame (3 seconds would be much worse) ? I think your sign is flipped there ^.^'
@thomaswilkerson271110 ай бұрын
The fact that something as good and beautiful as Undertale is written so terribly is oddly inspiring
@asdfghyter10 ай бұрын
**it fills you with determination**
@CreativityNull10 ай бұрын
@@asdfghyter damn, you beat me to it.
@TexZeTech10 ай бұрын
#ART
@asdfghyter10 ай бұрын
@@TwistedFireX that goes without saying, so it was left implicit
@Merilirem10 ай бұрын
@@TwistedFireX The point was about coding. If you can't do ANYTHING well then yeah, maybe you can't make a good game. At least have some inspired thoughts.
@BigNBrother7 ай бұрын
You know, It has been really nice coming across your videos. All the advice is uplifting and your humor always makes us laugh. Thank you.
@ryuudjinn17619 ай бұрын
Undertale is literally the quarterback of the college team that patches up homework from a bunch of his classmates so he could get a 2.5 gpa to play football that weekend
@shotgunner7777 ай бұрын
Kuwabara studying his ass off to barely pass but is denied by the evil teacher in Yu Yu Hakusho
@AlexisLestrange5 ай бұрын
This, but actually the 2.5 GPA was just so they could get on their dream team to continue playing football.
@Tangeryeen9 ай бұрын
This guy speaks like a father and is so encouraging. "Go make games" 🥺
@diamondmetal306210 ай бұрын
“The user would never know” is what is getting me through my CS courses
@Rapid98k6 ай бұрын
Ive been telling myself this since my intro courses. It helps, a lot.
@Emerald293 ай бұрын
If I remember correctly, even Undertale had really bad spaghetti code, but Toby is actually a dedicated and non narcissistic dude that it allowed him to actually finish the damn game without making stupid ass excuses just to procrastinate
@Snakebloke10 ай бұрын
I feel like this guy has been a diamond we've all missed until now.
@fireballferret814610 ай бұрын
I've known him for a few years and yes you have ^.^ Go watch his livestreams 🧡
@nurgle-j5n9 ай бұрын
more like he's paid to have his content pushed to promote the game he's making. but you know what? I still like him.
@sockatoo_10 ай бұрын
bro just appeared on my feed outta thin air and motivated me to make a game when i have zero interest in learning the basics of programming
@h3lblad310 ай бұрын
Next year, Github is dropping the Github Copilot. It checks over code for you, provides a checklist of fixes, and then performs the fixes for you automatically with your permission. It will have never been easier to program something than it will be next year when a ton of stuff can just be totally automated away. But, and I want to make this very clear, no matter how well it can check your work, it won't matter unless you learn the basics yourself. Consider throwing some time into it.
@Mac_Omegaly10 ай бұрын
Start small, slowly build your understanding, ask the community when you get stuck. Level 1 project: •Love Tester: make a program that is text based, that asks for two names, and some questions, where the answers are all numbers. Make up a silly algorithm to process those numbers, and present the resulting Love percentage at the end. Optional: add sound effects and other modes to test. Make the results of your love test match up 100% with the person you like, but not work as well for other people arbatrarly lol. Great way to flirt and show off your programing skills. XD Level 2 •Digital Clock display: Ask the program to give you the current time, then extract the individual digits from that value. Then using the Square ⬜ text box, draw the number on the screen using a sub script adjusting the placement of the result by the digit location. Reduce the speed of the program to check the current time, to the displayed time every 10 frames. (Roughly 3 times a second). Optional: create a background color display based on the Red Green Blue values of color depending on the hour minutes and seconds. Level 3: Rock Paper Cheater!? Make a simple game, like rock paper scissors. And develop your first CPU AI player (using a bunch of If statements using the player's last two inputs. Don't actually let the program cheat, just pretend it dose.) Logically the victim will try to use a pattern, using all three choices to win, as there are only three options, you can program the game to figure that out. (As long as you figure it out). Then you can learn based on how you programed the AI to always win just using two of the options. (The AI will look for the pattern but you'll be one step behind by only using two of the available options. It's hilarious and evil to show off your "unbeatable" AI.)
@yepyep389710 ай бұрын
Comments like yours always crack me up.
@gian2kk10 ай бұрын
@@Mac_Omegalyliterally no one asked
@jarl-10 ай бұрын
Better book mark this for when the impostor syndrome kicks in next
@PirateSoftware10 ай бұрын
You got this, dude!
@jankbunky427910 ай бұрын
Very smart! Good luck with whatever you're making.
@Inaktha10 ай бұрын
I'm doing the same. Good luck!
@thalamusDecimation10 ай бұрын
these vultures from the past
@jazzyj783410 ай бұрын
Oh you too?
@D3NPC3 ай бұрын
This is my favorite short from this channel
@Rab1dGAMER10 ай бұрын
As someone that did speedruns of Undertale in the past, I can confirm that it's gloriously badly coded, the punch card breaks the entire game, allowing you to wrong warp and straight up skip dialogue and boss fights.
@LiamLimeLarm10 ай бұрын
yeah and in chapter 2 of deltarune you can skip half of the chapter by attempting to buy 400 donuts
@smutnejajo514910 ай бұрын
@@LiamLimeLarm lol what
@gabrote4210 ай бұрын
@@smutnejajo5149Which is a specific option, btw. Want a video title?
@CreativityNull10 ай бұрын
It's good enough in that nothing horribly breaks of you do everything as intended and there's nothing that leaves you feeling like you have to do something that wasn't intended. Overall the design is good, but yeah it's definitely all held together by popsicle sticks and happy thoughts. If you press the wrong button it all comes crashing down. MANY games are like this.
@arctic88710 ай бұрын
@@LiamLimeLarmwait chapter 2... HOLY FCK I FORGOT CHAPTER GOT OUT SO LONG AGO I HAVENT PLAYED IT AAAAHHHH
@dragonicdoom37729 ай бұрын
I once spent 2 hours trying to fix my script only to realise I had just missed a single decimal point
@jasonhenson79487 ай бұрын
I don't do HTML, but I was adding a very simple table to a couple of hundred pages. Just a few rows (couple of spans) of five columns and having an absolute nightmare of it. Had forgotten the middle tag.
@LordRyno6 ай бұрын
Real
@LeQuack1475 ай бұрын
I broke an entire sort function by bypassing the core loop with a semi-colon. It happens.
@GameHammerCG3 ай бұрын
To be fair, that’s part of programming. If coding software had achievements, this would be the one we all eventually get.
@neko610 ай бұрын
Good coding practices are critical when you work with others on the same code, it's hardly important when you're a team of one
@archmagusofevil10 ай бұрын
Good coding practices are very important when you are a team of one, because you still have to work with future you who's going to have to figure out what your spaghetti code does.
@Destron568310 ай бұрын
Yeah as someone that’s tried to revisit freshman projects, that isn’t true lol. I’ve had to decipher my own shit like it was alien glyphs or something because my early stuff was so bad and I kinda had that same attitude, well it’s just me so who cares, and because of that I didn’t comment shit because I naively thought I’d just know what’s going on because I wrote it.
@Hornswroggle10 ай бұрын
it can get important when it becomes a project between "you" and "past you" 😋
@Schilani10 ай бұрын
@@Destron5683 To be fair, I kinda doubt Toby just took two years off and then looked a the code again. When you work on the same thing every day, you have a much easier time looking through the spaghetti. And also becoming completely blind to the fact that it is in fact spaghetti.
@dalmnationtwitch793110 ай бұрын
Spoken like a horrible programmer
@TellurdogIsayhi11 күн бұрын
Dude, I love your videos. I’m not smart enough to understand some of them, but the way you describe things is just incredible.
@Krystalchan200910 ай бұрын
i feel like Undertale and Yandare Sim sit effectively in the same skill bracket of coding difficulty, but one is lawful good and the other chaotic evil
@TheAlien2175510 ай бұрын
See the main difference there though is graphical intensity or something like that. Undertale is fine to be running all those poorly put together if statements and what not because the graphics and sprites are not intensive and its an RPG with minimal real time logic outside of combat, meaning it's not much effort for the system to run, leaving room for it to handle running through those inefficient statements. Yan Sim though is a 3d model game with tons of moving characters and logic requirements for them, background graphics, etc. That's already a lot for a system to handle, if you start adding in poorly optimized code, things churn to a halt.
@gigabit622610 ай бұрын
I think toby fox is probably a bit better
@gen15710 ай бұрын
@@TheAlien21755 There was a code leak for Yansim some years ago. It was just ifelse for thousands of lines for just the clothing options on yandere-chan. I don't even want to imagine how everything else looks just because of how poorly it plays.
@loki770110 ай бұрын
@@gen157trust me, the rest of the code is no better. It’s a treasure trove of what not to do.
@Blewlongmun10 ай бұрын
It’s how the devs handled their games as well. Yan-dev wanted to be a game-dev, Toby just wanted to make his game. One desperately wants to be a programmer the other just wanted to make something cool.
@luisrosado376810 ай бұрын
This was exactly the wake up call I needed today for my dream to make games, thank you
@jinyboi10 ай бұрын
Did you finish making your game yet?
@nagi296010 ай бұрын
Are we there yet?
@kronickruesader10 ай бұрын
Make a hentai vr game, we need more
@cynicalia2 ай бұрын
did you do it
@envionavalkirye541810 ай бұрын
Moral of the story: If it looks stupid, but works... then it isn't stupid.
@an_wobbly10 ай бұрын
Well, it's stupid and works. Doesn't have to be mutually exclusive.
@redorchidee13710 ай бұрын
except when you're working on something that you actually wanna keep developing and expanding as time goes on. there absolutely are stupid ways to program a game, that will waste everyone's time and money. the sentiment is decent i suppose, but it's just not true in most cases, the thing he's saying. you need to know what you're doing if you wanna do anything that's more complex than purely text-based stuff
@LaSerpentDEden10 ай бұрын
@@redorchidee137naaaah, Minecraft exists. The programmer who coded bunnies into Minecraft said that when he met Notch for the first time after having worked there for a few months. The first thing he said to him was "sorry about the code. I just wanted it to work" LOL. Very good games that have been expanded upon by MANY different programmers have been built on very shitty code.
@envionavalkirye541810 ай бұрын
@redorchidee1372 No. I think you missed the point. What he's say is "Just do it." Too many newbies get caught up on doing everything the perfect way, from the get go and end up making things harder than they need to be. Just do it. Get better as you do it.
@redorchidee13710 ай бұрын
@@envionavalkirye5418 think before you do it, after learning at least some basic good practices for coding, is what I would say. If you just hop in you're gonna end up hitting the wall and only end up frustrated. Don't start with a game, start with basic console apps, and work your way up from there. Get comfortable working in an IDE
@GuilhermeHCardozoАй бұрын
Other programmers: "why is THIS WORKING!?" Me, an intelectual: "It's filled with DETERMINATION"
@BitsofJoshua9 ай бұрын
Years of solo game dev imposter syndrome and then I hear this video and it all feels okay now. Thank you. Your channel is really wonderful
@xyphold10 ай бұрын
Being an amazing programmer is actually a hindrance, you will never finish the game because you're too obsessed with making it optimal.
@kokujin544610 ай бұрын
True, so true
@innerbytes10 ай бұрын
True :)
@kryperdev10 ай бұрын
Keep code clear, make tools not features and keep it modular. Might seem like lot of work at the start but will pay ten fold in long run when hitting content creation phase of development. If making a gun make it so it can fire any type of bullet, at any pattern, at any fire rate with any type of mag size. Same with bullets. Suddenly all you do is making art for assets and tweaking values with maybe odd script here and there to add lets say homing.
@nettleflap252910 ай бұрын
So, this is true but also false, true if you have another level above amazing in your book, false if amazing=best/pro. Because actual pro programmers also optimize their process by taking shortcuts and writing direct code where necessary, because lifetime spent is also a resource to optimize. They would usually be the ones to warn the "amazing" programmers to only optimize if there's a need.
@TheMunch9710 ай бұрын
That’s why I’m a terrible programmer, build shit fast and let someone else find the problems in code review 😎
@Spartan-ol7xk8 ай бұрын
Damn that tone at "Go make games!" literally just hit me in more ways then I have time to explain. But this short just echoed with me! Thanks for the motivation moment!
@reaperenzeru21654 ай бұрын
Thors voice fills you with Determination.
@ghastlyanarchy172016 сағат бұрын
The player is just filled with determination
@MrFanservice10 ай бұрын
ah yes, the good ol' "If-Then Avalanche". one of if not the thing to carry me through HIGHSCHOOL PROGRAMMING😂
@Argonwolfproject10 ай бұрын
It's not bad coding, it's just uh... unorthodox application of decision trees!
@MrFanservice10 ай бұрын
@@Argonwolfproject it's not bad coding if it works😂
@anthonyjensen552410 ай бұрын
As a music producer, same theory applies. You can go to school for decades learning how to make a perfect mix, but at the end of the day, the average listener won't notice. Its the heart and soul that counts.
@diabolicjackel89059 ай бұрын
As an ex cook, same thing. Guys with 5 years in cooking school would come in and get dish after dish returned. But some fat greasy guy who didn't finish highschool is constantly requested by tables. Because he cooks for people, not books.
@Bahtou19 ай бұрын
LOOK AT THIS PHOTOGRAPH
@coolishcrane87 ай бұрын
@@Bahtou1The best example for photographers we may see.
@EmberTheFolf10 ай бұрын
A fun fact about this is that toby fox actually wanted to code the game to delete itself after chara slashes the screen and reveals 9s across the board, but, if you check yhe game's code, theres about 5-10 failed detection strings, that was SUPPOSED to be coded to find the directory of undertale, and delete that folder, but he just COULDNT make it work correctly, Small edit: this is actually the first time any of my comments reached 2K likes (to my knowledge), so i dont wanna be that girl, but i do want to thank you all for the likes, this'll be my only "like edit".
@Leekodot1510 ай бұрын
Personally, I'd kill it via uninstaller, but that'd be its own oddity
@Axius2710 ай бұрын
It's probably a good thing he didn't succeed, that's technically a virus and would get his game flagged as malicious software (even if it was self inflicted) Inscryption has a mechanic where you choose your favourite file and wager it against the game, where if you lose, it's deleted forever. If the file does die, you'll find that it still actually exists, and there's a text file in the directory, containing a note from the devs that Steam threatened to ban them if they kept that feature, so deletion is running on the honour system. You lost, be a good sport and delete your file please.
@danemr680810 ай бұрын
@@Axius27ddlc deletes itself when the game is done and it was on steam.
@hatad32110 ай бұрын
@@danemr6808DDLC doesn't actually, if you remove the "firstrun" file you can play again. It acts like it deleted it own files but it's just a neat trick.
@pairot0110 ай бұрын
@@Axius27inscryption calling fir the honour system? The same game that pulled 8 grizzly bears out of nowhere because I'm good at TCGs? That's rich.
@ian627310 күн бұрын
That switch statement sounds like a nightmare to debug
@trenthulkinberry752610 ай бұрын
Undertale talking about hope and dreams and determination is fittingly all that is holding it together.
@Yung.Ert.10 ай бұрын
As a coder in college turned finance guy, this is the hardest I’ve laughed in a long time. I can’t even imagine seeing this code, it sounds like a hellscape.
@ngoway98088 ай бұрын
As a coder in college who has just taken basic CS, this fills me with determination
@Yung.Ert.8 ай бұрын
@@ngoway9808 you got this homie. Stand strong and good luck.
@NeoMusicGamer9 ай бұрын
Man I've been seriously down at school comparing myself to all the things the other students have been making, and this has been the single best motivational thing to hear in a long while.
@kissgergo52025 ай бұрын
0:14 "and then it's sets the value to 0 and checks it again" that cracked me up good 🤣
@user-kz7dy1tg3r10 ай бұрын
As someone who’s working on a game myself, damn. Something like this would actually kill me if it was in my game.
@solitaryenjoyer41110 ай бұрын
How?
@JohnSmith-ox3gy10 ай бұрын
@@solitaryenjoyer411 Because it's the very simplest and crudest kind of programming. Imagine any other kind of professional working with the crudest tools and techniques. A doctor with only vitamins, a 3D designer with Play-Doh, a cheff with potatoes; salt and pepper, roofer with tatch or a boat engineer with planks and nails.
@Beriririi10 ай бұрын
@@solitaryenjoyer411It's basically like being a seasoned chef and burning a fucking hard boiled egg. It's embarrassing and quite sad
@Bubble-Foam10 ай бұрын
@@Beriririi I mean, not at all lmao It’s like being a seasoned chef who messed up the sauce part way through, but still balanced everything else well enough to compensate and make a good dish. The “embarrassing and quite sad” comment just has a weird condescending tone to it
@dealloc10 ай бұрын
@@JohnSmith-ox3gy What matters is the end result. If a 3D designer with play-doh can create something that looks better than what you could do in a 3D program, then I'd argue that they did a better job with the tools they had. Do you also care about what tools and techniques were used to build the instruments that a musician used for your favourite music? I wouldn't compare it to a doctor, or industrial engineering, though.
@Alkis0510 ай бұрын
Lets be real, the game is not programmatically complex. It's main value is on the back of the writers and game design.
@dumbwhale404310 ай бұрын
It's still pretty funny the way he's explaining it. As some that has that surface level of programming it makes me laugh
@DrBrangar10 ай бұрын
It is still absolutely ridiculous that the dialog system is just a switch statement for every line.
@SwagitXD10 ай бұрын
@@DrBrangarwhy is it ridiculous? Dialogue systems are a very small portion of a game's runtime. Undertale is not very demanding in terms or rendering, and CPUs are fast and compilers are good at optimizing where simulation code doesn't matter in the majority of cases compared to render code.
@DuxGalt10 ай бұрын
as a shit programmer. I can say, I have built things that have impressed people. But when they see how, they feel all gross inside. but if it works it works. Performance is a concern, but you cant measure performance unless it works.
@DrBrangar10 ай бұрын
@@SwagitXD There are much better structures you could build is why it is ridiculous. More readable, more changable, more efficient, etc.
@maruftim10 ай бұрын
until your game becomes a powerpoint presentation...
@Blackpeel10 ай бұрын
Magic the Noah's doing pretty well with it
@SaHaRaSquad10 ай бұрын
Fun fact: someone built an entire Turing machine simulator in PowerPoint to prove that PP is Turing complete. The presentation is on YT and absolutely hilarious. Oh, also the winning entry of a local game jam once was a game built in Excel. With table cells as pixels.
@maruftim10 ай бұрын
@@SaHaRaSquadoh thats interesting, thanks for the info, gonna look it up
@Aiello_10 ай бұрын
Let's be honest, that's the AAA standard at this point
@DarienDragonFox6 ай бұрын
"Go make games" is a poweehouse of a statment
@real_ouss10 ай бұрын
I have been working as a "professional" full time developer for 7+ years and this, this is what I am trying to reignite in me. I miss the times when I just made stuff and didn't worry about all the minor details that do not add to the final user's experience.
@ahleenah10 ай бұрын
I remember from coding class in uni that we were mostly taught how to make things _as short as possible_ now how to make things _work_ because you can make anything work with the most basic statements and a lot of tenacity.
@atagen218610 ай бұрын
more like you should aim for readability in code and conciseness in abstraction. as short as possible leads to the dark path of ken iverson
@gigitrix10 ай бұрын
You're taught how to express what you want to do in a way that others have the least work to do to understand it, much like when you learn a human language you don't just learn the syntax and structure, you learn the conventions and how real people speak to each other.
@OG_SayMoreHomie10 ай бұрын
Yandere Dev has this clip playing on a loop.
@mathieul430310 ай бұрын
Sigh
@andylovec84032 ай бұрын
Every day I watch your shorts on youtube, I feel more and more inclined to actually try to make a game.
@freshlymemed568010 ай бұрын
The magic of programming is that if it works, no one even cares about it and treats it as if its practically invisible. But the second it doesn't, its under the spotlight front and center.
@Press1010 ай бұрын
This guy has an amazing voice
@dennyle2610 ай бұрын
I thought he sounded like markiplier
@linhlopbaya10 ай бұрын
he can make a career out of his voice.
@Cidiuss10 ай бұрын
his voice is good but good mic and EQ setup works wonders. Source: my nasal, weak and unintelligible voice sounded like a warm pillow with cutting under 100Hz, a lil boost at 250Hz, cutting the nasal 1-2KHz and adding a high shelf around 10KHz.
@nundulan10 ай бұрын
@@Cidiussand it probably still didn't sound as smooth as his voice lol
@ozi-g-be10 ай бұрын
I was looking for this
@GraeyPhilosophy8 ай бұрын
You have no idea how badly I needed to hear this today - thank you. Subscribed.
@nahomdaniel80276 ай бұрын
The more I watch your shorts the more I want to start making a game.😅
@tiagobordin658010 ай бұрын
I was so sad and feeling a crappy programmer for struggling to learn to much webdev concepts, this video made me happy again and gave me some new hope!
@cthulhuspawn629010 ай бұрын
-fires up Khan academy- Alright, let's get started.
@Loxu698 ай бұрын
As someone who was an undertale speedrunner in the early days it’s literally spaghetti. The worst example was the JP release, the inputs were terrible you would drop so many inputs mashing through dialogue, or doing anything. To fix it you only needed to change 1 line of code, the speedrunning community directly told tobyfox about it and it was never fixed. It’s why the majority of people still run the game in English despite JP being faster (for a time, new tricks were discovered and English is faster again IIRC) This part is at the end because I’m not 100% sure I’m remembering correctly but the JP update of undertale was broken because it was just the PS4 version… on every system.
@jonathanrussell6525Ай бұрын
Instructions unclear, changed one line of code and now Asriel has his soul back
@PovertyBench2 ай бұрын
As an Indy game dev fan, I’ve noticed the many of the best indie games come not from programmers, but artists and storytellers.
@valerie_42010 ай бұрын
“Go make games” kind of shook me
@groyperfuhr487110 ай бұрын
give Alice 3D a shot if you don't know where to start
@christopherbaummann76610 ай бұрын
Undertale showed us that simplicity is more important than complexity
@Malhaloc10 ай бұрын
Not only that, but it's one of the most beloved games ever made.
@SUBZER0GREEN9 ай бұрын
Truly a hood classic
@existenceispain_geekthesiren9 ай бұрын
I've never even PLAYED Undertale and I love it. Deltarune, however, I have played, because it's free, and lemme tell you. there's only two sevenths of the game out yet and STILL it manages to fuck so hard it's my favorite game of all time.
@Eirik_Bloodaxe6 ай бұрын
The definition of “if it works, it works.”
@calmor1008 ай бұрын
I laughed harder at this than many comedians I've watched lately, imagining this epic switch statement.
@mrtoast24410 ай бұрын
You look at the code of the game... you feel... something... It fills you with DETERMINATION
@TheKaratejesus10 ай бұрын
The giga switch case LMFAO. That warms my heart to hear as a not-so-great programmer 😂
@PirateSoftware10 ай бұрын
Switch/Case statements are awesome for some things. They turn into jumps in the compiler and are wicked fast.
@j0kerclash28910 ай бұрын
@@PirateSoftware Why is it bad for Toby to use a switch/case statement like he did?
@Penguinmanereikel10 ай бұрын
@@j0kerclash289like, you'd put stuff like that into an external file and then pull dialogue from that file, not have every freaking line of dialogue literally in the source code!!!
@GlitchedRed10 ай бұрын
@@j0kerclash289It isn't. Coding (especially games) is a mix of best common practice, if it works it works, and documenting your work so you (and anyone else you're working with) knows what everything does. The way Toby used a Switch/Case statement isn't the problem (especially for a low intensity game like Undertale), it's just that there's better/more coworker friendly ways of handling text dialog than making a Switch/Case Statement that's the entire script of the game. Combing through something that long for an error would not be fun.
@j0kerclash28910 ай бұрын
@@GlitchedRed to be fair, you can use #region and #endregion to split it up into appropriate sections to make it easier to check through, though i'm not sure if that was something you can do in GMS1
@SpaceDr00zeАй бұрын
Hunter S Thompson said "Getting away with it is the important part".
@MysterySteve10 ай бұрын
I imagine this is pretty directly reassuring for game devs, but it's metaphorically also pretty reassuring, just apply it to your art form of choice
@gramfero10 ай бұрын
"Your target audience won't care about that's going on behind the curtain" - best game programming advice tbh
@mosley348510 ай бұрын
Unless the complete and utter disregard for optimisation causes performance issues because your game isn't the simplest 2D game imaginable.
@gramfero10 ай бұрын
@@mosley3485 audience won't care about the code as long as the game runs well
@andrewgreeb91610 ай бұрын
Assuming the game actually runs and isn't lagging to death, optimization is required for more ambitious projects, that includes triple A devs
@redorchidee13710 ай бұрын
yeah but the rest of the dev team most certainly will. try pulling something like this in any self-respecting gamedev company
@gramfero10 ай бұрын
@@redorchidee137 dev team is very much not the target audience of most games
@prophetoftru7h10 ай бұрын
That switch case is a felony crime
@JarikMorningstar6 ай бұрын
You know Thor had at least one great influence as a child because he channels that every time he encourages us!
@samundef350010 ай бұрын
It’s important to remember the Undertale was essentially just Toby’s proof of concept. Toby basically just made it to see if he could actually make his own game. Deltarune is what he wanted to make all along.
@turnkey_hole10 ай бұрын
As with all things like that, Deltarune will never escape Undertale's shadow 😂
@iantaakalla818010 ай бұрын
To be fair, Deltarune is luckily just as memorable. It is in the shadow of Undertale, but it also grows alongside Undertale and contributes to the silhouette such that when you talk about Undertale, you must talk about Deltarune, and it helps that Undertale is Deltarune’s tech demo.
@emiliomarquez216310 ай бұрын
This fills you with determination
@CptDuck10 ай бұрын
Junior Programmer: IF ELSE Senior Programmer: WHEN
@Much_Ado7 ай бұрын
nested while statements be like
@uMONTYu7 ай бұрын
Why does this make me cry? I'm so green when it comes to game dev. But seeing this.....I'm emotionally hopeful