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
25
S
3
G
6
Posts: 1,197
Reputation: 5,620

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
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

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
25
S
3
G
6
Posts: 1,197
Reputation: 5,620

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
16
S
5
G
7
Posts: 599
Reputation: 5,000

Post » Wed Mar 18, 2009 4:46 pm

Please do.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

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
16
S
5
G
7
Posts: 599
Reputation: 5,000

Post » Mon Mar 23, 2009 9:18 pm

Have you read about how to gain wiki access on the tutorials forum?
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest