Game Development Reference
In-Depth Information
Adding a collision event
Right now, when we collide with the power-up box, nothing happens. That's because we
have to add the mechanics for it.
1. Go to the event sheet and click
Add event
to bring up the
Add event
window,
which is shown in the following screenshot:
2. Go ahead and click on
circle
or whatever you have named your sprite. This should
bring up the
Add event
dialog box for the circle, which should look like the fol-
lowing screenshot: