How do I "control" the scoring board?

Get help using Construct 2

Post » Sun Jul 20, 2014 4:34 pm

how do i create a condition that says: if the sprite's x=290 enable the scoring board? i think i need to use a trigger but i dont know how
-thanks
You do not have the required permissions to view the files attached to this post.
B
4
S
1
Posts: 54
Reputation: 456

Post » Sun Jul 20, 2014 6:59 pm

use System - Compare two values for condition. set first value Sprite.X
not sure what you mean by enabling scoring board, but you can use Sprite - set visible or fade behavior
B
3
Posts: 5
Reputation: 181

Post » Sun Jul 20, 2014 9:24 pm

@Player for instances i want my character to score only while is on a certain platform whose x's coordinte is 290, so when (for example) jumps i want to pause the scoring process until he gets back to that platform
B
4
S
1
Posts: 54
Reputation: 456

Post » Sun Jul 20, 2014 9:33 pm

your sprite -> compare x -> equal to 290

add this event to

system -> every 0.5 seconds event
B
18
S
2
G
1
Posts: 67
Reputation: 1,339

Post » Sun Jul 20, 2014 9:35 pm

you shouldn't be using x=290 for that would only be true if the character is exactly at x=290
Even at x=290.5 or x=291 or 289 nothing will happen..
the platform is most likely wider than 1 pixel so that wont work..

maybe using a condition in which you reference this specific platform or is overlapping at offset would work, but that all depends on how you have your layout and events set up..
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 » Sun Jul 20, 2014 9:46 pm

@LittleStain i know i compared the values so when the sprite is around that area it will set x to 290
B
4
S
1
Posts: 54
Reputation: 456

Post » Sun Jul 20, 2014 10:30 pm

...............................................................................................................................(stupid word limit -_-).......
thanks guys i did it
You do not have the required permissions to view the files attached to this post.
B
4
S
1
Posts: 54
Reputation: 456


Return to How do I....?

Who is online

Users browsing this forum: sofiabatte and 39 guests