Edit : Solved :)
Thx to Kyatric Demo in this thread
I would like the Horizontal scrolling only to move forward and to bound on the left part!
My game test : gamesrusher.com/test (Edit: now working)
Here is what I already thought :
I only needs the scroll when my player moves forward so here we are:
* Player is playing animation Right > System Scroll to player.x
It works but as soon as I press right the Player is back in the middle of the screen.
It would work if I could use Windows coordinates.
Like if Player playing animation right + is in the middle (or Window X coordinate) then System scroll to player.X
Like that When I go back it doesn't scroll and it starts scrolling only when I reach the middle of the window for example!
Also window coordinates could be helpful To bound the player.
Because right now if I go back , the player may not be on screen but he is still on the layout and I can't make it bound.
I could do it if I could just set an invisible Sprite on Left border of the window.
So am I going all wrong with that ?
What could do the magic ? Is there any Window coordinate to use ?