Hot answers tagged

5 votes
Accepted

What does it mean "Your project must have at least three scripts total"?

according to http://wiki.scratch.mit.edu/wiki/Script: A script is a collection or stack of blocks that all interlock with one another. The blocks and their order are very important, as they ...
4 votes
Accepted

PSet0: Can Numberical Values be set for Sprites and Or Costumes? (and related questions)

Can you set numerical values for sprites and/or their costumes? There's a variable under the Looks category named costume # that stores the current costume number of the sprite. You can use variables ...
user avatar
  • 17.4k
3 votes
Accepted

pset0 - sprite movement problems

In your're script window, when the Scratch game is running, you can actually see what script is running. From this, you can see that the Dragon is not moving to the original position because "when I ...
user avatar
3 votes
Accepted

Problems with clones sensing "touching" in Scratch

What you are seeing is subtle problem called a 'race condition' which is encountered quite often in programming, especially in asynchronous programs like yours. At the moment your program is designed ...
user avatar
  • 2,625
3 votes

In "cough-4," is it better to define 3 functions or 1 function?

Pay attention to the end of the video, where Prof. Malan explains the purpose of user-defined functions: ... as our programs get much more complicated, and our programs more sophisticated, this ...
user avatar
  • 2,146
2 votes

Pset0 Cant figure out some bug

Yes, both are working fine. Don't worry.
user avatar
2 votes
Accepted

How do I submit pset0?

Yes, you can. The final deadline is 31 Dec 2014. pset0 isn't submitted through the submit page. The instructions are listed at the end of the pset. How to Submit To submit this problem set, head to ...
user avatar
  • 18.3k
2 votes
Accepted

Problem with "When I receive message" block

The problem is caused by "Sprite 21". There's a script that says forever if disappear is 18 broadcast "block-disappear" The problem is that even after the message is broadcasted, ...
user avatar
  • 17.4k
2 votes
Accepted

Why does this check for equality fail to trigger in my Scratch project?

The problem is that the condition Lifes = 0 is only checked once, when the game starts. At that point in the game Lifes = 3, always, so the first condition is ignored because it is false, and the else ...
user avatar
1 vote

Bug in game of scratch

if you change the code for adding plus one to the score from the cat sprite to fish sprite under when recieve eated it works as desired Here is a screen dump of what i mean
user avatar
1 vote
Accepted

pset0 how to hide or delete object in Scratch

You can try out something like this: Let me know if it worked!
user avatar
  • 7,326
1 vote

SCRATCH: motions stopped working even after no codes were changed

If you want the cat to move when the lioness moves, you need to broadcast an event. Broadcast an event whenever the lioness moves, and in the cat tab, whenever you receive that event move.
user avatar
  • 1,211
1 vote

What does it mean "Your project must have at least three scripts total"?

In scratch, scripts are the colored blocks which have written command on it. You have to use it to move your sprite ( i.e the character ). The blocks get joined as soon you take them close. In your ...
user avatar
1 vote

Scratch - resetting the position of sprites after stopping a program

You're looking for something like this: What this does is saves the location data before the code executes, then when you wish to restore the positioning, you can hit space and it runs. Also, for ...
user avatar
  • 200
1 vote

In Scratch "point towards mose pointer" works only when its open in editor

forever loop was the solution.
user avatar
1 vote
Accepted

Scratch: Broadcasting of messages

It looks like you have the command to stop the script when Game Over is heard in more than one place (on Shark2, Fish2 and the stage) so you're probably having problems with one sprite ending the ...
user avatar
  • 26
1 vote
Accepted

How can I get a turkey as one of the animal sprites in Scratch?

you can always get a picture of one and import it as a sprite. I designed a couple of the sprites in mine, search for the picture you want, download it, and then in Scratch go to 'Sprites:' at the ...
user avatar
1 vote

What is a competent browser for Scratch? All seem buggy

Why not try to use the offline version? Could be much better. I am using that one and its been flawless.
user avatar
1 vote

What is a competent browser for Scratch? All seem buggy

I did Scratch in Firefox in Linux. I don't use Windows, but 2 things I would check are: Make sure Firefox is up to date. Make sure Adobe Flash plug-in is up to date.
user avatar
  • 195
1 vote

Can't move sprites in the Scratch project page

In the editor window, you can always move sprites around with them mouse in order to set their initial position. This is because you are the programmer, and you are editing the sprites. However, ...
user avatar
  • 2,146
1 vote

What more to do in Scratch

https://scratch.mit.edu/ The site basically contains various of programs peoples have done before in scratch. It can give you a basic idea of what you may try next. Remember, practice plays important ...
user avatar
1 vote
Accepted

Scratch won't play the background music and switch the backdrop in my game. Help pls :(

Place the play sound piece before the forever loop!
user avatar
1 vote

Borrowing a sprite from another project

It's very okay to borrow code snippets and from other works but don't forget forget to give credit and source links. It is reasonable and not against CS50 Honour Code to do so. As per CS50 Honour ...
user avatar
1 vote

Can Scratch backdrop be resized?

If what you want is to upload an image to use it as background, you only have click on the small icon Upload backdrop from file on the left side of the screen under the tex New backdrop, next the ...
user avatar
  • 1,359
1 vote

Policy on using images from the internet

It depends on the license the image falls under. Some images are free for personal use but they usually require you to give credit to the owners of the images. It's better and less time consuming to ...
user avatar
1 vote

how can I throw a ball in an arc in scratch?

I'm guessing you would need to simulate the acceleration due to gravity. Your algo would have to accelerate the ball towards the bottom the equivalent of 9.8 m/s for each second of horizontal flight. ...
user avatar
1 vote

Can I skip Scratch Problem Set ?

If you feel you understand the basics of scratch and are therefore ready to explore C programming, you can. But if doing this course with the expectation of receiving the certificate, the scratch ...
user avatar
1 vote
Accepted

All clones in list affected when only one's attribute changed

All the bats are receiving the event broadcast by the bolt, which is correct. You need a way to filter which bat specifically is being hit by the bolt. Your current solution using the cloneID to ...
user avatar
  • 2,625
1 vote
Accepted

Do I have to do problem set 0?

Unfortunately, yes! Per the course syllabus page Certificates Students who earn a satisfactory grade (60% or higher) on every one of nine problem sets and on a final project will receive an honor ...
user avatar
  • 17.4k
1 vote

Help with implementing collisions and gravity in Scratch

This needs a bit of physics knowledge. It should be basically easy though! Let's imagine how gravity affects the ball in real life! I'm not sure the following will be 100% correct since I haven't ...
user avatar
  • 17.4k

Only top scored, non community-wiki answers of a minimum length are eligible