Jump to content

Current status of Pixi development?


d13
 Share

Recommended Posts

Hi Everyone!

I have a gazillion little projects happily running a late version of Pixi v3.

I'm *considering* upgrading to Pixi v4, but before I do, have a few questions:

1. Is there a v3/v4 change log so that I can find all the API changes in one place?

2. Are there any v4 gotchas I should know about? For example, filters?

3. Should I just skip v4 completely,  continuing riding the almost perfect version of Pixi which is v3.0.11, and wait it out till v5?

My only concern is reliability and stability, so any sober advice from the user community and Pixi dev team would be much appreciated!

Cheers,

Rex

Link to comment
Share on other sites

1. I don't think there is a full list of changes from latest v3 to latest v4. There's a changelog of each individual release: https://github.com/pixijs/pixi.js/releases - You could go back from the beginning of the first v4 release onwards, but I'm afraid that's as close as exists as far as I am aware. Multi-texture sprite batching is the big potential performance gain with v4 over v3. The deprecation file will help to see any API changes: https://github.com/pixijs/pixi.js/blob/dev/src/deprecation.js

2. Take a look at our wiki, it covers gotchas / migration guide / advice: https://github.com/pixijs/pixi.js/wiki/

3. If v3 gives you everything you need, and works, then it doesn't matter what new version comes out in the future... it's always going to cause a few problems because upgrading a lib usually does! There are some v5 proposals on the wiki, and some tagged issues on github: https://github.com/pixijs/pixi.js/labels/Version%3A v5.x .

v4 is in pretty much maintenance mode now until v5; there won't be any big changes or breaking changes in the API. I've just shipped a game in v4 without any stability issues, but then each game uses different features, so YMMV :)

Link to comment
Share on other sites

24 minutes ago, themoonrat said:

v4 is in pretty much maintenance mode now until v5; there won't be any big changes or breaking changes in the API. 

Thanks @themoonrat! 

The frequently changing v4 API was the biggest reason I was holding out, so I'm glad to hear that it (seems to???) be stable now.

Link to comment
Share on other sites

You can start by adding https://github.com/ivanpopelyshev/pixi-legacy to the project, it adds some of API's to v3, like Application.

I believe that v4 will be LTS because v5 will have a really big number of internal changes (I even forked it for experiments). Don't wait for v5.

Btw, most of things I'm doing for v5 is or will be accessible through v4 plugins. Two of them: https://github.com/pixijs/pixi-display/tree/layers , https://github.com/pixijs/pixi-projection

And yeah, Filters and Shaders are pain in v4, please read the docs in wiki, I wrote about them (https://github.com/pixijs/pixi.js/wiki/v4-Creating-Filters) and made examples of shader plugins: https://github.com/pixijs/pixi-plugin-example

You can ask me here or join pixi slack to get more info if you describe your case in detail.

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.

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...
 Share

  • Recently Browsing   0 members

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