(SOLVED) How do I STOP a scrolling?

Get help using Construct 2

Post » Wed Dec 16, 2015 2:44 pm

Hi

in my app i have a scrolling tiled ground object, i want after 10s the scroll to STOP at his actual position
The ground tiled object has a Global constant number SCROLLSPEED= 100
Last edited by imothep85 on Sun Dec 20, 2015 9:37 am, edited 1 time in total.
B
37
S
15
G
7
Posts: 1,680
Reputation: 9,612

Post » Wed Dec 16, 2015 3:15 pm

You can set it to 0 and insert the events:
-- (system) on start of layout , (system) set value (to 100)
-- (system) compare variable (your variable is equal to 100) (system) wait (10 sec) and then (system) set value (your variable to 0)

If it is not working.. please contact me and send a capx with it

Kind regards,

Niek,
B
6
S
2
Posts: 114
Reputation: 874

Post » Wed Dec 16, 2015 4:25 pm

Thanks Niek im going to try now :D
B
37
S
15
G
7
Posts: 1,680
Reputation: 9,612

Post » Wed Dec 16, 2015 7:40 pm

@imothep85 I can't send private messages but can you send me a link to your capx file?
I will build it in for you tommorrow.

Niek (Nederland)
B
6
S
2
Posts: 114
Reputation: 874

Post » Wed Dec 16, 2015 8:20 pm

B
37
S
15
G
7
Posts: 1,680
Reputation: 9,612

Post » Thu Dec 17, 2015 4:18 pm

I'am going to work on it now.. I hope I can fix it because i thougth that you used the custom movement behaviour.
Deltatime doens't has to be a big problem to stop.

Niek
B
6
S
2
Posts: 114
Reputation: 874

Post » Thu Dec 17, 2015 4:40 pm

Message: Niek can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
I just finished it :-)
Here is the link: http://jmp.sh/BZ2q2vn
I edited your timer event stuff to just a global variable, otherwise it bugs...
I just changed every tick to; less than 10 (the ten is a global variable for the timer) and then set the dt speed.
You're welcome ;-)

Niek
B
6
S
2
Posts: 114
Reputation: 874

Post » Thu Dec 17, 2015 4:43 pm

Message: Niek can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Can you maybe look into this?
viewtopic.php?f=160&t=165377
Perhabs you have the solution ;-)

Niek,
B
6
S
2
Posts: 114
Reputation: 874

Post » Thu Dec 17, 2015 8:09 pm

nope i find nothing in that topic
B
37
S
15
G
7
Posts: 1,680
Reputation: 9,612

Post » Sat Dec 19, 2015 12:19 pm

Has is work for you?

The events I putted in?
B
6
S
2
Posts: 114
Reputation: 874

Next

Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, TELLES0808 and 4 guests