I have created a deal mechanism (just like regular solitaire) and am working on moving stacks and also detection of correct placement. For the draw pile, the first set of clicks through choose teh card randomly, and assigns a place in the deck to the card, so even the order is kept.
ok, I have started work on it. Since there is a draw pile which I want to be able to reset itself, I am using secondary suit variables to reset the card values in the deck.
Making all of those variables might take a while, but I really think that this program makes it easy :P although I might have to use 52 actual sprites.....or maybe just 8 or 9, and have them multi-task.
Yeah. This project doesn't need 52 sprites, since the suit and numbers are separately stamped. Actually, all of that should be transparent if you follow the directions in the HowTo section. If I were doing solitare, though, where you have to move a lot of things around, it may actually be easier to have 52 sprites (though I would make the cards as small as possible to reduce size).
you definitely should! and of course, you don't have to ask permission. i'm actually surprised that nobody (including myself) did anything with this project, since it's fairly compact and easy to use.
Deck of Cards
This is simply a sprite that is a deck of cards that can be dealt however you want face up or face down, and which can be used as the basis for more complicated projects.
See the "How To" section to learn how to use (it's pretty simple).
-----
For those who care, the state of the cards (whether in the deck) is stored in four long decimals (one for each suit) where the thirteen digits in each array ("1" or "9") can be read or written individually.
The cards are produced as pen stamps (so you don't need 52 sprites), thus you have to keep track of where things are using variables.
Comments
You need to be logged in to post comments
Add a Comment
ok, 8 scripts per card so far. Zero glitches. Think it will work on the site? I am almost done..
(view all replies)Comment Reply
I have created a deal mechanism (just like regular solitaire) and am working on moving stacks and also detection of correct placement. For the draw pile, the first set of clicks through choose teh card randomly, and assigns a place in the deck to the card, so even the order is kept.
(view all replies)Comment Reply
ok, I have started work on it. Since there is a draw pile which I want to be able to reset itself, I am using secondary suit variables to reset the card values in the deck.
(view all replies)Comment Reply
Making all of those variables might take a while, but I really think that this program makes it easy :P although I might have to use 52 actual sprites.....or maybe just 8 or 9, and have them multi-task.
(view all replies)Comment Reply
Yeah. This project doesn't need 52 sprites, since the suit and numbers are separately stamped. Actually, all of that should be transparent if you follow the directions in the HowTo section. If I were doing solitare, though, where you have to move a lot of things around, it may actually be easier to have 52 sprites (though I would make the cards as small as possible to reduce size).
(view all replies)Comment Reply
If you do not mind, I might make solitaire with this!
(view all replies)Comment Reply
you definitely should! and of course, you don't have to ask permission. i'm actually surprised that nobody (including myself) did anything with this project, since it's fairly compact and easy to use.
(view all replies)Comment Reply
Yes. That would be great. That's the reason I put it up. I've been too lazy to finish any card game based on it...Good luck.
(view all replies)Comment Reply
Ooooooooooooooh!!!! Wow! Can I use these?
(view all replies)Comment Reply