Got it working as TempodiBasic sorta said but the edge of the image is also colliding with the stationary object.
Changed code to put center of image at mouse not top edge so can move over entire screen.
The collision detection works when star touches star but also goes off as I said when border of mouse image touches stationary star.
Working:
Colliding with edge:
For some reason that edge of image is not clean ie transparent like the rest of it is.
Here is my code mods in zip pack.
Changed code to put center of image at mouse not top edge so can move over entire screen.
The collision detection works when star touches star but also goes off as I said when border of mouse image touches stationary star.
Working:
Colliding with edge:
For some reason that edge of image is not clean ie transparent like the rest of it is.
Here is my code mods in zip pack.
b = b + ...