Category: Level 14

  • Level 14 – Lesson 01 [Inheritance]

    Introduction Sometimes you will find yourself creating several objects that have the same (or very similar) game behaviour. You will probably notice that you are copying and pasting the same blocks of code into the events of each one. This is when you should take advantage of using inheritance. Inheritance allows you create objects that…

  • Level 14 – Intro

    Sometimes you create a new game object that uses most (or even all) of the exact same code as another object that you have already coded.   Sometimes you want an object to group several different objects so that they behave in similar ways. Sometimes you might like to control several objects at once using…