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

#1 2011-06-09 17:59:08

XxH34dsotXx
New Scratcher
Registered: 2011-06-09
Posts: 1

Please Help Me

Hi, I am just learning how yo use scratch yet I have a game due very soon. I have a problem; one of my stages keep showing up throughout my game yet it is only set to be in one spot. I have downloaded my game to mediafire; if anyone can download it and tell me whats wrong with my file I'd be very happy!
- Link: http://www.mediafire.com/?7ws1m3d56nifmij
- Password: hi

You'll notice the 'bug' in the left corner at the start of the game - it is a blue blotch!

Offline

 

#2 2011-06-09 19:20:08

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: Please Help Me

Ah, your problem is that it's showing a bit despite being off stage because of the way Scratch handles off stage objects. You should modify your script for it bit by adding this inside the forever block:

Code:

If x > -970 or x < -1930
    hide
else
    show
End if

http://www.blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://i.imgur.com/OZn2RD3.png&amp;link2=http://i.imgur.com/duzaGTB.png&amp;link3=http://i.imgur.com/CrDGvvZ.png&amp;link4=http://i.imgur.com/POEpQyZ.png&amp;link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

Board footer