Visible - what is better?

Get help using Construct 2

Post » Sat Feb 11, 2012 8:48 pm

Hello,

I use some object and during entire game it will be invisible. I spawn this object on layout start. What is better - to set visibility in object properties or create an event for setting it's visibility? What is better for performance?

Thank you!
B
7
Posts: 36
Reputation: 628

Post » Sat Feb 11, 2012 8:53 pm

If your object is to be visible at all time, just set it as visible in the IDE, this will be one less action to perform.

But honestly, the "set visible" action is not one of the action that will take the more ressources/performances anyway.

This single action even performed punctualy has little impact on performances.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Sat Feb 11, 2012 9:05 pm

Thanks, already changed and cleared 5 events about visibility :)
B
7
Posts: 36
Reputation: 628


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, dingalingboy, Yahoo [Bot] and 5 guests