Game Development Reference
In-Depth Information
Once you have done this, copy the action by selecting the event and pressing
Ctrl
+
C
and
then press
Ctrl
+
V
to paste.
Then, for one of the two actions, change the
On collision with Ground
to
On collision
with cannonBall
, as shown in the following screenshot. This will destroy the
goalBall
sprite when the cannonball hits it.