Does it show different images now?
Then you used isCoin already to distinguish between them.
Now use if (isCoin)....
to either change score or health
upon a collision
Does it show different images now?
Then you used isCoin already to distinguish between them.
Now use if (isCoin)....
to either change score or health
upon a collision