Side-Scrolling Game Help

This is working fine for my student, but she would like to know if there is a way to code all of the obstacles (variables top and bottom 1-4) as a group to save her time.


Your student has good instincts with that question. In looking at the code, I’m guessing that would be very possible and looks like they’ve already started.

Here’s a link to the documentation on creating a group along with some examples. Have them give it a shot and see how far they can get.

We could help debug if they do their best and run into problems.


Thank you! That was actually me remixing her project. :slight_smile: I found the var group code and we are giving it a shot.