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
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Game development stories & opinions
I want to make a game where you click a button to draw one of 30 cards from a deck and it shows on the screen.
Then a simple back button to the main menu to do it again.
No platform, no scoring, no points.
Is it possible to do in this program?
Yes it is possible.
Create a sprite or an array which hold your 30 cards and then use the random() function to pick a random card.
And then display it.
Yes, fill an array with your cards (+ their properties if you want), could add shuffling or just let the system pick a card randomly out of the array if sequence of cards in the stack doesn't matter.
maybe this thread could help you
as i do it:
make an object with 30 animations. name them like "card1", "card2", ...
then i create an variable which creates a random number to choose a random card. => round(random(1,30))
Develop games in your browser. Powerful, performant & highly capable.
Thats fantastic! I hope to have something made by next week. Wish me luck! Anyone hang out on skype for random messages back and forth?