Discuss Scratch

gmd65
Scratcher
44 posts

DVD screensaver script

I made a DVD screensaver in Scratch (because of memes), but it doesn't work.
https://scratch.mit.edu/projects/289595112/
What's wrong?
deck26
Scratcher
1000+ posts

DVD screensaver script

What's wrong with it? You're gliding to impossible positions so the sprite will hit an edge and slide along it.
gmd65
Scratcher
44 posts

DVD screensaver script

deck26 wrote:

What's wrong with it? You're gliding to impossible positions so the sprite will hit an edge and slide along it.
But I programed it to stop when it hits one.
deck26
Scratcher
1000+ posts

DVD screensaver script

gmd65 wrote:

deck26 wrote:

What's wrong with it? You're gliding to impossible positions so the sprite will hit an edge and slide along it.
But I programed it to stop when it hits one.
The code doesn't move on from a glide block until the glide is completed so there's no point stopping other scripts when the glide has finished.

gmd65
Scratcher
44 posts

DVD screensaver script

deck26 wrote:

gmd65 wrote:

deck26 wrote:

What's wrong with it? You're gliding to impossible positions so the sprite will hit an edge and slide along it.
But I programed it to stop when it hits one.
The code doesn't move on from a glide block until the glide is completed so there's no point stopping other scripts when the glide has finished.

Nevermind. I just wanted to make it smooth.
Anonymous1212144
Scratcher
100+ posts

DVD screensaver script

Will this help?

forever
if <<([abs v] of (x position)) > [235]> or <([abs v] of (y position)) > [175]>> then
bounce
else:
move
200Cranck
Scratcher
1 post

DVD screensaver script

agurkai yra 77

Powered by DjangoBB