wijesijp Posted March 13, 2018 Share Posted March 13, 2018 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. Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted March 13, 2018 Share Posted March 13, 2018 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. Quote Link to comment Share on other sites More sharing options...
wijesijp Posted March 16, 2018 Author Share Posted March 16, 2018 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? Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted March 16, 2018 Share Posted March 16, 2018 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. Quote Link to comment Share on other sites More sharing options...
wijesijp Posted March 16, 2018 Author Share Posted March 16, 2018 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. Quote Link to comment Share on other sites More sharing options...
insig Posted March 26, 2018 Share Posted March 26, 2018 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? Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted March 27, 2018 Share Posted March 27, 2018 The only good way i saw for animating flip with this thing is to animate X-axis point around the card. That example requires full 3d transform and i still dont have it. But hey! I've got normal maps working in pixi! http://pixijs.io/examples/#/layers/normals.js Quote Link to comment Share on other sites More sharing options...
insig Posted March 27, 2018 Share Posted March 27, 2018 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. Quote Link to comment Share on other sites More sharing options...
wijesijp Posted April 7, 2018 Author Share Posted April 7, 2018 I have seen several post related to this. Will this get added soon? Really like to use it in my project. Is there a place we can up vote or request features? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.