Is it possible to disable scroll to in between the

Get help using Construct 2

Post » Mon Apr 22, 2013 9:36 pm

Wondering if this can be done.

Situation is .. I dont want the screen to scroll to as soon as a mini boss appears on the screen.
So is there a way to turn off scroll to on the player?

Thanks,
Krish
Hey! Did you know that you can hire me to make your games?

Click Here to See More
B
21
S
5
G
5
Posts: 391
Reputation: 5,577

Post » Mon Apr 22, 2013 9:48 pm

There isn't a way to disable the behaviour (oddly enough), but perhaps a better way to use the behaviour in general would be to have the screen follow and invisible dummy object. This gives you better control over smooth camera movements, and lets you customise the movement whenever you want by adjusting the position of the dummy object.
B
56
S
15
G
10
Posts: 910
Reputation: 11,942

Post » Tue Apr 23, 2013 12:29 am

I got more uses to shifting scrollTo that I want to use.

Isn't that something you needed in tower defence if the map was really big? krish2013-04-23 00:33:28
Krish
Hey! Did you know that you can hire me to make your games?

Click Here to See More
B
21
S
5
G
5
Posts: 391
Reputation: 5,577

Post » Tue Apr 23, 2013 2:03 am

Maybe you can set scroll-to on another object, and pin that object to the player most of the time, but when you need to scroll somewhere else pin or move the scroll-to object to another position instead of on the player? Then you can pin it back to the player when you need to move it back...
B
49
S
11
G
10
Posts: 1,833
Reputation: 14,418

Post » Tue Apr 23, 2013 9:36 am

hmm.. this could work.. let me try.

Thank you
Krish
Hey! Did you know that you can hire me to make your games?

Click Here to See More
B
21
S
5
G
5
Posts: 391
Reputation: 5,577


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, jeffige, LeFuji, plinkie, Radulepy and 1 guest