is_outside_layout >< outside viewport

Get help using Construct 2

Post » Wed Feb 18, 2015 9:10 pm

I've found out that the condition : is_outside_layout >< outside viewport. Then how to detect if the sprite is outside viewport.
B
10
S
5
Posts: 220
Reputation: 1,464

Post » Wed Feb 18, 2015 9:15 pm

depending on your need you can use the condition Is on screen or Compare x/y and use Viewport(Right or direction on screen you need)
B
42
S
17
G
2
Posts: 850
Reputation: 6,209

Post » Wed Feb 18, 2015 10:39 pm

If object is on screen is the easiest and least intensive method from my experience but it doesn't let you test for a distance from the viewport, it simply is false when every single pixel of an object is off screen.
B
30
S
8
G
1
Posts: 199
Reputation: 3,051


Return to How do I....?

Who is online

Users browsing this forum: Held, lamar, UncleHo74 and 2 guests