Jump to content

Gameofbombs Pixi.JS fork: 3D transforms, camera, z-index


ivan.popelyshev
 Share

Recommended Posts

That's mah fork: https://github.com/gameofbombs/

This branch is also known as dev-experimental-geometry and pixi v4.1. It is the bleeding edge, and only about 5% of it was discussed as PRs in main pixi.js (like https://github.com/pixijs/pixi.js/pull/2465 )

Demos: http://gameofbombs.github.io/pixi-bin/

Best demo is outdated, though it will be converted to pixiv4 soon: http://monsterisland.chimeracompanygames.com/lux-demo/index.html (use mouse and QE)

ILHYoe7BcI6wjgo7FPeKmnTKeSnnqd.png

Changes: 

1. 3d Transforms. We have them now.

2. Static transforms: enabled by default, new Transform2d(true), dont have to recalculate whats already calculated, increases performance for most-static 2d and 3d scenes.

3. Camera: lookPosition, lookRotation and lookEuler - camera looks at specific point

4. Camera: zIndex, zOrder - YES, THE PAIN IS GONE! Regardless of how will you group your sprite into containers, they will be sorted for rendering and interaction

5. Proxies - experimental, special for gameofbombs.com, I dont guarantee their work in other projects yet.

Contributions:

1. This fork will have fast iterations, the only relatively stable thing will be API that specified in demos

2. Binaries are stored in pixi-bin and not pixi.js sources3. PR's should be made into 'master' and not some 'dev' nonsence

Current projects:

1. gameofbombs.com conversion to pixi

2. Poker game with 3d cards.

UPD. Babylon goes 2D according to this: 

 Well, now PIXI strikes back!

 

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