Unit 3: Animation Card


#1

I have attached three screenshots. My student is trying to rotate the text on the card, but it won’t show up. Any help would be appreciated.
Thanks!


#3

I believe rotation is associated with sprites not the text. You can make the text you want to rotate into a sprite animation and set the rotation speed for the sprite.


#4

Could you share a link to the project so I can poke around. Given that the student is already using some of the more advanced p5.js commands, you might point them towards push and pop instead of attempting to undo translations.


#5

The text code looks fine, I think the issue might be that the student is using a full screen sprite that gets drawn after the text, hiding it. What happens if you move the drawSprites() block to right after the background() block?