Playing Card
by Harrison Brock · in Torque Game Builder · 09/14/2006 (3:55 pm) · 5 replies
What would be the best way to make a playing card object? What this work:
%card =new t2dStaticSprite() {
imageMap = %CardimageMap;
Value = ""; // Card value
Suit = ""; Suit for Card.
};
Or would it be better to make a config datablock?
Harrison Brock
%card =new t2dStaticSprite() {
imageMap = %CardimageMap;
Value = ""; // Card value
Suit = ""; Suit for Card.
};
Or would it be better to make a config datablock?
Harrison Brock
#2
09/15/2006 (6:12 am)
Maybe some one will help uses. I take of buy TGB next month.
#3
09/15/2006 (1:20 pm)
Perhaps... i've heard that even in the private forums there isn't much resources to help you create this type of game. oh well.
#4
%card.type = %type;
I would change the image maps used by the cards on the fly. When first creating the image map would be set to the back of the card and then when flipping the card it would switch to whatever the type was. I had one datablock for each card type.
09/15/2006 (2:25 pm)
In Puzzle Poker I just created a sprite very similar to how you did above. I'd then set the type to indicate which card it was like this:%card.type = %type;
I would change the image maps used by the cards on the fly. When first creating the image map would be set to the back of the card and then when flipping the card it would switch to whatever the type was. I had one datablock for each card type.
#5
Harrison Brock
09/15/2006 (3:00 pm)
Thanks Mr. Ryan for your help. Its has good to know that their is a game compay out there that makes family and Christian games.Harrison Brock
Torque Owner Pesto126