This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2013-03-19 06:14:04

MezuKazoo
New Scratcher
Registered: 2013-03-19
Posts: 1

My food on level 2 comes up in level one!

My game is about a fish eating some food. His food in level 2 comes in level 1 when i pres the green flag. My it teacher told me to post it on here. I really need help and it been going well so far. I even tried to do the "WHEN I RECEIVE LEVEL ! HIDE" but it didnt work.

Offline

 

#2 2013-03-19 08:17:48

Harald
New Scratcher
Registered: 2013-03-05
Posts: 34

Re: My food on level 2 comes up in level one!

Try with a variable determining the level of the game.
For all level 1 food:

when gf clicked
forever
if <(level) = [1]>
show
else
hide
And for level 2 food:
when gf clicked
forever
if <(level) = [2]>
show
else
hide

Offline

 

Board footer