Drew from Acem Gaming doing another Unity tutorial series. This time the main focus will be C#. These tutorials will begin with the very basics including the difference between programming in Javascript and C#. Even if you have a good amount of programming experience, you might find some of the information in these tutorials pretty interesting, as I have put a lot of research in behind the tutorials.
Hi Acem, thank you for these, would it be possible to give a few examples of how you (or anyone) would use Part 10 (Class Inheritance) in a game? I don’t use Inheritance, so it would be nice to see how I could benefit from from it from a game coding situation.
Class inheritance doesn’t become as important in game making until you get to a much higher level… For instance, if you have a set of RPG characters that all share the same attributes. Instead of hard coding each characters attributes (which you could do if you want), it would be a lot faster and easier to have each of them inherit a class that contains these attributes, and alter those attributes in another class so that they aren’t all the same.
That being said, for your first game or games of differing types, it will not appear to be as useful. However, as you progress as a developer(or a company) it will be extremely beneficial to create base classes so that you don’t spend the bulk of your time recoding the same concepts.
That was a great question! If you have any other questions feel free to ask (:
Just released part 22 of my C# series! This tutorial will be about recursive algorithms and recursive methods. Hope you guys enjoy this tutorial, if you have any questions feel free to ask!