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
357
S
214
G
72
Posts: 22,946
Reputation: 178,228

Post » Mon Jan 26, 2009 8:28 pm

You could use color filters?
Image Image
B
161
S
48
G
89
Posts: 7,347
Reputation: 66,249

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 Image
B
161
S
48
G
89
Posts: 7,347
Reputation: 66,249


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 1 guest