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?!
Offline
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
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
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 . 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.
Offline