Questions tagged [scratch]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
63 views

PSET0: Updating x, y position of projectile every time it's fired

I'm creating a shooter type of game for my first assignment. The enemy moves randomly across the screen and I want the projectiles to fire from it's current position. As of now, the projectile ...
0
votes
1answer
93 views

scratch submission issue

1.the "download to computer" (in file menu) of scratch does not do anything when I click on it... 2.so I just went to the file option in the safari menu bar and clicked on save as 3.then I get a box ...
0
votes
1answer
42 views

How to create a series of if-else statements in scratch?

Could someone help me translate the following program to Scrach? _Bool US_Citizen; if (US_Citizen == 1) join spaceX; else-if (US_Citizen == 0) Become an alien resident else Send the cat ...
0
votes
1answer
18 views

Different values for position of sprites - why

Why does the position indicator for a sprite (x or y) when dragged from the Motion menu reflect a value that is not the same as the x or y position indicators at the bottom right of the stage?
0
votes
1answer
21 views

How to make say command words disappear in scratch?

I'm working on my Week 0 assignment and I got my sprites to say stuff but the problem is I don't know how to make the stuff they say disappear after they've said it. I've tried the hide piece under ...
0
votes
1answer
61 views

Conditional Statement for manipulating multiple sprites (Scratch)

I made a scratch game where I have a dog (moves with arrow keys) that is trying to catch a butterfly (randomly moving around the screen) I also have 2 tree sprites. If the dog hits the tree then the ...
0
votes
2answers
107 views

Scratch Pset0 Not Graded

I have submitted Psets 0 - 4 and have received my grades for all of them except Pset 0. It's been a few months and my Scratch project still has not been marked. I've been checking my gradebook quite ...
0
votes
2answers
147 views

How do I submit pset0 using cs50 ide (edx course, 2017), or there is another way?

I've submitted psets 1 to 8 through submit50 on the cs50 ide. Now I want to submit pset0 (the Scratch Project). How can I do so?. I'm using the edx cs50 ide of the 2017 course.
0
votes
1answer
171 views

Will i get scores after submitting pset0 scratch project?

I have already submitted the scratch project for cs50 pset0. For other psets i have got scores in the gradebook but for scratch there are no scores , just three dashes ---. Is this generally the case ...
0
votes
1answer
90 views

pset0 scratch how to pause the game

I made my game on scratch but I'm having a few problems. One of them if that I couldn't make work the pause/play by pressing P. Also, I think the ball is not bouncing as it should when hitting the ...
0
votes
1answer
66 views

pset0 - Scratch - Problem with sprite turning right

In short The sheep won't turn right. You can see the project here. (screenshot at the bottom) https://scratch.mit.edu/projects/75999804/#editor Longer Story I went slightly beyond the scope of ...
0
votes
1answer
18 views

Why does sound begin playing when app launched?

I'm late to the party I know but I'm a retired programmer and I plan to catch up quickly. I've used Scratch to teach Hour of Code and I'm basically familiar with it.But my project is currently ...
0
votes
1answer
29 views

PSet0 Switch Costume Bug? or Code error

I trying to design an game which works somewhat like a rubix cube. In my app if the A key is pressed the squares in the top row are supposed to move from right to left. So the square in the top right ...
0
votes
1answer
53 views

PSET0 Question - Scratch Help. How can I get a sprite to bounce around aimlessly inside of a maze?

I'm having trouble getting a mouse to bounce around aimlessly inside of a maze. I created a maze sprite, and I have the mouse constantly moving in the pointed direction at 3 steps. However, while ...
0
votes
1answer
20 views

How to make a grouping in scratch?

How can I group sprites in one group to make it easier?
1
vote
1answer
272 views

scratch global functions

PSET01 Quick question about Scratch, can you set global scoped FUNCTIONS (or blocks?) that i can reuse across sprite scripts? Example would be creating a custom animation function for "next costume", ...
0
votes
1answer
34 views

Problems with “when color touches color”

I am currently trying to create a guessing game in Scratch that will play a soundtrack from the game Dark Souls, and you will get two choices (doors) of which boss the music is from. I want it to work ...
0
votes
2answers
35 views

Having issues with a scratch “If” function

I'm having some issues with this "If" scratch function. Can someone tell me if I'm doing somethign wrong? Here is the link to the game. I'd apprecite the help! Thanks!
0
votes
1answer
114 views

Bug in game of scratch

I have a running project https://scratch.mit.edu/projects/71129428/ the problem is the fish in it stuck sometime and scores keep increase. I was thinking of an idea that i may need to apply id to ...
0
votes
1answer
57 views

pset0 - sprite movement problems

I'm new to Scratch and have some problems with movement of sprites. When the sprites move horizontally, it works well. But, when I try moving them diagonally, it warks only sometimes. Here's my ...
0
votes
1answer
51 views

pset0 how to hide or delete object in Scratch

I'm re-generating a fish object in forever loop, i want to work it as if i sense touch to the fish it should disappear / delete while the original fish keep on generating fishes. Everything is going ...
0
votes
1answer
65 views

SCRATCH: motions stopped working even after no codes were changed

i have a lioness sprite that after clicking her used to turn 90 degrees to the left - glide northwest - then back 90 degrees to the right - now she just glides to the left without turning - i also ...
2
votes
2answers
128 views

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

What does it mean "Your project must have at least three scripts total"? Does it mean three structure of "When GREEN_FLAG clicked and so on..."?
0
votes
3answers
42 views

week0-shorts-threads-example

Am getting an inverted fish after gliding towards one end. Though I used the same code. Kindly get back to me.
0
votes
1answer
53 views

http://scratch.mit.edu/ fails to open for me to upload my problem set 0 for the past 4 days

http://scratch.mit.edu/ fails to open for me to upload my problem set 0 for the past 4 days. I had been able to access it before & even registered. It fails on my smart phone & other browser ...
1
vote
1answer
3k views

Scratch - resetting the position of sprites after stopping a program

I have four sprites in my Scratch program, and they move around to various positions throughout my program. I'm testing now, and will start and stop intermittently. When I stop, I cannot figure out ...
0
votes
1answer
39 views

Looping and calling items in a list

Say, a list containing 5 elements as 1. Apple 2. Banana 3. Cat 4. Dog 5. Elephant Now how do I call (say) each item in a "LOOP" one after another. Eg. { apple(item1) for 2 sec banana(...
0
votes
1answer
19 views

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

when I click on "see inside"(when editor is open) of the project then only above mentioned operation executes else the respective scratch remains standstill. What can I do to make it work on project ...
0
votes
1answer
69 views

Scratch: Broadcasting of messages

Am completely new to programming and trying to experiment a bit with Scratch as part of week 0. So far lots of fun. But now I am facing a problem: Aim is to not get eaten by sharks. I have created ...
0
votes
1answer
52 views

scratch page isn't loading

the link scratch.mit.edu isn't loading. It has opened before but recently no success. "The server at search.mit.edu is taking too long to respond"
0
votes
1answer
26 views

Problem with “When I receive message” block

I have some problem with the "When I receive message" block in my scratch project. Sometimes the block worked just fine but other times when the corresponding message was broadcast, after receive the ...
0
votes
1answer
47 views

What more to do in Scratch

I have completed doing all the exercise videos of scratch present in week 0 of CS50. I have no programming background but this one week of practicing programs on scratch has helped me a lot, I want to ...
0
votes
1answer
418 views

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

I have attached the snippet of an excerpt from my Scratch project, Shoot 'Em Zombies. It is basically a simple zombies shooting game. I want to set "Main" to be the background music and switch ...
0
votes
3answers
82 views

Borrowing a sprite from another project

I found a sprite that will work well in my project. I think it would take excessively long to make my own similar sprite. I don't want to borrow the scripts, just the sprite and its costumes. Is it ...
0
votes
0answers
51 views

Touching Color Issues, Recursion and Pseudo-randoms in Scratch

http://scratch.mit.edu/projects/42012966 Hello All, So I was trying to build this little recursive scribbler that makes random little networks of lines, basically like an ant colony but have run into ...
0
votes
2answers
5k views

Can Scratch backdrop be resized?

If I import a photo as a backdrop for Scratch, can I resize it to fill the Scratch screen? If so, how? Am I overlooking a piece like that used to resize sprites? Thank you.
0
votes
1answer
32 views

Policy on using images from the internet

I know this will sound stupid but does anyone know the policy for using images from google in your own scratch project?
1
vote
1answer
177 views

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

I am writing a "beer pong" program and trying to get my hand sprite to release a ball in an arc to shoot into a beer cup. I am struggling to get the ball to release when I press space bar to go in an ...
0
votes
3answers
754 views

Can I skip Scratch Problem Set ?

I've started taking the course, but I can't edit the code in Scartch editor, it crashes and tells me it will notify MIT. Can I skip this pset and go to the next one ?
1
vote
1answer
43 views

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

I attempted to make a basic game where you should click the Dragon and not the girl. I wanted to make it so that when you click the girl you lose a health point and when your health point reaches 0 ...
1
vote
1answer
46 views

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

I had a project in mind for pset0 but can't find the animal I want. How can I add a new sprite to my Scratch project?
0
votes
2answers
57 views

What is a competent browser for Scratch? All seem buggy

I wonder if someone could please help me to get a browser(any browser!) working well with Scratch? In Chrome, Scratch looks fantastic but seems buggy beyond belief (right-click dropdowns not working &...
0
votes
1answer
111 views

Can't move sprites in the Scratch project page

I made a game using Scratch, which you can see here. This game is working fine in the editor window but on the "Project" page when I click the cat sprite, it does not move! Another bug: Why are the ...
0
votes
0answers
75 views

Walkthrough cat/bird in Scratch

I duplicated the walkthrough where the cat chases the bird, but it does something completely different. The cat never catches the bird and keeps a set distance. Whenever the cat goes near, it suddenly ...
3
votes
0answers
159 views

Functions returning a value?

I'm trying to implement multi-dimensional arrays in Scratch, for an implementation of maze generation. To simplify, I'd like to implement a couple of custom blocks which return a value, e.g. ...
1
vote
1answer
576 views

How do I submit pset0?

I started the cs50x online course a few days ago and I've just finished my Scratch program for pset0. I'd like to submit it, however I can't find pset0 in the submission interface on http://apps.cs50....
0
votes
1answer
25 views

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

This is sort of a follow up to a previous question about touching: In my game, clones of bats appear and move slowly down the screen and are to be shot down. I've fixed the problem where the bats didn'...
2
votes
1answer
1k views

Problems with clones sensing “touching” in Scratch

In my game, clones of bats appear and move slowly down the screen and are to be shot down. The biggest problem that I'm having is that for some reason it isn't always registering when the laser bolt ...
1
vote
1answer
1k views

Do I have to do problem set 0?

I was wondering, do I have to do problem set 0? I already have prior programming experience, and I'm hoping to get an Honor Code certificate, but Scratch seems a bit ridiculous to me (without wanting ...
0
votes
3answers
47 views

Pset0 Cant figure out some bug [closed]

Can someone check why only “Auch” broadcast is working in my "starfish" script and not the “Auch2”? I made them the same way. http://scratch.mit.edu/projects/24876229/