Discuss Scratch
- Discussion Forums
- » Italiano
- » Come si fa un controllo che segue il mouse che funziona bene?
- guythatdoesprojects
- Scratcher
3 posts
Come si fa un controllo che segue il mouse che funziona bene?
i miei non funzionano bene
- electrogame02
- Scratcher
500+ posts
Come si fa un controllo che segue il mouse che funziona bene?
per sempre
raggiungi [Puntatore del mouse v]
end
M O N K E .
- PixyPixel
- Scratcher
48 posts
Come si fa un controllo che segue il mouse che funziona bene?
Il codice più semplice è questo:
Quindi lo sprite andrà per sempre al puntatore del mouse.
Ma, ci stanno altri modi, come ad esempio:
ESEMPIO 1:
ESEMPIO 2:
Ecco qua, spero ti è stato utile. Ciao!
quando si clicca sulla bandiera verde
per sempre
raggiungi [puntatore del mouse v]
end
Quindi lo sprite andrà per sempre al puntatore del mouse.
Ma, ci stanno altri modi, come ad esempio:
ESEMPIO 1:
quando si clicca sulla bandiera verde
per sempre
vai a x: (x del mouse) y: (y del mouse)
end
ESEMPIO 2:
quando si clicca sulla bandiera verde
per sempre
vai dove x è (x del mouse)
vai dove y è (y del mouse)
end
Ecco qua, spero ti è stato utile. Ciao!
- philipp2007
- Scratcher
100+ posts
Come si fa un controllo che segue il mouse che funziona bene?
per sempre
raggiungi [puntatore del mouse v]
end
per sempre
vai a x: (x del mouse) y: (y del mouse)
end
when Scratch joined :: events hat
forever
visit the webiste of [philipp2007 v] at [https://ggigabyte.repl.co] for more cool stuff @loopArrow :: motion stack // it's 100% free!
@greenFlag make epic projects :: variables stack
@turnRight don't care about followers :: sensing stack
- Discussion Forums
- » Italiano
- » Come si fa un controllo che segue il mouse che funziona bene?