I am making a quiz game. I am stuck in middle of the project and I'm looking for some help.
I have 4 sprites, I finding a way to get it arranged in a horizontal order. Also, their order (position) should be different every time the layout starts (random every time the layout starts). Please see the image below:
Once that is solved, I'm finding a way to do this:
Say there is a question and I have 4 answers which are all images. When the user click the image with his mouse, If the answer is correct, the sprite moves to the top position (animate the movement) and replaces the one which was there. The worng answer which was on the first position moves down to the empty space of the correct answer.
Thank you very much in advance. Really appreciate if I can find any help with either of the above issues.