Unit 2 Fruit Fall: Windows
UNIT 2: FRUIT FALL (WINDOWS VERSION)
“Fruit Fall” is the second unit in the GameSalad game design curriculum series. While its game mechanics appear simple, this lesson introduces the concept of object-oriented programming through random object spawners, introduces students to the design challenges of implementing logic and behaviors that take place off-screen, and focuses heavily on user interface design across multiple device platforms (and the affordances each device offer).
COMPUTER SCIENCE CONCEPTS:
Inheritance: In object-oriented programming, inheritance is when an object is based on another pre-defined parent/prototype object, and reuses the properties and characteristics of the parent object. You can think of prototypal inheritance like genetic inheritance; children can inherit a genetic characteristic like eye color from their parent, and objects can also inherit characteristics from their parent object. In GameSalad the attributes, rules and behaviors from the Prototype Actor are inherited by the Instance Actors in the game.
Random Number Generators (RNG’s): RNG’s generate a sequence of numbers satisfying one or more statistical tests for randomness but produced by a definite mathematical procedure, since it’s impossible to actually generate a TRULY random number.
Game Development Curriculum
Danielle Burnett, Principal Learning Architect, GameSalad, Inc. Version 2.0 • March 2016