This is my very first question here
I'm creating an online card game, i followed kittiewan's tutorial:https://www.scirra.com/tutorials/280/creating-a-memory-match-game
Also i took a look at this thread : https://www.scirra.com/forum/viewtopic.php?t=64076&start=0
The way of making those two games above is almost the same:
Create a sprite object and then store all cards in an animation, so that every card represent an animation frame, and then to show differents cards on the fly they used the Set Animation Frame To action ......
Please correct me if i'm wrong:
I'm looking for a way to make a flexibal and maintenable game, i found the method (using animation to switch between cards) not really good, because i can't animate a particular card(using a animation frame again) anymore...
My idea is to create a sprite object for every card, so that i can add an animation to some cards and so on...
Any advice/idea about those two methods? pros/cons?
Tanks in advance!
Develop games in your browser. Powerful, performant & highly capable.
You may use one sprite and load the different images into instances of it. Also, you should have a php to update the deck everytime you connect to the game, so it download new cards when they're available.