1) I have two sprites (sprite1 and sprite2) with the same animations (10 in total) with different amount of frames each:
anima1 = pic1, pic2, pic3, pic4, pic5, pic6, pic7, pic8, pic9, pic10
anima2 = pic3, pic5, pic7, pic8, pic9, pic10, pic12, pic15, pic16, pic17, pic18, pic19, pic20
anima3 = pic1, pic3, pic5, pic7, pic9, pic11, pic13, pic15, pic17, pic19, pic21
anima10 = pic2, pic3, pic4, pic12, pic13, pic14
2) The game will have 6 categories and each category will have references for some animations of the sprites I have cited:
category1 = anima1, anima3, anima5
category2 = anima2, anima4
category3 = anima1, anima2, anima3, anima4, anima5, anima6, anima9, anima10
category6 = anima1, anima2, anima5, anima6
3) The player will choose between numbers 1 and 6 and the system needs to get the categories of the respective group and show a randomly frame of a randomly animation of the sprite1 and a different randomly frame of a randomly animation of the sprite2:
Player choose number 3
sprite1 = anima2 / pic4
sprite2 = anima10 / pic14
4) The player now needs to chose one of these two pictures and each will have a different value that I need to add to a score that represents the animation (each frame of each animation has a different value):
Player choose pic14
Add 5 to the scoreAnima10
The last process (4) needs to repeat 10 times.
At the end, I need to show the total score and what animation wins. If we have a tie, the system needs to show images of the respective animations to tie up.
I need to understand what I need to do for each stage of the script.