Jump to content

[Q] how to enable overlap?


Recommended Posts

I'm not sure I've understood your question, but if you want to check if sprites are overlapping instead of colliding depending if a key is pressed, you just need to save the fact that the key was pressed (with a callback), and, inside your code managing collision detection, replace :


with :


But if you just want the player to be able to move and overlap freely with some prites, just don't call the collide()/overlap() B)

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...