Game Development Reference
In-Depth Information
The first step is to create a new scene. Click the Home button and then click the
+ sign at the bottom left of the screen to create a new scene. Change the name
of the scene to ''New'' by simply clicking in the name area and typing the new
name.
Open the Asteroid actor in the Actor Editor. Drag and drop a Change Scene
behavior into the rule that detects the attribute numberCarrots equals 0. Change
the setting of Change Scene to Go to scene: ''New'' as per Figure 5-29.
Figure 5-29. Changing the scene
Summary
You have created a classic shoot 'em up game! You can design your own
shooting game with various levels, several enemy types, and big losses.
In this chapter, you have:
Reinforced your basic project creation, actors, rules, and
behavior design skills.
Learned about parametric equations.
Created visual effects of movement.
Discovered the Interpolate behavior and implemented its
application to manage the energy bar.
Learned how to transition from one scene to another with the
Change Scene behavior.
 
Search WWH ::




Custom Search