Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
Was wondering how one would go about creating a card deck in Construct 2.
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 ?
Moved to How do I...?.
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...
Develop games in your browser. Powerful, performant & highly capable.
Any other input ?
searching the forum?