Can I "If not in window, then pause object" or something...C

Get help using Construct 2

Post » Sun May 22, 2016 11:30 pm

I have this massive layout (6500 x 4500)

Filled with objects that move and so on, is there a way to pause these objects if its not in the visible window size?

I guess take take memory even if their not visible?

Or is it possible to maybe decrease the layout size (Currently its rectangular, but the space I use is shaped like a pistol? |- <--- Like that.

Is it possible to remove layout that you don't use?
B
21
S
9
G
8
Posts: 188
Reputation: 6,069

Post » Mon May 23, 2016 12:31 am

If object > Is on-Screen(inverted) > do the thing

As for memory usage:

Off-screen objects are not still rendered. Construct 2 does not issue draw calls for objects that do not appear in the window, and the GPU is also smart enough to know not to render any content that appears outside the window - even when a single image is only partially on-screen.

The layout size also does not have any direct effect; larger layouts do not use more memory or require more processing, unless you use more objects.
B
47
S
18
G
84
Posts: 2,265
Reputation: 49,784

Post » Mon May 23, 2016 12:42 am

plinkie wrote:If object > Is on-Screen(inverted) > do the thing

As for memory usage:

Off-screen objects are not still rendered. Construct 2 does not issue draw calls for objects that do not appear in the window, and the GPU is also smart enough to know not to render any content that appears outside the window - even when a single image is only partially on-screen.

The layout size also does not have any direct effect; larger layouts do not use more memory or require more processing, unless you use more objects.



Thank you so much for this answer.
B
21
S
9
G
8
Posts: 188
Reputation: 6,069


Return to How do I....?

Who is online

Users browsing this forum: Colludium, draiza, Magistross, R0J0hound, Yahoo [Bot] and 1 guest