Search code examples
collision-detectioncoronasdk

collision on sprites


how can i add collision effects on my sprites... sir i'm using sprite for my object.and it is working fine but it didnt collide with any other object added in physics.i didnt find anything related that ,can i have to add my sprite in physics?is it possible?


Solution

  • Have the physics on a display.newCircle()and make that react how you want your character to, and later set its alpha to 0.

    Then make your sprites x and y equal to the displays x and y.