Hello,
is it possible to check if the pixel XY of a picture is transparent via java-script? I found some java-scripts online and something else (bitmap https://developer.rpgmakerweb.com/rpg-maker-mz/Bitmap.html). I don't know how to use it right, if I'm going in the right direction and if I just miss something or if it's just not possible.
Would be great if someone could help me.
What do I want to do? Showing a picture, get mouse x & y position and check if it's colliding with the picture.
is it possible to check if the pixel XY of a picture is transparent via java-script? I found some java-scripts online and something else (bitmap https://developer.rpgmakerweb.com/rpg-maker-mz/Bitmap.html). I don't know how to use it right, if I'm going in the right direction and if I just miss something or if it's just not possible.
Would be great if someone could help me.
What do I want to do? Showing a picture, get mouse x & y position and check if it's colliding with the picture.