1199 Copyright Goodheart-Willcox Co., Inc. May not be reproduced or posted to a publicly accessible website. y accessible website. 11 Lesson 10 Spawning Learning Objectives After completing this lesson, you will be able to: explain how object movement synchronization is achieved in a game. describe animated sprites and moving targets. create custom sprite art and animation direction nodes. program object spawning. Situation The Awesome Game Company has decided to hire you as an intern for its 2D game development division. In order to be assigned higher-level tasks, you must first learn how object movement is created for a game. After learning about motion, you will be assigned a custom game build to put this knowledge into practice. Reading Materials Object movement in a game is created in one of three different ways: transportation, animation, and spawning. If you think of the video games you have played, movement within each game falls into one of these categories. Transportation In the Click Ball game created in Lesson 3, you made a ball move and bounce on the screen. This form of movement is transportation. In the simplest definition, transportation is moving an object from one location to another. An attribution set is associated with the transportation process. An attribute set is a collection of characteristics or features. The designer can manipulate characteristics such as direction, speed, acceleration, and deceleration. Figure 10-1 shows how direction of an object can be manipulated in Clickteam Fusion 2.5. Transportation attributes are easy to understand as they can be seen applied every day in the real world. Suppose you are standing on the sidewalk and a car is traveling down a road. The car’s direction attribute is controlling how the car is transported from one position to the next. This may be from your left to your right. The direction attribute in this case is “move right.” In this way,
Previous Page Next Page