Hi guys, I would like that the player stays on the lover part of the screen, so that u can see more of the environment above the player. But the standard scroll too is fixing the player in the middel of the screen...can I change that ?
thanks
...just another info...my layout is VERY big...I don't know if this info will change ur answers... thanks
Instead of setting the scrollto behaviour on the player either set it on a sprite pinned to the player located above the player or use the system scrollto action and set it to player.x, player.y-200 (or whatever offset you'd like)
..Hi I did it already before...but the movement of the player on the platform is visibly wors than before with just the scroll to behavior... is there another way ?
I gave you two ways..
Which of these once did you do before and was visibly worse?
I pinned a square on top of my player sprite assigning to id the sctoll to behavior. That was not that smooth as movement.
What is the system scrollto action, is it not the behavior ?
The pinned sprite should be just as smooth, providing you pin once and not every tick (a mistake a lot of beginners make).
You answered the second question yourself, for an action is not a behaviour.
Develop games in your browser. Powerful, performant & highly capable.
ehm...is there somwhere a capx sample for the action ?
...to pin "on beginning of layout" is that ok ?
beginning of layout should be fine..
ok thanks