Difference Between 0 opacity and "invisible"

For questions about using Classic.

Post » Mon Mar 16, 2009 4:18 pm

so can someone explain the difference? (if there is one)
B
26
S
3
G
6
Posts: 1,199
Reputation: 5,649

Post » Mon Mar 16, 2009 4:53 pm

0 opacity: object still renders itself to the screen processing any effects, taking the GPU's time, but most likely results in nothing being changed on-screen. However, if you had an effect which did something like invert the opacity, it would still be seen.

Invisible: object skips drawing at all so will never be seen under any circumstances. Therefore GPU spends no time at all trying to draw the object.

In short, use 'invisible' instead of 0 opacity to hide objects, it's faster.
Scirra Founder
B
373
S
218
G
84
Posts: 23,439
Reputation: 186,068

Post » Mon Mar 16, 2009 5:38 pm

thanks ash. It wasn't a question of hiding objects, i just wanted someone to clarify how it affected objects. (as you explained)
B
26
S
3
G
6
Posts: 1,199
Reputation: 5,649

Post » Wed Mar 18, 2009 3:06 pm

[quote="Ashley":1fh0uxky]0 opacity: object still renders itself to the screen processing any effects, taking the GPU's time, but most likely results in nothing being changed on-screen. However, if you had an effect which did something like invert the opacity, it would still be seen.

Invisible: object skips drawing at all so will never be seen under any circumstances. Therefore GPU spends no time at all trying to draw the object.

In short, use 'invisible' instead of 0 opacity to hide objects, it's faster.[/quote:1fh0uxky]

Can I add text on the Construct Wiki?
Here:
http://apps.sourceforge.net/mediawiki/c ... acity_ACEs
B
20
S
6
G
7
Posts: 639
Reputation: 5,335

Post » Wed Mar 18, 2009 4:46 pm

Please do.
Scirra Founder
B
373
S
218
G
84
Posts: 23,439
Reputation: 186,068

Post » Mon Mar 23, 2009 8:25 pm

[quote="Ashley":192oiife]Please do.[/quote:192oiife]

When I try to edit the wiki, it says "You do not have permission to edit pages, for the following reason:
The action you have requested is limited to users in one of the groups editor, admin.".
B
20
S
6
G
7
Posts: 639
Reputation: 5,335

Post » Mon Mar 23, 2009 9:18 pm

Have you read about how to gain wiki access on the tutorials forum?
Scirra Founder
B
373
S
218
G
84
Posts: 23,439
Reputation: 186,068


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests