Time for action – examining the Players and Actors groups
The game file to import and load for this session is 5961_03_07.st
encyl
.
Click on Players in the right-hand panel (under the GROUPS heading).
Examine the buttons at the bottom of the main panel in the Collides With section; make a note of which group or groups are selected.
Click on Actors in the right-hand panel (under the GROUPS heading).
Examine the buttons at the bottom of the main panel in the Collides With section; make a note of which groups are selected.
Click on the OK button to hide the Game Setting dialog box.
What just happened?
We examined the collision settings for the Players group and the Actors group, and we should have noted that any actor in the Players group can detect collisions with tiles only. We should also have noted that actors in the Actors group can detect collisions with both Tiles and other actors in the Actors group.
It's useful to know that actors do not have to detect collisions with other actors in the same...