Alexander Farber Posted November 5, 2020 Share Posted November 5, 2020 Good evening, I work on a card game with draggable 2D cards. I have attached a screenshot and the source code in a test file of my card game. My question is: Does anybody know, how to achieve a perspective effect for the cards similar to the one you can see on the other attached screenshot (from the game Solitaire)? How to make the cards squished vertically and slightly wider on the bottom? Thank you for any ideas stage-scale-card-shadow.html Card.js Shadow.js Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted November 5, 2020 Share Posted November 5, 2020 (edited) Its in our examples. https://pixijs.io/examples/#/plugin-projection/cards.js Any problem with this? Do you require some explanations? Edited November 5, 2020 by ivan.popelyshev Quote Link to comment Share on other sites More sharing options...
Alexander Farber Posted November 5, 2020 Author Share Posted November 5, 2020 Thank you, Ivan, I did not notice that plugin. 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.