Overlapping certain colour

New releases and general discussions.

Post » Mon Jan 26, 2009 6:27 pm

I'm wondering if you could add something like overlapping a certain colour? It would be quite a useful feature for hitboxes and such.
B
4
S
2
G
4
Posts: 164
Reputation: 2,178

Post » Mon Jan 26, 2009 6:38 pm

Hm, like overlay redux in MMF? That indeed would be nice to have...
B
3
S
2
G
5
Posts: 263
Reputation: 2,201

Post » Mon Jan 26, 2009 8:05 pm

What current problem with hitboxes would this solve?

It's generally expensive to try and retrieve the colour of a pixel somewhere on a texture and send it back to the CPU, so I think another solution would be best.
Scirra Founder
B
382
S
223
G
86
Posts: 23,998
Reputation: 189,773

Post » Mon Jan 26, 2009 8:28 pm

You could use color filters?
Image ImageImage
B
165
S
49
G
148
Posts: 8,048
Reputation: 97,088

Post » Mon Jan 26, 2009 9:34 pm

put all your objects of that color in a family.

Red objects -> add them to the red family
blue objects -> add them to the green family (just to make people wonder)
green objects -> add them to the salt 'n pepa family!
B
3
S
2
G
4
Posts: 271
Reputation: 2,017

Post » Mon Jan 26, 2009 9:46 pm

Oh wow, a brand new family when you add red to blue.... :roll:
Image ImageImage
B
165
S
49
G
148
Posts: 8,048
Reputation: 97,088


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 5 guests