Discuss Scratch

saradream
Scratcher
100+ posts

Vorrei un consiglio

Ciao!
Potreste dirmi che blocchi devo usare per fare in modo che una volta che tutti gli sprite sono stati nascosti, possa apparire una schermata?


I'm the host of Languages Studio, if you want to join, come here.
This is the project "Languages Studio Rules and Information
This is my ”Proposta di utilizzo dei tag“ (Italian Forum)
I'm the owner of ”Universal Languages Shop
and I'm the Host of ”Italian Learning Camp“. We need campers!
Join to ”Scratch Radio" (I'm the Head/Owner)! We need musicians and speakers!

US-Systems
Scratcher
1000+ posts

Vorrei un consiglio

saradream wrote:

Ciao!
Potreste dirmi che blocchi devo usare per fare in modo che una volta che tutti gli sprite sono stati nascosti, possa apparire una schermata?

Allora, ti faccio un esempio con due sprite da nascondere. Scrivi i seguenti scripts, dopo aver creato una variabile chiamata Oggetti nascosti:

(Sfondo)

quando si clicca sulla bandiera verde
porta [Oggetti nascosti v] a [0]
attendi fino a quando <(Oggetti nascosti) = (2)> // Sostituisci 2 con il numero degli oggetti che vuoi nascondere
invia a tutti [Schermata v]

(Sprites da nascondere)

quando si clicca sulla bandiera verde
...::grey // Qua ci metti gli scripts che vuoi
nascondi
cambia [Oggetti nascosti v] di (1)

(Sprite della schermata)

quando ricevo [Schermata v]
mostra

Spero che funzioni

Last edited by US-Systems (Aug. 6, 2021 09:51:27)


(IT) Ciao! Mi chiamo Mattia, ho 12 anni e vivo in Sardegna! Mi piace realizzare videogiochi professionali e progetti fantastici su Scratch. Ricordati di seguirmi e di guardare i miei progetti, iscriviti anche al mio canale YouTube! Grazie!
(EN) Hi! I'm Mattia, I'm 12 and I live in Sardinia! I love making professional video games and awesome projects on Scratch. Remember to follow me and watch my projects, subscribe to my YouTube channel too! Thank you!
saradream
Scratcher
100+ posts

Vorrei un consiglio

Grazie @US-Systems!

Last edited by saradream (Aug. 7, 2021 08:22:59)


I'm the host of Languages Studio, if you want to join, come here.
This is the project "Languages Studio Rules and Information
This is my ”Proposta di utilizzo dei tag“ (Italian Forum)
I'm the owner of ”Universal Languages Shop
and I'm the Host of ”Italian Learning Camp“. We need campers!
Join to ”Scratch Radio" (I'm the Head/Owner)! We need musicians and speakers!

Powered by DjangoBB