Help with Games

#1

The following games are not working properly for my students that they are trying to build:

Characters not functioning correctly

Our animation is making stamps of itself, we can’t make another pie fall when the kid catches it which is making the score not go higher

Our characters can’t move.

I can’t get both of our characters to jump.

#4

Hi!

It looks like your students have some really great ideas for games. The common issue I see in this code is not knowing what should go inside or outside the draw loop. You may want to do a short review lesson with your students, reminding them that anything that sets up the game, such as creating sprites, initializing variables, etc., should go outside the draw loop and anything that involves updating sprites, such as moving them with the counter pattern or checking for interactions, should go inside the draw loop.

I would also advise them to look at sample programs or projects that have similar behaviors to what they are looking for. For example, there plenty of games in the second half of the unit that “loop” sprites back to the other side of the screen once they either travel off screen or have an interaction with the player sprite.

We are working on a “bug report” sheet that might be helpful in getting students to reason a little more about the bugs that they are having.

For students who simply do not know how to implement a feature, you may want to refer them back to the problem solving process, in particular the “prepare” step. What are previous ways that this problem has been solved? Can they break this problem down into smaller parts? etc.

I’ll let you know when we have the bug report sheet, and please let us know how it goes with the students!

Elizabeth

#6

Maria,

Just checking in - were students able to solve the issues with @elizabeth_admin suggestions?

Brad

#7

They were not. I am still new myself to this site and was not able to help them how I wish I could.