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.
Develop games in your browser. Powerful, performant & highly capable.
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.
scirra.com/forum/randomized-an-array-for-a-deck-of-cards_topic45833.html
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))
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?