Discuss Scratch

praneema
Scratcher
7 posts

Weather Sensing Block

Block_Point_Studios wrote:

Hi! I'm currently developing a game with a title screen that changes depending on the time of day. I realized that the clouds could be raining if it was raining outside! These block ideas could either be in an extension or the sensing category.

([today's v] [weather v] in [Boston, Massachusetts, US v]:: sensing)

([tomorrow's v] [common temperature v] in [Boston, Massachusetts, US v]:: sensing)

This would also be useful for weather detecting projects. For example, Scratchers could create a weather app!
it is not in the sensing category and neither a extension
praneema
Scratcher
7 posts

Weather Sensing Block

hi
JPgamersmines150
Scratcher
42 posts

Weather Sensing Block

Support, it could sync real-world weather with in-game weather
Ex: Seeing the real world forecast to plant your crops in the game
WindowsMeRules2000
Scratcher
500+ posts

Weather Sensing Block

Block_Point_Studios wrote:

Hi! I'm currently developing a game with a title screen that changes depending on the time of day. I realized that the clouds could be raining if it was raining outside! These block ideas could either be in an extension or the sensing category.

([today's v] [weather v] in [Boston, Massachusetts, US v]:: sensing)

([tomorrow's v] [common temperature v] in [Boston, Massachusetts, US v]:: sensing)

This would also be useful for weather detecting projects. For example, Scratchers could create a weather app!
Great suggestion, but I’m worried about how this could be exploited. Users could make projects that store the user’s location in a cloud variable.
MousePotato1234
Scratcher
30 posts

Weather Sensing Block

Yes PLEASE!
ajskateboarder
Scratcher
1000+ posts

Weather Sensing Block

Block_Point_Studios wrote:

scratchastroLOL wrote:

what will be their source?

Google will be the source. Scratch already uses Google for the Translate extension, so why not weather. It will get the info from the weather popup if you search “weather”

Have you heard of OpenWeatherMap? It has an API so you don't have to go the hard way and scrape data from Google

QuantumScratcher wrote:

Weather can vary between areas of a country so finer detail would be needed (I don't know how this would work without a crazily long dropdown):
Eureka! Longitude and latitude blocks.

How many young kids would understand longitude and latitude?

Anyways, this has too little use cases and it would be better as a block extension, if someone wanted to make it.
Artkids5000
Scratcher
100+ posts

Weather Sensing Block

scratchastroLOL wrote:

what will be their source?
most likely google weather
Artkids5000
Scratcher
100+ posts

Weather Sensing Block

the only thing is that with this people could share their location and that's not safe but other that I think it would be very useful.
Nikhilzard
Scratcher
5 posts

Weather Sensing Block

Just waiting for scratch 4.0
magicAho
Scratcher
1000+ posts

Weather Sensing Block

This should be added as an extension to Scratch.
Source is Google weather,.
ajskateboarder
Scratcher
1000+ posts

Weather Sensing Block

Artkids5000 wrote:

scratchastroLOL wrote:

what will be their source?
most likely google weather

magicAho wrote:

This should be added as an extension to Scratch.
Source is Google weather,.

“Google weather” doesn't make their weather data easily available (it's either impossible to get or it's paid), so OpenWeatherMap is much preferable.

Artkids5000 wrote:

the only thing is that with this people could share their location and that's not safe but other that I think it would be very useful.

There are many ways to steal data from users via cloud variables so this wouldn't change anything
roofogato
Scratcher
1000+ posts

Weather Sensing Block

support, especially for the current design studio
7salad3salad
Scratcher
1000+ posts

Weather Sensing Block

I think zip codes would work better rather than selecting individual cities. (For at least America, not sure about places other than America)
ajskateboarder
Scratcher
1000+ posts

Weather Sensing Block

7salad3salad wrote:

I think zip codes would work better rather than selecting individual cities. (For at least America, not sure about places other than America)

Yeah that is way nicer than using longitude/latitude, and it's pretty useless if you store it over cloud vars anyway since it can't pinpoint your exact location.
1THEKINGBOB3
Scratcher
500+ posts

Weather Sensing Block

busping due to dupe
helo30786
Scratcher
2 posts

Weather Sensing Block

say [how to make weather detector in scratch pls add it i need it]
FreshTheCat
Scratcher
100+ posts

Weather Sensing Block

Or maybe just make it local weather:
current weather in user's location in (°C v) ::sensing reporter
current weather in user's location in (°C v) ::sensing reporter
kelvinkelvin2015
Scratcher
70 posts

Weather Sensing Block

This will be better:
([today v] [weather v] for [city]::extension)
(Current [weather v] for Scratcher::extension )
([today v] [weather v] for longitude (10) latitude (10)::extension)

Last edited by kelvinkelvin2015 (Oct. 27, 2025 12:02:35)

CodeComet6161
Scratcher
1000+ posts

Weather Sensing Block

Honest support, I was gonna post about this, but swept the idea behind.
current [weather v] in city::extension reporter//weather, high, low, humidity

current [temerature v] in city in degrees [Celsius v]::extension reporter//celsius, fahrenheit, kelvin
dizzyboy42
Scratcher
500+ posts

Weather Sensing Block

support - could be pretty fun! also an idea:
(CURRENT AREA  :: sensing)
and cloud wouldn't be compatible with these projects (like with projects using face sensing and camera)

Powered by DjangoBB