Game Development Reference
In-Depth Information
Spawning the cannonball
In order to make the cannonball actually "fire", we need to spawn the cannonball first. Set
the cannonBall object to spawn on Layer with the value 1 at Image point with the
value 1 . This is shown in the following screenshot:
Creating the spawning image point
But wait! We still have to set up an Image point 1! Double-click on the cannon and add an
image point by pressing the plus ( + ) sign. Put the image point next to the front of the can-
non, as shown in the following screenshot. The image point is where the cannonball will
spawn from.
Search WWH ::




Custom Search