Game Development Reference
In-Depth Information
In addition to ShuttleControl , we need to add Wrapper and TargetHitDestroyer to the
shuttle. This makes the shuttle wrap from right to left and vice-versa, and if the shuttle
hits a target, it is going to be destroyed as well as the target. Two additional scripts are
needed: one for shooting bullets, and another one for launching rockets. These scrips are
BulletShooter shown in Listing 22, and RocketLauncher shown in Listing.
Search WWH ::




Custom Search