Card Deck

Get help using Construct 2

Post » Sun Aug 02, 2015 12:49 am

Was wondering how one would go about creating a card deck in Construct 2.

Image

So basically I want to create a deck that at start of the game will randomly deal out 5 cards from the deck to 2 platers. How would you go about doing that ?
B
3
Posts: 11
Reputation: 179

Post » Sun Aug 02, 2015 1:30 am

Moved to How do I...?.
Moderator
B
113
S
41
G
20
Posts: 1,586
Reputation: 19,116

Post » Sun Aug 02, 2015 1:45 am

I would create a sprite object with a one frame animation for each card in the deck. Then create an array that can be "sorted" to randomize the deck. To deal a card, create an instance of the card sprite and set its animation to the corresponding next value in the array...
B
95
S
33
G
20
Posts: 438
Reputation: 17,640

Post » Sun Aug 02, 2015 5:07 pm

Any other input ?
B
3
Posts: 11
Reputation: 179

Post » Sun Aug 02, 2015 5:19 pm

I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775


Return to How do I....?

Who is online

Users browsing this forum: Rhindon and 18 guests