Playmaker Forum

PlayMaker Help & Tips => Android Help => Topic started by: xhidnoda on May 02, 2013, 04:58:44 PM

Title: How to set a effect when get coins[SOLVED]
Post by: xhidnoda on May 02, 2013, 04:58:44 PM
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!!!
Title: Re: How to set a effect when get coins
Post by: Lane on May 02, 2013, 04:59:39 PM
Just make a sprite prefab of the stars effect and create it on the player when he eats a coin.
Title: Re: How to set a effect when get coins
Post by: xhidnoda on May 02, 2013, 05:44:06 PM
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?
Title: Re: How to set a effect when get coins
Post by: xhidnoda on May 05, 2013, 04:12:50 PM
and...YES! is works!!! now a have coins whit effect when the player eats and stars as well. :)
THANKS!