Some help to specify amounts

Get help using Construct 2

Post » Thu Dec 10, 2015 8:02 pm

I'm having problems to define different amounts. Some help?

Thanks in advance.

https://www.dropbox.com/s/m9po5r07n529q ... .capx?dl=0
B
74
S
13
G
4
Posts: 1,000
Reputation: 8,041

Post » Thu Dec 10, 2015 8:19 pm

Your project is working as expected..

In event 6 you are not picking any instance of sprite, so all instances react to the actions..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Dec 10, 2015 8:34 pm

Sometimes I can't see the obvious. Thank you @LittleStain
B
74
S
13
G
4
Posts: 1,000
Reputation: 8,041

Post » Fri Dec 11, 2015 6:23 pm

@LittleStain

I got a new error that I'm not understanding what's going on. This time, the amounts aren't updated on start of layout. I combined the both situations in an unique project. Although I've estipulated different amounts to the variable, only two sprites show it (sprites on the top > frames 1 and 5). Whether It's a weird behaviour or I'm totally blind and not found the error. Please, give a look.

https://www.dropbox.com/s/jy6a8x18u60t6 ... .capx?dl=0
B
74
S
13
G
4
Posts: 1,000
Reputation: 8,041

Post » Fri Dec 11, 2015 6:50 pm

you'd need a

for each invent
pick amount where..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Dec 11, 2015 7:00 pm

Thanks @LittleStain

I've tried "for each amount". But I wonder why this problem didn't happens in the other sprite/amount objects if it's the same logic?
B
74
S
13
G
4
Posts: 1,000
Reputation: 8,041

Post » Fri Dec 11, 2015 7:52 pm

RenatoB wrote:Thanks @LittleStain

I've tried "for each amount". But I wonder why this problem didn't happens in the other sprite/amount objects if it's the same logic?


The other event actually needs it also, but because all the values are the same it isn't really visible..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775


Return to How do I....?

Who is online

Users browsing this forum: rayolf and 8 guests