Jump to content

events.onOutOfBounds and events.onEnterBounds for phaser v3


guest
 Share

Recommended Posts

In Phaser2.x we can get `events.onOutOfBounds and events.onEnterBounds` for a Sprite object by enabling `sprite.checkWorldBounds = true`, With this event i can track how long an image object appeared on the screen.

But in Pasher3.x, looks like it doesn't have events for `.onOutOfBounds and .onEnterBounds`

It 'd be great, if you can give some insights on tracking how long an image object appeared on the screen on Phaser3.x

Edited by guest
question was not clear
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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