How do I

Get help using Construct 2

Post » Wed Mar 18, 2015 2:17 pm

hello, see if I can lend a hand.
I want that when take 1 to 2 green objects not remain stored in the highscore and 0 is displayed only when it is stored bring 3 or more for example.

I tried things and do not work, please help ;) bad english :oops:

https://www.dropbox.com/s/mt92rduq2ohyy1z/test.capx
B
13
S
2
Posts: 297
Reputation: 1,717

Post » Wed Mar 18, 2015 2:39 pm

Score>2....set local key"HighScore" to Score ? :?:
Image
B
58
S
23
G
7
Posts: 1,438
Reputation: 10,555

Post » Wed Mar 18, 2015 2:52 pm

Did some minor tweaks ....
You do not have the required permissions to view the files attached to this post.
Who dares wins
B
50
S
10
G
10
Posts: 1,728
Reputation: 12,875

Post » Wed Mar 18, 2015 4:12 pm

Thanks, but does not work ... when I pick two green objects to restart the layout I keep putting 2, I only take when 3 or higher 3 :(
B
13
S
2
Posts: 297
Reputation: 1,717

Post » Wed Mar 18, 2015 4:22 pm

statham wrote:Thanks, but does not work ... when I pick two green objects to restart the layout I keep putting 2, I only take when 3 or higher 3 :(



Yeah sorry, you can apply the suggestion by Korbaach: simply add a condition:

event
Score > 2
action
update highscore/set web storage
Who dares wins
B
50
S
10
G
10
Posts: 1,728
Reputation: 12,875

Post » Wed Mar 18, 2015 5:03 pm

Thanks now if that works :D
B
13
S
2
Posts: 297
Reputation: 1,717


Return to How do I....?

Who is online

Users browsing this forum: qianyuqianxun and 0 guests