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

#1 2012-03-31 21:06:44

Slish
New Scratcher
Registered: 2012-03-31
Posts: 4

Scratch changes every time I save it

So I am working on a school project. I decidet to remake the pong game and I got pretty far.

Here is the link: http://scratch.mit.edu/projects/Slish/2437506

My problem is, everytime I save the scratch changes. What I mean is:
I save, and the bricks disappear if they get hit by the ball.
I save again and they dont disapear anymore... I have no idea why.

The first level runs with no problems but in level 2 the bricks wont disappear although they are almost the same as the level one bricks.

Could someone help me pls?!  smile

Offline

 

#2 2012-03-31 21:09:47

Slish
New Scratcher
Registered: 2012-03-31
Posts: 4

Re: Scratch changes every time I save it

The game name is PonG2 in case the link is not working.

Offline

 

#3 2012-03-31 22:31:46

chanmanpartyman
Scratcher
Registered: 2011-05-30
Posts: 500+

Re: Scratch changes every time I save it

If you are using Scratch 1.3 or importing the project, rather than opening it you may run into this problem. This does not belong in this topic though. There is another topic all about glitches.

Offline

 

#4 2012-03-31 22:52:50

Slish
New Scratcher
Registered: 2012-03-31
Posts: 4

Re: Scratch changes every time I save it

well I wasn´t sure if its a glitch or if I have done something wrong.
I´m using 1.4 and I have opened it ...

Offline

 

#5 2012-03-31 23:03:34

chanmanpartyman
Scratcher
Registered: 2011-05-30
Posts: 500+

Re: Scratch changes every time I save it

Just try it again. That's all you can really do. Or you may have just changed it a little bit when you just opened it.

Offline

 

#6 2012-03-31 23:20:18

AtomicBawm3
Scratcher
Registered: 2009-06-27
Posts: 1000+

Re: Scratch changes every time I save it

The reason for the showing and hiding is probably caused by your scripts in blocks 11-18.  They hide or show based off if a variable is greater than 1 or not.  Chances are, that test is happening too quickly for your program to respond correctly.  Also, there's a much easier way for you to do the counters  smile .  When you create a new variable, the window that pops up has two options of the variable type: for all sprites and for this sprite only.  Choose for this sprite only.  That way, you can make a variable called counter for each of the sprites without ever having to add a number onto the end to change the name.  You also don't have to change a bunch of scripts when you do this.  In order to copy the variable over to other sprites, simply drag in a variable reader or a variable setter or changer block to the sprite you want to put the "local" variable in.


http://i50.tinypic.com/j0yw0p.jpg

Offline

 

#7 2012-04-01 02:35:58

Slish
New Scratcher
Registered: 2012-03-31
Posts: 4

Re: Scratch changes every time I save it

Thank you for the answers! I´m pretty new to scratch so I still have a lot to learn..
But I managed to "fix" the problem and it should work now as intended!
Here is the new LINK produce

Thanks again!

Offline

 

Board footer