Maybe for my platformer, because then I don’t need to have billions of collision code, having a bunch of black colored blocks and color sensing will save time.
Here are some examples of Hopscotch code that could be improved if we had this:
Ugh. Read the top bit, it explains this too!
Here is an example design I’ve made:
Oop. Srry can’t photoshop or anything… you guys get it though… right?
I’ve seen something similar in another programming languages, it looks like this:
Sorry it’s a little fast but basically When game start check once if touching object then get color from a selection of HSB, RGB or preset colors in hopscotch
So it might be hard to detect an object’s color because you don’t know the color?
I don’t see how that might be a problem. If you coded it to set color, you’ll know what that color it set to is. And if you forgot, you can go to that object’s code to figure it out.