Hi,
I try to rely on default behaviors as much as possible, I don't want to re-invent the wheel. But at the moment, I can't use the Scroll To and Bound to Layout behaviors on my project because they miss a couple of properties that I believe would not be that hard to implement:
It would be nice if just like the 8 Directions behavior, you had a property that allow you to limit the Scroll To and Bound to Layout to vertical or horizontal axis only.
Let's say I'm making a game using unbound scrolling layout, and i want it to scroll horizontally only. I don't want the layout to scroll if the player moves up and down, only when he move left and right. On top of that, I want the player to be blocked by the upper and lower boundaries of the screen. Pretty much an infinite corridor.
I did not have much trouble to implement it with events, don't get me wrong, I know there are many examples of game like that already. But it would be even simpler if those two behaviors had those extra properties.