USE COMPOSITION trust me.

  Рет қаралды 118,377

Nesi

Nesi

Күн бұрын

Пікірлер: 429
@betatester03
@betatester03 2 ай бұрын
I'm not pointing this out to be pedantic, I promise, but what you've called a behavior tree is a hierarchical state machine. A behavior tree is a fundamentally very different approach to a logic control structure. The ONLY reason I point this out is because you have an audience of new developers and this could cause a lot of confusion over time as this misunderstanding propagates outward and with state machines and behavior trees both being fundamental approaches to game AI. Similar to the way Roblox kids call incremental/idle games "simulators", which are something else entirely, or how so many younger people say "literally" when they mean "figuratively". It creates a communication barrier between two generations that makes it more difficult for lessons to be passed down. New devs have to fight through a lot of confusion and endure a lot of frustration in their journey to becoming intermediate devs and these kinds of misunderstandings can make the harder parts of the learning curve even harder. The misnomer aside, you did an excellent job of communicating some useful concepts that are usually hard earned through experience and that's very difficult to do well. I sincerely hope you keep making content like this because you're an excellent communicator and we really don't have enough of those in the world.
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
@betatester03 Yeah I know I put it in the description of the video that I mixed those up. I was looking for a different name to call the nodes and I called it a "Behaviour Tree" and it stuck I had no idea my bad. I made the correction in the description
@NoTimeLeft_
@NoTimeLeft_ 2 ай бұрын
Not a new developer but a thankful one. I've encountered my fair share of incomplete or confusing tutorials developing my game (vids under channel). I appreciate the effort to help the community !
@ince55ant
@ince55ant 2 ай бұрын
just to play off you're pedantry, the word "literally" has been used to mean "figuratively" for basically as long as the word has recorded use, so lets not blame the kids for this one. the video lays out the logic behind what has been made so really the only problem that can arise is a viewer using the term "behaviour tree" to some 3rd person whom either corrects the viewer or misunderstands what they're talking about. which really isnt that big of a deal (i mean if they're actually in a serious production situation, then it would be corrected by someone senior)
@diadetediotedio6918
@diadetediotedio6918 2 ай бұрын
They can be structurally equivalent tho, it just depends on how you implement the states of the hierarchical state machine.
@Hellbending
@Hellbending 2 ай бұрын
Massive respect for the way you voiced your opinion in a thoughtful, constructive and still courteous way- god I wish more people spoke with respect like this. ❤ Also mad respect to the channel owner for acknowledging and responding in a reasonable manner too ❤
@Hysorix
@Hysorix 2 ай бұрын
This coding style is one I've gradually moved towards over time. I didn't realize it until watching this. I always thought I was using inheritance, but it turns out I was employing a hybrid approach. I use this method when writing full-stack programs, and it has saved me so much trouble because it's easier to swap out modules and functions without breaking everything.
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
@@Hysorix I actually spent some time with functional programming and just gravitated towards other styles of coding
@xlerb2286
@xlerb2286 Ай бұрын
Some of the best advice I've ever heard was "Favor composition over inheritance". In 30+ years of software development there have been very few times when I've found non-trivial inheritance to be of use. But I'm constantly finding composition to be useful.
@erasercs
@erasercs 2 ай бұрын
Whatching that video feels like sitting at some jazz cafe in a noir detective movie
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
Because of the music choice?
@AloisMahdal
@AloisMahdal 2 ай бұрын
@@NesiAwesomeness Music, but also the way you speak, the overall mood. It's really relaxing.. :)
@JustSteve85
@JustSteve85 2 ай бұрын
I really appreciate your explanation, Nesi. This is exactly why I dropped modding ArmA 3 and decided to just make my own damn game with Godot. Everything custom in A3's config scripting inherits from base classes at the top of the game asset inheritance tree, which results in having to redefine or add unnecessary lines to turn off certain features to each custom class, while the original class is still technically the overriding class, meaning to add new stuff you have to inherit from the base class all of its code, and if you want to change anything in your custom class at the bottom you usually have to hunt down and modify lines that pertain to what you want to change. In this example of a state machine, you can not only pick and choose what to inherit from but you're not stuck with pre-packaged components you might not even use. It's just smarter and more efficient to work with.
@XionicalXionical
@XionicalXionical 2 ай бұрын
As an OOP pilled dev, the randomize function seems like an oversight in the first place. That sort of manipulation of variables upon creation of the object would be better done in the constructor method. You can have as many constructors with different method signatures as you want. Usually, for this sort of operation, you would have a blank constructor, say, titan(). This would initialize the object, and you could use it to set values randomly. Then you would have another constructor, say, titan(String name, int hp, int speed) and set the in scope variables using those values. There would be no need for creating subclasses.
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
@@XionicalXionical it was a crude example, it's an excuse to just use Titans to explain because I thought it would be interesting. They're better examples, some issues I've come across were from a similar situation of something I predefined conflicting with something else I want to now inherit from. If you've never run into issue then that's amazing because like I said OOP is great they're just some cases. I'd also highly recommend trying Composition. I've found it easier, that's my personal preference
@TheOnlyGhxst
@TheOnlyGhxst 2 ай бұрын
I personally think OOP has no place in game programming, and a purely functional style is much more suitable.
@christianbrenner984
@christianbrenner984 2 ай бұрын
@@TheOnlyGhxst Is there any game engine that supports purely functional programming?
@lunarthicclipse8219
@lunarthicclipse8219 2 ай бұрын
Purely functional is sadly horrible for performance. It's good for most event driven logic, but NEVER in a game loop​@TheOnlyGhxst
@TheOnlyGhxst
@TheOnlyGhxst 2 ай бұрын
@@lunarthicclipse8219 There are ways to optimize it quite heavily. If I remember correctly I believe the Jak and Daxter games were made with a custom in house engine that was purely functional and made with Lisp.
@joemama-j8b
@joemama-j8b 2 ай бұрын
The problem with inheritance is not necessarily itself, but the fact that people use it in places that they are not supposed to. It is a principle like any other in software development/computer science, and like any other principle, you need to think about if, and how you should implement it. Its common use probably stems from the fact that it gets taught the earliest in university/courses, and alternatives are taught either later or not at all. A different way to mitigate the problems that you referenced is the decorator pattern, but I would not recommend it, since it can get overly complicated quick, especially if there is a lot of divergence between the classes that exist. I am currently not involved in any projects that would need OOP principles, but if I find myself in a situation like that in the future, I will give it a try. I enjoyed the video, good job. The editing is really good.
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
Definitely, the point of the video was never to tell people to abandon it just to be careful and in some cases prefer composition
@TuberTugger
@TuberTugger 2 ай бұрын
The problem with inheritance is it's not visible. Nothing warns you that the class you're editing is a child. Only if it's a parent and only one level deep. Composition flattens the inheritance tree and makes code intention very transparent. The video's example of composition wasn't correct. Composition shouldn't have multiple levels. It's all at the top.
@Wyvernnnn
@Wyvernnnn Ай бұрын
The problem with the infinite flaming laser 3d printer is not the 99.99% injury rate, it’s that 99.99% of the people shouldn't be using it. It's that simple!
@WhyDidItDo
@WhyDidItDo 2 ай бұрын
Good video structure. I can tell you that you're a lot easier to understand than other channels I've watched on KZbin and the reason why that is, is because when you are about to explain something you take short breaks before explaining everything and even when you do explain everything you also are taking short breaks in-between each chunk of information to let the viewers mind catch up with the information you're saying. I would say that in the future try to think of doing this more often because it really helps the viewer (me) and also, I can say that it makes you stand out as a content creator as well. Keep up the hard work Nesi. 🙏
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
@@WhyDidItDo thank you, that was exactly what I was going for. It was something I decided one when I came back to watch my own video. I just felt like there were too many points where I had to actually pause. It's nice to know I made the right call, I will definitely continue
@HakanBacon
@HakanBacon 2 ай бұрын
Thank you for sharing your ways. It is really helpful to see how people manage their structures, and yours seem not only organised, but functional
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
Glad it was helpful!
@pinglebon770
@pinglebon770 2 ай бұрын
Hey congrats on tackling that tech debt. It always surprises me that no matter how long I've been coding I always accumulate tech debt like this and have to go back to refactor it.
@davidsolair7879
@davidsolair7879 Ай бұрын
Loved this video. I've seen other explanations of behavior trees and state machines for game development that seemed to overcomplicate the communication between nodes. This was a great video!❤
@divy1211
@divy1211 2 ай бұрын
Some time ago, I read a reddit post which explained this extremely well (sadly I can't find the link, so I have to paraphrase) and it said that inheritance is basically composition but with extra features: 1. compose the supertype in the subtype, 2. automatically delegate properties and methods to the composed instance (syntax sugar: instead of having to do x.y.z you get to do x.z), 3. Make all subtype instances valid instances of the supertype from the perspective of the type checker. Interestingly, not only does inheritance often mislead new OOP programmers into the problem you described, the 3rd feature, formally called subtype polymorphism, makes a program harder to type check too in certain cases.
@anon_y_mousse
@anon_y_mousse 2 ай бұрын
This is probably the best explanation and comparison of the two I've seen yet. All of only one thing is never good, but instead you mix and match them. And sometimes, as you show here, neither inheritance nor composition are the best choice and thus you go to a state machine, or in other cases some different construct, where that is most appropriate.
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
Yep, the magic is in the combination
@blackandwhite7402
@blackandwhite7402 4 күн бұрын
Nice, I actually didn't see it coming to use behaviour trees in the plane and the camera ✌️ I learned something new
@TuberTugger
@TuberTugger 2 ай бұрын
Composition isn't just having a list of things on an object. Composition is inheriting multiple interfaces instead of one baseClass. So instead of Enemy : Entity. You have Enemy : ICanJump, ICanWalk, IDamagable, IHasInventory And each of those interfaces handles the default logic. Then later when you want to damage an object, you don't check if it's an Enemy, you check if it's an IsDamagable and call the object's TakeDamage method. Now anything can be IDamagable. Destructible environments, the ground, the player. It doesn't matter what, because all it's promising is that it takes damage. The code's intention is super transparent and easy to maintain. When people say use Composition over Inheritance, they mean direct inheritance. Not inheriting in general. Composition is still a type of inheritance. You just inherit components instead of one root class. If you're not using interfaces, you're not really using composition. Just Lists. Every baseClass you consider creating, instead break it down into many interfaces each responsible for a singular thought.
@edattacks
@edattacks 2 ай бұрын
mmmm, okay that clicks. Good stuff
@TricoliciSerghei
@TricoliciSerghei 2 ай бұрын
How can you describe logic in an interface? Can you have default implementations in an interface in C# now?
@chylex
@chylex Ай бұрын
Interface inheritance to define an object's components has way too many disadvantages. - You need a new class for every combination of components. - You can't dynamically change which components an object has. - You can't have multiple components of the same interface type on one object. - You need the language to support default interface implementations. - Interfaces can't hold data, so any data a component needs has its fields duplicated across all classes that implement it, and accessed through public interface methods which are inadvertently exposed to anyone with a reference to your object. A simple list of components doesn't have these problems.
@DestopLine
@DestopLine Ай бұрын
@@TricoliciSerghei Yes
@schnitzel_city
@schnitzel_city Ай бұрын
This is incorrect. What you are describing is interface inheritance. It is different from true composition in the sense that composition is about coupling existing components. Interfaces are not components.
@Iridium.
@Iridium. Ай бұрын
Glad I’m on the right track . I name them “actions” and are basically containerized behaviors. I got priorities setup as well as additive capability which I can either have the next action be the current behaviour or an addition to the current .
@Wyvernnnn
@Wyvernnnn Ай бұрын
Message busses are dicey to debug, they turn straightforward bugs ("loop -> npcs -> ai -> lookForEnemy -> stealthSpot -> segfault) into hard to debug asynchronous call chains (loop -> npc -> messageRead -> segFault) that require you to have good observability and look through logs to understand unreliably who wrote what and why things got buggy. If I make a message bus now, what I do is add a "synchronous mode" where each Publication into the bus immediately follows with a function call to wake up each and every subscriber to that call. It keeps the call stack in a single monolith which is great! And it will shine a light on unwanted infinite loops
@blendedphoenix
@blendedphoenix 2 ай бұрын
This is what includes/mixins/interface Which basically is a feature set that can be added to a class, that then from that point forward I herits naturally but isn't bound or part of the hierarchy. It's the wings problem in the animal tree
@ImperiumLibertas
@ImperiumLibertas 2 ай бұрын
The pattern when combining the singleton and observer patterns to manage state is called a reactive store or observable store.
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
@@ImperiumLibertas I've learnt more from these comments than the research I did for this video 😂
@ImperiumLibertas
@ImperiumLibertas 2 ай бұрын
@@NesiAwesomeness the best way to learn is by building and teaching. Great video, your explanation of -behavor trees- hierarchical state machines was great.
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
@@ImperiumLibertas I'm never going to love this down 😂 I didn't know you could cross out words on KZbin
@Noober666
@Noober666 2 ай бұрын
Really enjoy your style of editing, keep up the grind 👍
@mgan59
@mgan59 2 ай бұрын
Loved the video especially the end product with the attached debugger to see state displays on the entities
@nkacey2000
@nkacey2000 2 ай бұрын
love these educational / devlog style of a vids
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
I'll make more of these
@theraven1232
@theraven1232 12 күн бұрын
As a Haskell truther, you're on the right track. Just wait till you get into the insanity category theory offers. Problem is applying it to the main game engines, unless you're building your own engine it's hard to squeeze efficiency out of monadic composition, you're always gonna be beholden to OOP to some degree. The Scala-esque mixed approach will always be the best you can get away with in most cases.
@skaruts
@skaruts 2 ай бұрын
Just one thing, though: composition is actually OOP (and should not be confused with ECS). It's just a different way of doing OOP. A long time ago, in the golden days of Flash games, all the tutorials were hyping OOP, but they all advised people to use "composition over inheritance". But then.... everybody used inheritance. :) There's an interesting talk by Bob Nystrom about roguelikes where he shows the benefits of OO composition too.
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
Thanks so much for the clarification. I've learnt so much from these comments.
@JamesKelly89
@JamesKelly89 Ай бұрын
I'm an experienced software engineer and what you've created is called an HFSM: Hierarchical Finite State Machine. When you say behavior tree, especially in the context of game dev, it usually refers to a form of AI that's similar to an HFSM but is more specialized and centric around execution over time. There are lots of videos and information on it.
@sharifcorbic5026
@sharifcorbic5026 Ай бұрын
Composition is great sure but I'm not sure this is the best example. I feel the randomize function should never be in the class. This example should probably use a factory instead
@Kinos141
@Kinos141 Ай бұрын
Behavior trees are NOT state machines. They are decision trees that flows down to leaf nodes based on parameters, mostly booleans and enums, to make a choice at a specific time under specific conditions. It can quite robust. The difference between this and state machines is that a state machine needs enter and exit condition to switch between states. A behavior tree reruns from top to bottom, re-evaluating the it's conditions.
@patrickshepherd1341
@patrickshepherd1341 2 ай бұрын
My biggest issue with inheritance is that it always makes sense when you're doing it. Like, if i start writing a program from literal scratch, and i make a bunch of simple struct-like things, then eventually I'll see what they all have in common and make a base class. Then you build more and you need base classes for your base classes. Then again, and again, and again, and by the end of it i have an impenetrable layer cake a mile high of class hierarchy. AND to top it all off, i usually don't remember which base classes did what specifically, which bloats debugging time
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
Exactly, or you just need a work around all the time. It feels like a bandage to the over arching problem
@patrickshepherd1341
@patrickshepherd1341 2 ай бұрын
@NesiAwesomeness lemme ask your opinion on something if you don't mind. I just found your channel and I've been binging lol. Okay, so I never took a compilers or programming language class, but I always wanted to learn them, so I followed this tutorial on KZbin to get all the basic pieces built and see how it works. Now I'm done with the tutorial and I'm able to start building from it quite a bit. I've already built support for a map type, and interchangeable static and dynamic typing, and a few other easy things. Here's the question. I'm about to start implementing structs, and I want to try to strike the right balance between customization and conciseness. I'm thinking about designing structs to be just general collections of objects to begin with, and functions will be typical functions as well. Like, not methods per se. But I want to be able to add a statement in the definition of a struct that will let me attach a function to it by telling the struct how it needs to handle itself with respect to the inputs and outputs of that function. Example at bottom. What I'm going for is a mix and match approach for structs and functions, but I've never done this before so I don't know if I'm effectively just creating traditional classes at the end of the day. Any thoughts? Example: I have a function add(a, b) that returns a+b. Then I have a struct called Person that has a string property called "name". Whenever I call add with a Person as one of the arguments, I want that Person to feed in its 'name' property instead of its whole self, so I add a line in the definition like this: struct Person { name = 'some name' ... .add
@patrickshepherd1341
@patrickshepherd1341 2 ай бұрын
K turns out this is already a thing. But hell, I'm not complaining! I didn't even know it was a thing, so apparently what I thought was a good idea actually was! That's kinda cool to know.
@ryan-skeldon
@ryan-skeldon Ай бұрын
Spend more time in the design stage before writing code. You'll have fewer surprises.
@patrickshepherd1341
@patrickshepherd1341 Ай бұрын
@@ryan-skeldon I agree with you in the cases where the entire functionality of the program is known beforehand. If you're trying to solve a problem that isn't already solved, the usefulness of design hits a hard ceiling pretty fast.
@sindiinbonnienclyde
@sindiinbonnienclyde 2 ай бұрын
Composition is incredibly powerful. I wrote my own set of systems using composition, ecs, state machines and archetypes. This has given me amazing versitility in writing my engine, adding to it and not even remotely worrying aboit spaghetti hierarchies, multi inheritance and many other issues that i found with oop (oop is still great) I feel that systems that find objects of certain types/composition in the project and add functionality 8s incredibly powerful. Imagine a ball, apple and wheel. They all have very different properties but all roll. Add a roll to them all and let the roll system do the rest. Just a simple example tbf.
@Nik-dz1yc
@Nik-dz1yc 2 ай бұрын
Very good video that got recommended to me exactly when I needed it since im about to run into the same issues
@skeleton_craftGaming
@skeleton_craftGaming 2 ай бұрын
In the game engine I'm designing, I'm using a single level of inheritance event bus system by that I mean I have a base entity class of which there is a vector entities which it loops through and calls the perspective function depending on what type of event it is. [Think htmls Dom event bus] And also you have to have some sort of inheritance to properly polymorphize the container for your entities. No game engine that I know of uses truly compositional design [in fact, ECSes rely heavily on the whole polymorphism idea if I understand correctly]
@noontimedreamer
@noontimedreamer 2 ай бұрын
I'm always worried about how ro format this kind of code, but it really looks so much cleaner by the end. Hope I can use this better in future projects, thank you!
@erumabo
@erumabo 2 ай бұрын
Your video gave me some good ideas. For some reason I was trying to implement those behaviors/actions/states using events, and that let to some weird phenomenon like a character who can negate dead, dying before triggering the skill. Using states is much more sensible. Also, OOP is the paradigm, Inheritance is a property of OOP, and Composition is a pattern of OOP. You have some concepts mixed up there, but the general idea is well explained.
@ryuseki-oni
@ryuseki-oni 2 ай бұрын
Having well defined configuration settings can come in handy also. For example, I am working on components which require asynchronous data, so there is a use case for a separate initialization code path after construction. The options for guarding this separate execution path from user ( in this case developer ) mishandling are limited in the language I am working in. So I came up with a way to internally validate the initialization invocation, which made it possible to expose the code path, but ensure it is only being invoked internally. This also permits implementations to decide which parts of the initialization procedure they want/need for their own requirements by selectively calling up the inheritance chain. So like lazy, piece-wise configuration, similar to ad-hoc interfaces. Also kind of like an effective form of shared privacy. The language does not have built in OOP interfaces and does have private member access but not shared privacy natively.
@Rejuker
@Rejuker 2 ай бұрын
The free fall mechanic is pretty cool, not sure I’ve seen that before. Seems like you have an interesting expandable core with this approach so best of luck building on that to a more fleshed out version.
@silwerfoxx4212
@silwerfoxx4212 Ай бұрын
This is a valid approach in many regards, my issue however is with separating behaviours into nodes. If you want to expand upon a project and have a large scale scene with many behaviours, there will be a significant performance cost with the huge amount of nodes. In conclusion, this is perfect for small scenes with few nodes, but not advisable if you want to craft a large game that is also performant.
@majdbitar1891
@majdbitar1891 2 ай бұрын
Great video, keep up the good work man!
@artoriapd
@artoriapd Күн бұрын
And that's why you should be a hardcore coder like me, which prefer inheritance 😂😂 Btw, this is just personal thought: I think inheritance is just composition, but not a full composition If I'm not mistaken, C++ internally compile inheritance into a composition too
@origanami
@origanami 2 ай бұрын
I clicked the video and came straight here to say THIS MAN HAS SEEN THE LIGHT AND YOU WILL TOO
@VitSoonYoung
@VitSoonYoung 7 күн бұрын
Thanks for talking in such a peaceful way, not cutting the silence too much nor speed up talking as my brain uses those time to process. One question, what's the behavior of Camera: Freefall?
@NesiAwesomeness
@NesiAwesomeness 3 күн бұрын
It's just a script that controls the camera's movement when the player is free falling it keeps the player and plane in frame during that interaction
@andycusatti5845
@andycusatti5845 2 ай бұрын
The hardest part here is being organized and knowing how to separate the stages. Create the entire workflow and then couple each stage together.
@pokefreak2112
@pokefreak2112 2 ай бұрын
Inheritance makes sense if you actually have shared logic, but it's easy to overuse because we have a tendency to want to create "logical" inheritance hierarchies. Having a ParticleEmitter base class the efficiently batch renders particles makes sense to me, the only reason you'd ever want to inherit from it is if you want to emit particles while for your titan example you could imagine a friendly titan that just caries you from place to place instead of attacking, in that case the inuitive thing to do is inherit from Titan, but the practical thing to do is inherit from something like Transporter or MovingPlatform
@joshuathomasbird
@joshuathomasbird 2 ай бұрын
the problem is if you have an abstract motor class that all your motors inherit from, and you have like em drive or warp drive or rocket motor. only the rocket motor emits particles and you need to inherit from particle emitter AND abstract motor. (deadly diamond). something like ECS, or rust's traits solve this.
@pokefreak2112
@pokefreak2112 2 ай бұрын
@@joshuathomasbird Forgot to explicitly mention it in my comment but inheritance also only makes sense when you actually need the shared API between descendants so you can swap them out interchangeably. The motor shouldn't inherit from particleEmitter because that's not its primary function, composition is the right pattern here. ECS is just one way to achieve composition, there are many more
@TheOnlyGhxst
@TheOnlyGhxst 2 ай бұрын
@@pokefreak2112 I think for game development in general, Composition and functional programming is just the right way to go, and Inheritance/OOP really has no place. Sure, using Inheritance might make some things EASIER, but also makes your code messier and more likely to break in the long run. If you make as many things as possible their own separate, self contained, reusable module, then you avoid chain breakages where one messed up part of the program breaks everything else.
@joshuathomasbird
@joshuathomasbird 2 ай бұрын
@@pokefreak2112 I think maybe you're missing my point about why multiple inheritance is problematic. the motor is just to visualize a concrete inheritance pattern that is easy to understand. if you don't like that one consider quadrilaterals: rhombuses, rectangles, and squares. If your pattern is supposed to compose behaviours objects can have but the pattern can't organize how those objects behave, then it would be incorrect to say that it is a way to acheive that, let alone claim that it's the "right" way. I hope you don't find that out the hard way, nor make someone else's life miserable standing on this hill.
@pokefreak2112
@pokefreak2112 2 ай бұрын
@@joshuathomasbird Harsh. You'd need to provide more context what you're doing with those quadrilaterals. Personally I don't think I'd ever make a quadrilateral base class, but I could see myself making a "collider" class or "renderer" class where subclasses implement a collider or renderer for a specific shape. And yes, you'd use that collider and renderer class to compose entities just like you'd do in ECS. I'm not saying inheritance solves every problem, just arguing that it's useful in some cases and sharing my rules of thumb for when I use inheritance vs composition.
@Kinos141
@Kinos141 Ай бұрын
In Unreal Engine, composition is called actor components. This method is kinda the same as composition, where you can add and remove components.
@andreww4751
@andreww4751 27 күн бұрын
Yea it's not that revolutionary. I was like, is he just talking about components lol
@UltimatePerfection
@UltimatePerfection 29 күн бұрын
Can't wait to debug why my character is running, jumping, falling and being idle at the same time.
@BatteryAcidDev
@BatteryAcidDev 2 ай бұрын
What a great video and well explained! Becoming more familiar with composition is fundamental for Godot devs. Plus, the delivery and composition of your video is fantastic! Keep it up! Subbed! Thank you!
@BatteryAcidDev
@BatteryAcidDev 2 ай бұрын
Also, I don't think this content is considered "long" - since it's a technical topic, feel free to deeper dive into those 15-30+ minute videos. Editing does get a bit more involved though 😅
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
Thanks so much
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
My usual videos are 3 to 4 minutes to 10 minutes is kind of long for me. I'm going to start trying to make videos like 7 to 12 minutes of much longer
@BatteryAcidDev
@BatteryAcidDev 2 ай бұрын
@@NesiAwesomeness Sounds good!
@zanagi
@zanagi 2 ай бұрын
The pilot freefall mechanic was pretty neat xD
@kryyto6587
@kryyto6587 2 ай бұрын
Using both is usually the best
@lializ_666
@lializ_666 2 ай бұрын
As long as you keep inhenritance two levels deep at most, trust me. When you're trying to change a node that extends "Wolf" and you're coming from Entity -> Enemy -> Animal -> Wolf, you have so much code scattered that is hard to keep it in check. The concept of Locality of Behaviour is more important than Single Responsability
@kryyto6587
@kryyto6587 2 ай бұрын
@@lializ_666 indeed, sometimes it's better to do it the "dumb" way; instead of making a bunch of scattered code, which makes developing a hassle
@TuberTugger
@TuberTugger 2 ай бұрын
You can use both poorly and both correctly. BaseClass inheritance should be done with an abstraction. Not a class you're going to actually create. In the video's example, he was spawning BaseTitans in game. That's already a mistake. And the randomization should have been in the constructor anyway. Bad example.
@jcdentonunatco
@jcdentonunatco 2 ай бұрын
@@lializ_666 there is simply so many use cases that require more than 2 levels of inheritance that there would never be a "two level" rule
@mysterry2000
@mysterry2000 2 ай бұрын
​@@lializ_666 I was also gonna comment on the two-level rule, let's go! To the comment above me, that's actually true yeah, but I've found that in those cases it massively helps to relocate implementations to be more composition-based than inheritance-based. Basically, choose composition when inheritance introduces conflicts
@chonkusdonkus
@chonkusdonkus 2 ай бұрын
Never thought about using a behavior tree for the character I'm controlling. I did implement a behavior tree in a similar manner to this in my game though, with nodes for each behavior, and it traversing through the tree from top to bottom. Might be worth investigating for my project too..
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
@@chonkusdonkus you should definitely, it's super clean and it's something I can use in a different project later too
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
Quick correction to my video, I kept referring to the "Finite Hierarchical State Machine" as a behaviour tree, these things actually happen to be completely different.
@chonkusdonkus
@chonkusdonkus 2 ай бұрын
@@NesiAwesomeness it's definitely a very modular approach to modeling the logic for my AI, so I can see how it would be a really easy way to make an extensible character controller as well, I'll have to do some experimenting.
@FileTh1rt3en
@FileTh1rt3en 2 ай бұрын
Rendezook as a game mechanic is an amazing idea.
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
@@FileTh1rt3en I thought so too
@NoVIcE_Source
@NoVIcE_Source 2 ай бұрын
This looks like fun game to play! Something about biplanes on floating bases on the sky totally sounds like my dream game when I was 10 :D I love composition so much, but I use it so much because I can't use OOP at all, I feel like I'm not a "real programmer" because everytime I have to make interfaces I make total spaghetti and I get disappointed and burned out so fast :(
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
1). There's no such thing as a "real programmer". Gate keeper skill level is such an 'internet validation' thing. So try not to think about stuff like that just code and have fun and mess up and learn 😂 2). You should learn some aspects of OOP it's super useful. The combination of OOP and Composition I feel is the best place to be. 3). Thanks, I've been working on it for sometime now and I'm just now finding a balance between KZbin, gamedev, school and work so progress has been slow.
@NoVIcE_Source
@NoVIcE_Source 2 ай бұрын
@@NesiAwesomeness thank you! hope you have a good time making your game while balancing other things^^
@steve_rico
@steve_rico 2 ай бұрын
Really enjoyed your explanation and use of examples
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
@@steve_rico thank you
@hola_chelo
@hola_chelo 2 ай бұрын
inheritance was perfect in this example if you already knew exactly what you were going to do, but it can become tricky once you start developing and coming up with new stuff. Also I get how it can become complex similarly to circular imports in python, this module needs that class and the module that defines the class needs the first module and it becomes a wooden wheel instead of a tree.
@MyManJohnny
@MyManJohnny Ай бұрын
The main issue is not inheritance. It's bad design. Titan shouldn't randomize it's own stats. Ideally, that should be a work for some titan factory if you have a lot of types. Im also not saying everything has to be done using inheritence, in case you want to add a special trait like armor, hair, goofy lip.. composition makes sense, it also makes the code more readable and design less complex.
@kieran8266
@kieran8266 2 ай бұрын
I really appreciate all the thought you've put into this video, and you make a lot of valuable observations. As someone who has been working both independently and inside the industry for 15+ years, I really have to say. None of this stuff matters. Making good games matters. I have worked so many jobs where so much stress and emphasis was put on coding paradigms. It never paid off. The engineers who wrote good code had always been that way, and the ones who wrote spaghetti had always written spaghetti. Adherence to coding paradigms and practices are born out of businesses needing to cater to a lowest common denominator. You need to focus on writing code that achieves the goal of your game. Have you seen Notch's original source code for Minecraft? It's a freaking MESS. It would make even novice coders puke. But it didn't get in the way of the game's goals, and it certainly didn't stop it from becoming the best selling game of all time.
@JasonStorey
@JasonStorey 2 ай бұрын
Great video! Composition is definitely a far more flexible way to compose complex ideas. One small note though, that just might come across a bit confusing to people new to the ideas watching the video, Composition and OOP are not different paradigms. OOP is an umbrella term for a collection of ideas _including_ Encapsulation, Inheritance and Polymorphism. with Polymorphism (the **is a** relationship being considered the weaker of the tools relative to composition the **has a** relationship.) As a programmer myself I always love watching the way people solve problems. awesome work!
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
I never said Composition was a paradigm, it's a code pattern, OOP is the paradigm. Thanks for the notes, maybe it was confusing
@felipejhony6039
@felipejhony6039 Ай бұрын
Great video, cool ideas. Beatiful game design. Be well!
@ClashClash89
@ClashClash89 2 ай бұрын
I have no clue what anime those „titans“ are from. But they remind me of David lewandowski‘s animations „going to the store“, „late for meeting“ and „time for sushi“ to be specific… (all on his KZbin Page) but not a word about his work on „tron: legacy“, „oblivion“ or „top gun: maverick“
@TommyLikeTom
@TommyLikeTom 2 ай бұрын
It's best to use both, actually.
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
That was the point in the video
@TommyLikeTom
@TommyLikeTom 2 ай бұрын
@@NesiAwesomeness My bad! I commented without watching. The bottom line is that you can spend hours trying to generalize your code or asset to work in any situation, but in practice your assets will always end up intrinsically linked to your project. The best way to create is to dive straight in and do whatever works, and then once you have it working then clean it up, generalize, optimize, etc. THat is why they say optimization is the root of all evil. You need to create unselfish-consciously and recklessly, and then when you have something apply your critical eye to it.
@patty4449
@patty4449 2 ай бұрын
My wizard for fixing codes is this process... I encounter a problem... I feed the problem to ChatGPT while thinking about it ChatGPT gives me proposals and I play around with them... I fix the problem without having to figure out where I made the problem... I ask GPT to help me revisit my problem and how to avoid it in the future... I learn and keep going...
@mkaks22gamerserise16
@mkaks22gamerserise16 Ай бұрын
Support you bro,i will be always there for you😊😊
@NesiAwesomeness
@NesiAwesomeness 3 күн бұрын
Thanks man
@DavidMorales-s8d
@DavidMorales-s8d 2 ай бұрын
Any coding paradigm that you like is good to go. For me the only restriction i set is: Do not repeat yourself. If I have to update the same code in two places I better write a function or inherit it.
@ince55ant
@ince55ant 2 ай бұрын
Components are great. nothing feels better than slapping some component you've made for something else onto a new object and it just *works*.
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
@@ince55ant I can't wait to use it when I'm making a game for a game jam
@Yamyatos
@Yamyatos 2 ай бұрын
For my non-gamedev job i use inheritance. Works, everybody knows it, wide spread.. no reason not to. For gamedev i use what's more appropriate given the situation. Usually this ends up being an inheritance focussed system with some composition. The only reason i actively switch to a different style is if the game / module is heavily performance related. In which case data oriented programming is pretty much the go-to solution. While, concept wise, data oriented programming is also very similar to composition, the core message here should be: use what's appropriate for your actual usecase. Nothing is outright better than other things. Trust me^^
@FirstNameBasis_
@FirstNameBasis_ 2 ай бұрын
Entertaining and educational plus clearly articulated with visuals. Holy fuck my damaged brain is in heaven for learning. 😂 BIG thankies
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
@@FirstNameBasis_ you're welcome
@nxone9903
@nxone9903 2 ай бұрын
Sounds kind of like bevy's ECS paradigm. I have no idea what I'm talking about though
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
I should probably try bevy soon
@beMotionAR
@beMotionAR 2 ай бұрын
This is insane quality and super useful stuff! I can't believe you have only 2.5k, at least for now :) As the other guy said, I didn't know this was about Godot until I started watching. Maybe adding "Godot" somewhere in the title or thumbnail would help? Anyways, you just earned another sub. Keep the quality going!!💪
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
I didn't want it to be Godot specific, I was hoping what I was talking about could be implemented anywhere
@blue.pixels
@blue.pixels 2 ай бұрын
@@NesiAwesomenesstrue, not mentioning the engine was the right choice as this isn’t limited to single engine. Cool video! I share the sentiment :)
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
@@blue.pixels thank you
@beMotionAR
@beMotionAR 2 ай бұрын
@@NesiAwesomeness You're right, this could be applied anywhere!
@Garniy_Hlopchik
@Garniy_Hlopchik 2 ай бұрын
This is incredibly cool! I finally feel like I understand all of it good enough to work like that on my future projects. Right now I have, weeell, I guess you could also say a mix of inheritance and composition, but in a ratio of something like 90% inheritance, 10% composition. By the way, just saying, inheritance is also valid for most projects, you can work around most problems. For example, in my game, all melee weapons a player can use actually shoot projectiles that fly really fast, but self-destruct after flying several pixels (and are invisible ofc)
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
@@Garniy_Hlopchik sounds great
@DaxSudo
@DaxSudo 2 ай бұрын
Hell yes just from the thumbnail. Ur on the right track.
@studiologixgames
@studiologixgames 2 ай бұрын
awesome video man, great to see stuff like this and massive luck on your game and future videos
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
Thanks so much
@indycinema
@indycinema Ай бұрын
you got a good style of video
@VideoGamesAreBad
@VideoGamesAreBad 2 ай бұрын
This was great! Both from a video and information perspective.
@ryuseki-oni
@ryuseki-oni 2 ай бұрын
Misfired the comment button earlier and youtube edit seems broken for me. :S But I would say that composition more often refers to functional code, or maybe sometimes with OOP interfaces. I have used the *Item* -> *Tree* inheritance pattern you described though, works well. Lately though I have started using more abstract classes which actually throw if some tries to construct them directly. No doubt complexity becomes its own challenge and it depends how much you like the pain of it for the benefits you can gain.:D I start going sideways after about 4 levels deep in abstraction/hierarchies, but I have seen awesomeness at levels 5 and 6. It just depends what the use case is. I have found that the more I force myself to document closer to the root of my abstractions the more focused I am by the time I am punching out the leaf components where everything is supposed to just do what I want. Essentially, think need near the top, want at the bottom and you should do ok. :-)
@dncgame2092
@dncgame2092 2 ай бұрын
I only use 1 level of custom inheritance in my current 5k5 lines Godot project, I even isolate the logic and the visual. And finally, I keep my hierarchy as flat as possible.
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
@@dncgame2092 I'm going to start doing that too
@friendswithcyd
@friendswithcyd 2 ай бұрын
Excellent explanation! These map perfectly to general software dev (though based on the way you described them I’d guess that’s your background!
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
I'm purely game development, I have no professional background in software development, just a lot of free time studying programming as a concept
@Cerbyo
@Cerbyo 2 ай бұрын
I always run into this problem. If the scope of the project is small(most are) and experimental(unique objects all over) you are better off ditching inheritance cause the busywork to get the system to adhere defeats the point of setting up inheritance (same is true with nesting). Inheritance is pretty redundant to begin with as you can just rewrite redundancies in terms of function calls fine and formulate the various types with basic if-blocks. I experimented heavily with bullet outlines across game projects, inheritance structures were never clean always dirty and a complete nightmare to edit/read/update regardless of setup. Falling back on simple principles is actually cheaper(inheritance is usually costly) and way easier to edit/organize/read: add_bullet("shotgun") function add_bullet(type) if type="shotgun" then n=10 else n=1 for i=n do add(bullets,{x=x, y=y, init=function() if type="shotgun" or "likeShotgunWithLessPellet" then dmg=5.... elseif type =...."}) You can compartmentalize everything with functions and if-blocks however you want just like could classes. It's literally the same thing as you could do in classes just you have everything together and you invoke with a single function call. The point is you don't need classes; you can generate however many bullet copies of whatever variants as desired. In regards to using classes: to solve the issues of updating I've been throwing in nested blank functions in the middle of the class's methods. So instead of rewriting the entire method for unique object or extend trees all over I can just update the tiny part. This does mean that classes who don't use it will always call a blank function, obviously not ideal to ever call blank functions, but if you calculate the alternative costs of extending all over it's usually better or irrelevant. Case usage makes every argument irrelevant though, you might have other considerations forcing traditional class outlines. Or maybe you dont need many if any unique objects and dont want to run if-blocks u dont have to...then messy class code is ideal, but can also just solve it without by making separate bullet functions (repeated code can be mitigated with functions returning functions returning the object). I like to compare most language choices to the lua one of coroutines vs switches....u can write in either to get the same job done, but you can always rewrite your coroutine code into cheaper switch code.
@dominikdoom
@dominikdoom 2 ай бұрын
Not going to say it's totally wrong for small experiments, but your example with if branches is one of the worst ways to do this. If this starts to scale at all, you'll end up with YandereDev level code that will be impossible to manage, incredibly hard to read, and have way worse performance than a proper use of inheritance and composition. The program will have to worst-case traverse the whole if-tree until it gets to the case that is relevant for it, which will result in many pointless comparisons and thus significant overhead (definitely more than any potential OOP overhead). The proper way to do something like this is having your custom guns implement interfaces (aka the composition patterns talked about in this video) for stuff they can't share with the common base class (e.g. hitscan vs. velocity based bullets) while inheriting what's sensible from the base gun (like bullet count and damage). That way you can feed your parameters in directly or even with some type of config JSON or the likes, and it also solves your "blank function" problem. Interfaces enforce contracts, so you can selectively call only those who implement it. If you do this right, there will be no gun, no matter how special, that can't be modeled like this, even for crazy stuff like bullets that heal or are actually NPC controllers (think nanobots, homing missiles etc.). It will take a bit of planning and foresight to not write yourself into a corner, but it definitely beats having to refactor a gigantic if else block. Especially since every good IDE has features that make editing classes and interfaces as easy as possible, where the same can't be said for hacky if blocks that cosplay as worse versions of a class/closure.
@felfar197
@felfar197 2 ай бұрын
such a great video! beautiful animations and pretty helpful
@cariyaputta
@cariyaputta 2 ай бұрын
Nice explanation of composition over hesitance.
@lowgos0606
@lowgos0606 2 ай бұрын
Great video man! I would love a deep dive on the animations you hooked into this proto. I'm having a tough time with animation/trees with Composition.
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
I'll see if I can put that together
@buagseitei
@buagseitei Ай бұрын
Inheritance as well as composition have their place and often a mix is the most useful approach imo. you can have a titan that inherits from a titan base class, if there is commonly shared code between them, lets say they all have eyes and blink with them. that does not mean everything has to be shared and the different titans then even can all have their own components. Just don't overdo it with inheritance, since it becomes very confusing very quickly. Use it, if you expect to save a lot of time when changing something in the future, since you only need to change the base class(for example blink twice as fast or whatever). If you have hundrets of titans, it may save you a lot of time. If you only have 3 titans i would not bother anyway. Also in my opinion i would define the behaviour tree in your example more of a state machine - A component would be for example a damage area, that an enemy can have or not have to do damage, imo. But that beeing said, very nice to watch video, i really liked it! Good and clean presentation 👍
@pawegorka8589
@pawegorka8589 Ай бұрын
I found myself cerrin on if my code is clear and well writen more than if it's usefull and working and this stop me from coding too long befor i actually start to make it right
@Pygex
@Pygex Ай бұрын
Inheritance is for interfacing. Otherwise one should compose. Change my mind.
@akselholbech7940
@akselholbech7940 2 ай бұрын
really nice graphics for the video. wow
@TheVonWeasel
@TheVonWeasel 2 ай бұрын
Message bus is definitely cool, but I would caution you to separate it out into multiple specialized buses. Otherwise you end up with the issue of 500 things watching the message bus and getting notified about events they don't care about which can add a lot of extra overhead and lagginess
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
Noted
@reydescelantonioherrerarod3819
@reydescelantonioherrerarod3819 2 ай бұрын
The voice remind me to the Max Payne 1 cutscenes voice over 😅
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
Lol or the wise worm from IG. 😂😂
@prodbreeze
@prodbreeze 2 ай бұрын
Beautiful video!
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
Thank you
@thecoweggs
@thecoweggs 2 ай бұрын
editing is on point
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
@@thecoweggs thanks, I was trying to make it "invisible" this time, lol
@dreamingacacia
@dreamingacacia 2 ай бұрын
What I got from this is how messy it is to code. I'm glad that I'm using unreal over something that required me to code that much.
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
@@dreamingacacia you can still very easily get spaghetti code using visual scripting.
@dreamingacacia
@dreamingacacia 2 ай бұрын
@@NesiAwesomeness Sure, but that's skills issue right? Unreal provided so many tools that allowed you to avoid spaghetti code.
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
@@dreamingacacia I've never used unreal, I wouldn't know. Maybe I'll try it
@dreamingacacia
@dreamingacacia 2 ай бұрын
@@NesiAwesomeness people tend to say unreal and unity are about equal. In reality, unreal is far beyond what unity offer. I'm only talking about all the tools they're offering by default. Also there're many people whom burned themselves out because of c++ and said unreal sucks....like dude you're just approach thing in a weird way.
@content8420
@content8420 2 ай бұрын
I use both
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
you should
@londanomala1734
@londanomala1734 Ай бұрын
I get everything you said Nesi, nice video. I still need to understand what exactly is the function "set_behaviour" doing. Like how does it actually change the behavior to one of the child nodes listed in the behaviour tree?
@LilArquebus
@LilArquebus 2 ай бұрын
Great video! I love the depth of thought put into the video and the game. Have you live streamed development? I recently started doing that and it’s really fun and all the smarty pants in the audience have helped me a lot.
@entrery_
@entrery_ 2 ай бұрын
Inheritance isn’t that bad when you cleverly create interfaces
@Spiker985Studios
@Spiker985Studios 2 ай бұрын
Only about halfway through the video, but this is technically moving from Object Oriented Programming (OOP) into Component Oriented Programming (COP)
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
I'm learning so many new words
@Spiker985Studios
@Spiker985Studios 2 ай бұрын
@@NesiAwesomeness Hope your coding adventure is bright and fun!
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
@@Spiker985Studios I hope so too
@ryan-skeldon
@ryan-skeldon Ай бұрын
How would you describe them (OOP vs COP) as being distinct from each other as opposed to COP being a child of OOP?
@ipodtouch470
@ipodtouch470 Ай бұрын
@@ryan-skeldon the term COP isn’t really used but essentially it is OOP. It’s just objects that can easily be reused. Most of the time the objects are configurable as well and aren’t really entity objects but are objects that are responsible for the actual logic or communicating with parts that are external to your system. Almost every single library you import would be considered a component.
@zaftnotameni
@zaftnotameni 2 ай бұрын
inheritance is the root of all evil
@madbanana22
@madbanana22 2 ай бұрын
>:(
@donkeyblade
@donkeyblade 2 ай бұрын
i like your video style
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
Thank you
@ourfriendjon9826
@ourfriendjon9826 2 ай бұрын
Content with style. Great video
@StiekemeHenk
@StiekemeHenk 2 ай бұрын
The randomize example isn't a good one. The constructor is fine to do all your setup in and it can differ class to class. Inheritance is about shared/base behavior and _can_ be overridden whenever necessary. But an interface is likely what you'd be looking for with this instead. But I am addicted to the strategy pattern, and it would probably work best.
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
@@StiekemeHenk Yh I know, I just thought the Titan explanar would make for a fun idea. I doubled down with the Entity and Trees example later in the video
@Zewofficial
@Zewofficial 2 ай бұрын
Love this. A mix of comedy and learning. Great voice over. Keep it up! Haven't checked your channel but I'll def sub. Im interested in 2D tutorials!
@Wyvernnnn
@Wyvernnnn Ай бұрын
You didn't need inheritance making BehaviorTree inherit Behavior, just have Behavior and BehaviorTree implement an IBehavior interface and have them be passed as arguments and be composed into things rather than inherited. Inheritance can always be skipped entirely, and it is always a bad idea inherit. Newer OOP languages like Rust skip it entirely. They don't have inheritance. Are their programmers unhappy about it? Nope! It just requires re-learning that side of OOP
@enijar
@enijar 2 ай бұрын
Being a web dev for 10+ years, composition is so much more extensible and less rigid than inheritance from my experience
@gabrieldeoliveirabelarmino7461
@gabrieldeoliveirabelarmino7461 2 ай бұрын
Thank you Bro! ♥
@NesiAwesomeness
@NesiAwesomeness 2 ай бұрын
You're welcome
When Optimisations Work, But for the Wrong Reasons
22:19
SimonDev
Рет қаралды 1 МЛН
9/30/24: ProjectMaelstrom coding session. Recovering from backslide
3:58:31
Good teacher wows kids with practical examples #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 11 МЛН
Worst flight ever
00:55
Adam W
Рет қаралды 54 МЛН
Kluster Duo #настольныеигры #boardgames #игры #games #настолки #настольные_игры
00:47
She's very CREATIVE💡💦 #camping #survival #bushcraft #outdoors #lifehack
00:26
The Flaws of Inheritance
10:01
CodeAesthetic
Рет қаралды 952 М.
1 Year of Developing My Game in Godot
19:19
Blargis
Рет қаралды 305 М.
Finite State Machines in Godot | Godot Starter Kit FSM
9:46
ForlornU
Рет қаралды 32 М.
Modular Upgrades Made Easy Using the Strategy Pattern
6:41
Bitlytic
Рет қаралды 71 М.
I Should Have Added This YEARS Ago…
11:08
Bachware
Рет қаралды 4,4 М.
Powerful Habits to make Games Quickly
35:58
Edward Labarca
Рет қаралды 47 М.
Why Crosshairs Are Surprisingly Difficult for Game Developers
14:40
JayTheDevGuy
Рет қаралды 269 М.
Spending 100 days making my dream game
15:24
Spouth
Рет қаралды 19 М.
I Made a Cleaning Sim in Godot in 48 Hours...
9:19
Lukky
Рет қаралды 18 М.
I Created My Own Custom 3D Graphics Engine
26:29
Inkbox
Рет қаралды 91 М.
Good teacher wows kids with practical examples #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 11 МЛН