Multiple drawSprites in lines of code

Is there any reason why a student would need to put multiple drawSprites in a coding exercise?

It’s overall a good practice. If you wanted to have a game with a menu using multiple groups would be very important. Groups allow you to do a lot of great things, so I don’t see why not use them.

1 Like

I’ve also seen multiple drawSprites used when functions were used to draw several different occurrences of text and backgrounds. I do think it is safe to say, the game would need to have some complexity such as groups mentioned by @IMPixel or multiple functions and layers of text and backgrounds.