Discuss Scratch
- praneema
-
Scratcher
7 posts
Weather Sensing Block
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.it is not in the sensing category and neither a extension([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!
- 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
Ex: Seeing the real world forecast to plant your crops in the game
- WindowsMeRules2000
-
Scratcher
500+ posts
Weather Sensing Block
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.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.([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!
- ajskateboarder
-
Scratcher
1000+ posts
Weather Sensing Block
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
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
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.
- magicAho
-
Scratcher
1000+ posts
Weather Sensing Block
This should be added as an extension to Scratch.
Source is Google weather,.
Source is Google weather,.
- ajskateboarder
-
Scratcher
1000+ posts
Weather Sensing Block
what will be their source?most likely google weather
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.
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
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.
- 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)















