Flipping solitaire cards with core images
Posted: Fri Feb 01, 2013 11:36 pm
Hi:
I am trying to flip cards in my solitaire game using core images.
Card1 is the card back and card2 is the same card face up.
The problem is that if I use lock screen/unlock screen, as in the example above, it shows card2 and then curls it. If I don't use lock screen/unlock screen, as follows ...
... I have the same problem. How can I make the card as a card back curl up to reveal the same card face up? Thank you very much for any suggestions.
Paul Gabel
I am trying to flip cards in my solitaire game using core images.
Code: Select all
on mouseUp
lock screen
put image "card2" into image "card1"
unlock screen with visual effect CIPageCurlTransition slow with angle 0.3 and backsideImage id 15444 and extent (0,0,400,300) and radius 200.00 and shadingImage id 15449
end mouseUp
The problem is that if I use lock screen/unlock screen, as in the example above, it shows card2 and then curls it. If I don't use lock screen/unlock screen, as follows ...
Code: Select all
show image "card1" with visual effect CIPageCurlTransition slow with angle 0.3 and backsideImage id 15444 and extent (0,0,400,300) and radius 200.00 and shadingImage id 15449
Paul Gabel