Coin Counter
Ready after setupInteraction7 nodes, 8 wiresGallery
On the player: every actor it touches adds one to CoinsCollected, prints the total and is destroyed.
Use this exact graph
Copy and Apply for gallery graphs come with every paid plan, from $9.99 a month. See plans
Before you paste1
- CoinsCollectedInteger
My Blueprint, then + Variable.
Good to know. Every overlapping actor counts and is destroyed, enemies and triggers included. Cast the other actor to your coin class, or check a Coin tag as Score Counter does.
How it works
- Touch a coinActorBeginOverlap adds 1 to CoinsCollected.
- Show the countPrint String shows the new total.
- Remove the coinDestroy Actor removes the actor that was touched.
More interaction blueprints
See all 55Made with Cosindra Blueprint Studio