Question about an Animated Screen Unit 3 Lesson 7

csd-unit-3-lesson-7
#1

I have a student who has project she created for U3L7. She wants her animals (bees, snail, & mouse) and her text to be seen in front of the tree and cloud. I feel it is an order issue, but when I change the order within the project, I get the same result.

Can anyone give me suggestions?

#2

Dave,

You were on the right track - just not inside of the draw loop. At the top of the program when the student creates the static tree parts ( treebottom, treemid1, treemid2) hose aren’t drawn again so they need to be at the top, then when you create the other sprites they would be on top.

As for the text, the text is tricky because it isn’t a sprite, so if you want the text to be on the very top layer, create it AFTER you use the drawSprites block.

My remix: (I believe this is what you were going for) https://studio.code.org/projects/gamelab/3FmZUO0JJ_c8SYa-RGniZv-gBevK28lHoJWRnay9S9U

Let me know if that helps!
Brad

#3

Sorry I never got back with you, but it helped a lot.

Thanks
Dave

1 Like