scrollable scene bouncing back
Clownmrminghui
Member Posts: 18
Hi Everyone,
I am creating a game where players can unlock new costumes.
So I've tiled them on my scene, and make them scrollable (via layers)
And my background is non scrollable
I have activated Wrap x.
And created a drag actor that says when mouse button is down, change self position x to game mouse position x and self motion line velocity x to 5*( game mouse position x - self position x)
It works fine, but when i scroll to the end, the scene bounces back to the start.
Anybody knows the issue?
Thanks in advance
-Minghui
I am creating a game where players can unlock new costumes.
So I've tiled them on my scene, and make them scrollable (via layers)
And my background is non scrollable
I have activated Wrap x.
And created a drag actor that says when mouse button is down, change self position x to game mouse position x and self motion line velocity x to 5*( game mouse position x - self position x)
It works fine, but when i scroll to the end, the scene bounces back to the start.
Anybody knows the issue?
Thanks in advance
-Minghui
Comments