PlayMaker Help & Tips > Android Help

How to set a effect when get coins[SOLVED]

(1/1)

xhidnoda:
Hi!
I development a game where the player eat or get the coins, and when do that try to set a effect like any game.
See the picture? the stars-effect when eat coins? this is exacly what i need.
Any help? THASK!!!

Lane:
Just make a sprite prefab of the stars effect and create it on the player when he eats a coin.

xhidnoda:
OK.
1. So the player contain a prefab whit stars-efecct, not visible for default
2. When the player hit coin, the stars-effect apper (visible=true)
3. When the player not hit coin, set the prefab stars-effect not visible.

like that?

xhidnoda:
and...YES! is works!!! now a have coins whit effect when the player eats and stars as well. :)
THANKS!

Navigation

[0] Message Index

Go to full version