Jump to content

is there a reason using observablePoint on DisplayObject?


Recommended Posts


i'm testing to immigrate to v4.1.1 from 3.1.1

but i have many problems.  
   specially observablePoint...

why using it?  i'm wondering...

i used  expended PIXI.Point (added function like distanceTo, subtract, equal.....dot..);

but  v4.x added observablePoint on DisplayObject.. ..

so i can't use expended PIXI.Point with observablePoint..


Link to comment
Share on other sites

Observable point is a point objects that emits events when things change, this allows us to minimize the number of times we update matrices. This is one of the reasons that v4 is often faster, and this is one of the reasons why people say don't extend built in types, use helper methods instead :)

Link to comment
Share on other sites

  • 2 weeks later...

@xerver thx...xerver
@ivan.popelyshev it's not find.. i gave example .

pixi-spine(only new version, 1.2.3, 1.3.0) can't player multianmation with addAnimation function

addAnimation(0, 'play_bg1', treu);
addAnimation(1,  'play_bg2', treu);

if use upper code, spine play play_bg1, play_bg2 at same time..

but pixi-spine play last aniamtion only..

this is happend with new version(old version is good);



Link to comment
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.

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.


  • Recently Browsing   0 members

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