Jump to content

Is there a way to collideWorldBounds only for bottom, left and right?


kidos
 Share

Recommended Posts

If you want a better performing solution that takes a little more work, you could add your own version of the checkWorldBounds method by extending the Sprite object and applying it in the constructor too. That's sneakier.

 

that's even less work and much easier. ohh, and work perfectly :)

thanks again!

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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