Collision coulors

Bonjour,

Je chercherais à faire en sorte de faire un effet de collision quand je touche un pixel noir !
Mais je ne sais pas du tout comment faire et si c’est possible !
Est-ce possible ?

Merci d’avance

Hello,

I would try to make a collision when I touch a black pixel!
But I do not know how to do it and if it’s possible!
Is it possible ?

thank you in advance

Everything is possible.
But to help you we need a little more information on what you actually want to achive.
Also there are tons of resources online. Just google for terms like '2D collision" or “AABB”

You could use render targets, but it’s costy. See here