Before proceeding, please use the forum search feature at the top of the page to check if your question has already been answered.
How do I…
So this is a simple game, There is a pile of socks, you are presented another sock with a patern, you find teh sock and click on it and if it matches, the pile resets… Well it should
All the socks on the back layer reset with no isses
the socks on the Top layer do not
what it should do, is shuffle an array with 20 numbers in it,
then if should loop through every sock on the top layer, and change its animation to the frame number of the variable, and +1 to the variable, so it loops through the array
The issue is it does not change the anmation and i cant figure out wy
.
What is the expected result
if socksChanged is false it should then change the animation of the socks, the animation doesnt change, everything else is working perfectly fine its just the animation.
What is the actual result
everything on back resets and id of 500 resets but nothing on top resets and changes animation.