by Matt Carpenter (16 Submissions)
Category: Graphics
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (3 Votes)
This OCX is used to draw playing cards wherever in your game. all 52 cards, Plus 2 jokers. It uses the bitblt to draw a card (using a card number (1-52 or 53&54 for jokers)) on a specifyed DC. Real easy. You can make games if you draw cards into different picture controls (so you can have event handeling like clicking or dragging) It also has built in functions to get the suit of a card number, or get the 'value' of a card (scale of 1-13 ace 1, king 13). If you like this, Please vote for me ;)
Download Playing-Card Deck OCX (28 KB)