Rendering inside view only

Get help using Construct 2

Post » Thu Feb 21, 2013 2:22 pm

I was wondering how you disable anything out of the screen and layout, and enable it when it's visible? I've noticed that a large gameworld tends to bring the FPS down big
B
5
Posts: 16
Reputation: 457

Post » Tue Feb 26, 2013 1:08 pm

Hmm
Maybe this is what u need:
When object is on screen - Set Visible
Else - Set Invisible

Hope this helps
B
12
S
3
G
1
Posts: 120
Reputation: 1,829

Post » Tue Feb 26, 2013 6:45 pm

Graphics cards already don't render stuff outside the window automatically. The problem is elsewhere, probably in your event sheet, perhaps the collision detection. Try backing up your project, then disabling all your code and see what the fps is. That will show you just the rendering performance.
Moderator
B
87
S
32
G
33
Posts: 3,005
Reputation: 27,397

Post » Wed Feb 27, 2013 5:35 pm

Thanks. I've also got this right here. Might be interresting: http://www.scirra.com/forum/topic63909_post392011.html#392011
B
5
Posts: 16
Reputation: 457


Return to How do I....?

Who is online

Users browsing this forum: Rezzon71, tarek2, Yahoo [Bot] and 19 guests