Discuss Scratch

computerateacher
Scratcher
44 posts

What happened to my sprites?

How come my dog sprites don't show up and how come my game keeps freezing and crashing? Are there current issues with Scratch's servers?

Here's my game so far:

https://scratch.mit.edu/projects/269176010/#editor
ImpulseGamer
Scratcher
19 posts

What happened to my sprites?

computerateacher wrote:

How come my dog sprites don't show up and how come my game keeps freezing and crashing? Are there current issues with Scratch's servers?

Here's my game so far:

https://scratch.mit.edu/projects/269176010/#editor
None of us can see it. The project is unshared. From what you've said you may have overloaded what it can handle. (too may scripts, clones, sprites ect.)

Sincerely, some one that you probably don't know.
when I receive [ social interaction ]
hide
repeat until < (person gone)=( yes) >
point towards [ corner ]
go to [ corner and cower ]
end
computerateacher
Scratcher
44 posts

What happened to my sprites?

-ShadowOfTheFuture-
Scratcher
1000+ posts

What happened to my sprites?

I think the problem might be in the sprite named “PlayerBlock” - it's starting off at the bottom of the screen and triggering the “game over” broadcast, which is hiding the dog sprite and stopping the project.

Try adding a “go to x: () y: ()” block (or something like that) somewhere before the forever loop in the PlayerBlock sprite to reset its position so that it doesn't start at the bottom upon the beginning of the project.

when green flag clicked
go to x: (0) y: (0) // replace the 0's with the box's initial position
set [TakeOffSpeed v] to [12] // your original script
set [RunSpeed v] to [5]
...
forever
...
end

Last edited by -ShadowOfTheFuture- (Dec. 11, 2018 21:14:46)


<Insert uncreative signature here>









██       ██  ██            ██  ██       ██
██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ ██
██ ██ ██ ██ ██ ██ ██
███ ███ ██ ████ ██ ███ ███
█████████ █████ █████ █████████

“Though the seasons come and go, and sunshine turns to snow, we will always have tomorrow up ahead.”
computerateacher
Scratcher
44 posts

What happened to my sprites?

-ShadowOfTheFuture- wrote:

I think the problem might be in the sprite named “PlayerBlock” - it's starting off at the bottom of the screen and triggering the “game over” broadcast, which is hiding the dog sprite and stopping the project.

Try adding a “go to x: () y: ()” block (or something like that) somewhere before the forever loop in the PlayerBlock sprite to reset its position so that it doesn't start at the bottom upon the beginning of the project.

when green flag clicked
go to x: (0) y: (0) // replace the 0's with the box's initial position
set [TakeOffSpeed v] to [12] // your original script
set [RunSpeed v] to [5]
...
forever
...
end
Thanks. That indeed fixes it!

Powered by DjangoBB