Im working on a idle game, the idea is, each click do 1 damage for example, the stone(Pedra)
have 10 of life, when his life reaches 0 he will explode, the system will start the fade again and will create a new Object, the arrow(setaDireitaPedraCarvão)
. When I click the arrow, all collisions with the stone(Pedra)
and his visibility becomes off and another ore appears, the coal(Carvão)
. And the coal have to follow the same rules that stone have. Be clicked until explode and appear again. Each ore/stone gives money when they explode.
But, i don't know why, it doesn't happen. The coal still gives money, but he is invisible, and I don't want this to happen.
What I want to know is why this coal(Carvão)
don't fade-in like the stone(Pedra)