My student wants each present to disappear when clicked so on the last click no more presents - I thought she had it figures out, but all sprites are not visible on first click?
Hello @elisa.baughman,
Your current program seems to have more than one issue I’ve covered them all here with a solution with this link: https://studio.code.org/projects/gamelab/LktYHcixpXVKCJFuBjZRohC36AEfi-KE7Rc6lITBMNc/view do let us know if you have any further issues or this isn’t to your liking
Varrience
Hi @elisa.baughman,
Did the student work on it today? I see all the sprites but they are all on top of each other (same x and y). Was this intentional or should the position be adjusted so they can all be seen?
I am not sure why the pc variable is incrementing? Is it needed? Would it not just work to hide (pc1.visible=false) each present if the mousePressed on the sprite?
Is pink supposed to appear if present 3 is pressed? If yes, then pink should be hidden initially when the program runs. I hope these questions help. Let us know if not.
I am sure @varrience solution is fantastic but i was not able to get the link to open?
~Michelle
@melynn I had formatted the link wrong, should be good now you could still copy paste it in the url bar but you should be good to click the link now since it actually is being treated as one
Varrience
Ahhh…yep. Looks great.