[Suggestion]Scroll To & Bound to Layout : 1 axis

Discussion and feedback on Construct 2

Post » Tue Oct 15, 2013 10:56 am

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.
B
12
S
5
G
2
Posts: 132
Reputation: 2,637

Post » Fri Oct 25, 2013 11:36 am

I'd like this also, making a game where the player can fall through the floor but not the sides or the roof. Haven't even found a way to implement this yet.

EDIT: Found this behaviour which allows you to change inset axis to make it appear as if the player fell. Will do quite nicely as a workaround for now.TwinTails2013-10-25 11:47:53
B
25
S
6
G
3
Posts: 197
Reputation: 3,355


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 21 guests