How to add point system to game for multiple items

Hello, I’m trying to add a system to my game whereby the toys get picked up and counted as points when the sprite touches them. There’s more than one kind of toy however, and I don’t know how to set up one unified system so that they’re all counted the same. Would anyone know how to do this? Thanks!

I don’t think there is a way to make groups of things. You’ll just have to make multiple Collision behaviors for each.

You can instead make a animation where each frame is a different toy,

Then have a ONCE go into a random number.

The random number goes to a GOTO slot in the animation.

Its simple!

Hey, did you ever fix it??

Hmm… That’s smart @jngthree

But if you don’t want rondom toys. You can make more objects and if you hit one you send a message to the player. (the same message in all toys)

Or… You Know… You could always make a special grouped box for the toys… and just put that on all of the different toys.