Jump to content

How to add perspective to playing cards?


Alexander Farber
 Share

Recommended Posts

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

Absolute_Solitaire.jpg

stage-scale-card-shadow.html Card.js Shadow.js

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