Discuss Scratch

DanTheCarrot
Scratcher
15 posts

Help! Random Glitches

Hello! Ive got 2 problems
1 - if i want to make it so that when the mouse pointer is touching a sprite how do i get it to stay there and only go away when the mouse pointers of? ive got it sensing the mouse pointer and saying it but it dissappears and reappears because of the timing! how do i get it to now dissapear until the mousepointer is off it?

2- in a game im making ive got a house sprite but for some reason the windows (a box with a cross in it) are glitching and all the lines get messed up, any ideas?

Thanx!!!
drmcw
Scratcher
1000+ posts

Help! Random Glitches

1) Use set ghost effect to 100 instead of hide so that the touch sensing still works and ghost effect to 0 for show.

2) You'll need to share the project to see what the problem is.

10 !
ScratchVaders or Galaga?
Maybe Eliza can help you decide?
DanTheCarrot
Scratcher
15 posts

Help! Random Glitches

Oh sorry i accidently missed out a bit with my first 1 - Basiccly i want it to say something and only say it when the mouse pointer is on it but the timing keeps screwing it up
scubajerry
Scratcher
1000+ posts

Help! Random Glitches

You need to share your project. I don't understand what timing has to do with touching the mouse pointer.

Generally the script should be

when gf clicked
forever
if (touching [mouse-pointer v]) then
say [something]
else
say [] //where the white space is totally empty of characters, including spaces
end
end
DanTheCarrot
Scratcher
15 posts

Help! Random Glitches

Oh sorry, stupid mistake on my part i forgot about the say scripts without time

Powered by DjangoBB