Jump to content

V5 to V6 event issues


Recommended Posts

Hello,

 

I recently did update PIXI.JS from 5V to 6V, however I got some issues with events:

FIRST, InteractionManager in V5 has a "on" method in order to subscribe to specific events such as 'pointerDown', 'pointerMove'...

However in V6 this method doesn't exist anymore, I did find some events such OnPointerDown but they are private

private onPointerDown;

How to subscribe to them?

SECOND, baseTexture used to have a "once" method, this method allows us to get notified when the texture is loaded it's really useful for my loading bar. However now I cannot find anything to get notified.

I guess for these two points, I am missing something

thank you for your help.

 

 

Edited by freddyInKorea
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...