Is it possible to use sprites within a function? Student is trying to use a tree he created in animations, but when he adds several to a function only one tree shows up.
Can anyone help with this?
Hi @sfredericks,
The link you shared does not go to the students project so it is hard to tell what the issue is. Here are some tips based on your question:
- Make sure each tree’s sprite name is different tree1, tree2, tree3
- Then assign each of the trees the same animation
- Make sure they are in different x and y locations (or they will be placed on top of each other and will look like a single tree).
I hope that helps. Good luck!
~Michelle