Detect collision with a particular sprite

Hi there,

I've been working on a game which is archery based and have 3 different sprites (arrow, bow & target). I have used the arrow.flung function to set the arrow loose and update the score upon colliding with the target.

The block I'm using for this is the when arrow.collides with other.

The problem I'm facing is that the bow is also a sprite and the game treats it also as another sprite, which keeps on updating the score repeatedly and making the game unplayable..

How do I set the variable (other) value to just the target.

Somebody plz help...

Use an if condition to exclude the bow from collision action.

2 Likes

Many thanks :slight_smile:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.