I’m hoping somebody can help guide me in the right direction to implement a technique to roll back cards. The game I’m working on is a casino card game in which the cards will be dealt face-down on the table. I need to implement the idea of “card squeezing”. This is a technique players use to roll the card from an outer edge or corner to gradually reveal the face value of the card. They may start by rolling the top or bottom edge first to reveal a little, then they may either squeeze again from the corner, or rotate the card around and squeeze from from the left or right hand (longer side) to reveal another part of the card.
The game will mainly be for Android and iPhone, thus input will come mainly in the form of gestures although I’m also hoping to deploy it as a web version so that input will come from the mouse. To that extent I’ve been using FingerGestures for my work so far to handle input in the form of drag gestures. I’m hoping to using those scripts to manipulate my playing cards. My work so far is to have a single card as a plane game object receiving the input gestures. I’m wondering what would be required to achieve the effect I’m after. The closest I’ve come up with so far is to try and apply a page-flipping effect.
If anybody has some general suggestions or hints that would be greatly appreciated. Thanks in advance.