wijesijp

Can perspective view created with Pixi JS?

Recommended Posts

Hi all, 

I am planing to build online black jack game.

I wanted to create a perspective view environment for this game.

I wanted to add animations like flipping cards, squeezing cads,  dealing etc.

I am looking for a game engine for this.

I have not used Pixi JS before. But I do have experience with Cocos Creator.

 

May I know whether something like this be done with Pixi JS? 

If it is possible can someone point to area I should be check?

Greatly appreciate any help you can provide.

Share this post


Link to post
Share on other sites

Entering "not safe for newbies" territory.

I've made a fork like that: https://gameofbombs.github.io/pixi-bin/index.html?s=flip&f=cards.js&title=Cards

Its and old one, so you have to wait before full 3d will be added in https://github.com/pixijs/pixi-projection , and I'll redo that demo for new plugin.

However its possible to make rotating card effect even with current pixi-projection, just rotate axisY point.

Share this post


Link to post
Share on other sites
On 3/13/2018 at 3:39 PM, ivan.popelyshev said:

Entering "not safe for newbies" territory.

I've made a fork like that: https://gameofbombs.github.io/pixi-bin/index.html?s=flip&f=cards.js&title=Cards

Its and old one, so you have to wait before full 3d will be added in https://github.com/pixijs/pixi-projection , and I'll redo that demo for new plugin.

However its possible to make rotating card effect even with current pixi-projection, just rotate axisY point.

Your card game is exactly what I wanted to do. I don't suppose full 3d will get added soon right?

But can you get a perspective view like you had in the card game with current Pixi engine?  

Share this post


Link to post
Share on other sites
9 hours ago, ivan.popelyshev said:

It has estimation between "tomorrow" and "may be next month" :) Truly exponential distribution, but its based on the number of people waiting for it. You're tenth.

I hope you will add it soon. It is really useful feature to have.

Share this post


Link to post
Share on other sites
On 16. 3. 2018 at 11:32 AM, ivan.popelyshev said:

It has estimation between "tomorrow" and "may be next month" :) Truly exponential distribution, but its based on the number of people waiting for it. You're tenth.

Hi Ivan, I would like use this too. I tried used pixi-projection with animated x-axis point, but effect is not so good. I tried to reach exactly the same effect as in flip-card example.

Can you help me a bit?

Share this post


Link to post
Share on other sites

Yea I tried the rotation around the card, but it doesnt look good ://

Btw.: exelent job with the normals, I looked at it earlier and I look forward to use it. Really nice job.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.