How do I make this fade work?

Get help using Construct 2

Post » Mon Jan 11, 2016 2:28 pm

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)

Screenshots:

Image
Image
B
2
Posts: 7
Reputation: 168

Post » Mon Jan 11, 2016 2:44 pm

As far as I know, for fading it should be:

On condition ->
---> Set Fade (in or out) Time X
---> Start Fade
B
5
Posts: 4
Reputation: 248

Post » Mon Jan 11, 2016 2:53 pm

Still the same :/
B
2
Posts: 7
Reputation: 168

Post » Mon Jan 11, 2016 3:05 pm

You are creating Carvão at Pedra coordinates. I'm guessing this should be Carvão's coordinates.
ImageImageImage
B
71
S
22
G
240
Posts: 3,734
Reputation: 133,994

Post » Mon Jan 11, 2016 5:43 pm

I've tried carvão's coordinates, but nothing changes
B
2
Posts: 7
Reputation: 168

Post » Mon Jan 11, 2016 5:46 pm

GlexVictor wrote:I've tried carvão's coordinates, but nothing changes


Maybe it would be better to save on pointless guessing by posting your .capx.
It would probably make helping you much easier.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
86
Posts: 5,415
Reputation: 59,516

Post » Mon Jan 11, 2016 6:21 pm

But i cant post links, low rep :/
B
2
Posts: 7
Reputation: 168

Post » Mon Jan 11, 2016 6:24 pm

Put a colon in front of the URL, and the validator will ignore it. Breaking up the URL with spaces also works.
ImageImageImage
B
71
S
22
G
240
Posts: 3,734
Reputation: 133,994

Post » Mon Jan 11, 2016 6:26 pm

https: //www.dropbox.com/s/ xweb9mqmrczivoc/jogo2.rar?dl=0

Here is the link of the game.
B
2
Posts: 7
Reputation: 168

Post » Tue Jan 12, 2016 2:21 am

Being invisible has nothing to do with being clickable. Move your mouse events into the appropriate Group with the other object events. Also , make Carvão visible by default, but in "On startup" make it invisible.
http://www.blackhornettechnologies.com/ ... 2_BHT.capx
ImageImageImage
B
71
S
22
G
240
Posts: 3,734
Reputation: 133,994

Next

Return to How do I....?

Who is online

Users browsing this forum: Euduardo, ST314 and 26 guests