Unit 4 Space Runner: Mac
UNIT 4: SPACE RUNNER (MAC VERSION)
“Space Runner” is the fourth unit in the GameSalad game design curriculum series. This unit introduces physics simulation, particle systems, animation control and a variety of platform game mechanics such as running, jumping, object collection and more.
COMPUTER SCIENCE CONCEPTS:
Optimization: In computer science, optimization is the process of modifying a software system to make some aspect of it work more efficiently or use fewer resources. In general, a computer program may be optimized so that it executes more rapidly, or is capable of operating with less memory usage or other resources. In GameSalad, optimization occurs in the form of reducing the amount of logic you’re using to create an effect.
One example of optimization in GameSalad is tiling an image across one actor instead of placing many instances of that actor onto the scene. We use this optimization in this tutorial for our Block, Lava, and Spikes actors.
Looping: In computer programming, a loop is a sequence of instructions that is continually repeated until a certain condition is reached. Typically, a certain process is done, such as getting a piece of data and changing it, and then some condition is checked, such as whether a counter has reached a set number. If it hasn’t, the sequence of instructions will run again and again until the condition has been reached. A loop is a fundamental programming idea that is commonly used in writing programs. In GameSalad, looping can be achieved through the use of timers, the animate behavior, or using the loop behavior.
Game Development Curriculum
Danielle Burnett, Principal Learning Architect, GameSalad, Inc. Version 2.0 • March 2016