playMaker

Author Topic: How to set a effect when get coins[SOLVED]  (Read 4074 times)

xhidnoda

  • Full Member
  • ***
  • Posts: 231
How to set a effect when get coins[SOLVED]
« 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!!!
« Last Edit: May 09, 2013, 02:39:19 AM by jeanfabre »

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: How to set a effect when get coins
« Reply #1 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.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

xhidnoda

  • Full Member
  • ***
  • Posts: 231
Re: How to set a effect when get coins
« Reply #2 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?

xhidnoda

  • Full Member
  • ***
  • Posts: 231
Re: How to set a effect when get coins
« Reply #3 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!