Discuss Scratch
- little_kitten
-
500+ posts
(current [minute v]) Should have Season
Simple. The
I know you could do some really long scripts for this, but this would just be easier.
(current [minute v])should have
(current [season v]). If there is a reason this shouldn't be there, please tell me.
I know you could do some really long scripts for this, but this would just be easier.
- TheHockeyist
-
1000+ posts
(current [minute v]) Should have Season
(current [season v])
Which hemisphere? (Our winter is their summer!)
Also, there's also a hunting season and a hockey season and a monsoon season and a Christmas season and a hurricane season… *sigh*.
Last edited by TheHockeyist (Oct. 19, 2014 00:54:35)
- little_kitten
-
500+ posts
(current [minute v]) Should have Season
Well, the(current [season v])
Which hemisphere? (Our winter is their summer!)
Also, there's also a hunting season and a hockey season and a monsoon season and a Christmas season and a hurricane season… *sigh*.
(current [minute v])is different around the world, and it still works.
And it would most likely only use summer, winter, spring and autumn.
- TheHockeyist
-
1000+ posts
(current [minute v]) Should have Season
Well, the(current [season v])
Which hemisphere? (Our winter is their summer!)
Also, there's also a hunting season and a hockey season and a monsoon season and a Christmas season and a hurricane season… *sigh*.(current [minute v])is different around the world, and it still works.
And it would most likely only use summer, winter, spring and autumn.
That's because it accounts for your computer's time. And what's the name of the season? Autumn or fall? (I prefer autumn.)
- little_kitten
-
500+ posts
(current [minute v]) Should have Season
It can be called either.
It's most likely can be done.
It's most likely can be done.
- stickfiregames
-
1000+ posts
(current [minute v]) Should have Season
Probably the seasons would be calledWell, the(current [season v])
Which hemisphere? (Our winter is their summer!)
Also, there's also a hunting season and a hockey season and a monsoon season and a Christmas season and a hurricane season… *sigh*.(current [minute v])is different around the world, and it still works.
And it would most likely only use summer, winter, spring and autumn.
That's because it accounts for your computer's time. And what's the name of the season? Autumn or fall? (I prefer autumn.)
1since that is how the
2
3
4
(current [day of week v])block works.
But no support anyway because I don't see how it would be useful.
- TheHockeyist
-
1000+ posts
(current [minute v]) Should have Season
Probably the seasons would be calledWell, the(current [season v])
Which hemisphere? (Our winter is their summer!)
Also, there's also a hunting season and a hockey season and a monsoon season and a Christmas season and a hurricane season… *sigh*.(current [minute v])is different around the world, and it still works.
And it would most likely only use summer, winter, spring and autumn.
That's because it accounts for your computer's time. And what's the name of the season? Autumn or fall? (I prefer autumn.)1since that is how the
2
3
4(current [day of week v])block works.
But no support anyway because I don't see how it would be useful.
Yeah… I also hate how Sunday is 1. Monday should be 1!
- little_kitten
-
500+ posts
(current [minute v]) Should have Season
Maybe you're making a game, and if it's fall (or autumn) you want a brown leaf to fall off a tree, or in winter you want it to snow… But no support anyway because I don't see how it would be useful.
- theonlygusti
-
1000+ posts
(current [minute v]) Should have Season
Support!
It should report the season for the current hemisphere, and report a number to avoid autumn/fall confusion. BTW, it's autumn.
It should report the season for the current hemisphere, and report a number to avoid autumn/fall confusion. BTW, it's autumn.
- TheHockeyist
-
1000+ posts
(current [minute v]) Should have Season
Support!
It should report the season for the current hemisphere, and report a number to avoid autumn/fall confusion. BTW, it's autumn.
How would it detect what hemisphere you're in? Your IP?
- theonlygusti
-
1000+ posts
(current [minute v]) Should have Season
Support!
It should report the season for the current hemisphere, and report a number to avoid autumn/fall confusion. BTW, it's autumn.
How would it detect what hemisphere you're in? Your IP?
When you create a Scratch Account, you enter your location. I can tell that you live in the US.
If the user has no location entered, use HTML5's geoLocation API and getCurrentPosition() method. Go here: http://jsfiddle.net/hcu2fbdq/2/ and it will find out exactly where you are.
If they do not allow access to current position, assume Northern Hemisphere.
Last edited by theonlygusti (Oct. 19, 2014 17:34:24)
- TheHockeyist
-
1000+ posts
(current [minute v]) Should have Season
Support!
It should report the season for the current hemisphere, and report a number to avoid autumn/fall confusion. BTW, it's autumn.
How would it detect what hemisphere you're in? Your IP?
When you create a Scratch Account, you enter your location. I can tell that you live in the US.
If the user has no location entered, use HTML5's geoLocation API and getCurrentPosition() method.
If they do not allow access to current position, assume Northern Hemisphere.
What about countries lying on the equator, like Indonesia?
- theonlygusti
-
1000+ posts
(current [minute v]) Should have Season
Support!
It should report the season for the current hemisphere, and report a number to avoid autumn/fall confusion. BTW, it's autumn.
How would it detect what hemisphere you're in? Your IP?
When you create a Scratch Account, you enter your location. I can tell that you live in the US.
If the user has no location entered, use HTML5's geoLocation API and getCurrentPosition() method.
If they do not allow access to current position, assume Northern Hemisphere.
What about countries lying on the equator, like Indonesia?
use HTML5's geoLocation API and getCurrentPosition() method.http://jsfiddle.net/hcu2fbdq/2/
Last edited by theonlygusti (Oct. 19, 2014 17:34:06)
- TimothyLawyer
-
1000+ posts
(current [minute v]) Should have Season
(current [month v])permits calculation of the season. Ask for hemisphere for global scope.
- TheHockeyist
-
1000+ posts
(current [minute v]) Should have Season
(current [month v])permits calculation of the season. Ask for hemisphere for global scope.
Except that the equinoxes and solstices don't fall on the beginning of the month.
- TimothyLawyer
-
1000+ posts
(current [minute v]) Should have Season
So Except that the equinoxes and solstices don't fall on the beginning of the month.
(current [date v])?
- TheHockeyist
-
1000+ posts
(current [minute v]) Should have Season
…So Except that the equinoxes and solstices don't fall on the beginning of the month.(current [date v])?
- TimothyLawyer
-
1000+ posts
(current [minute v]) Should have Season
to calculate the division
- TheHockeyist
-
1000+ posts
(current [minute v]) Should have Season
Oh…? *confused* to calculate the division
- theonlygusti
-
1000+ posts
(current [minute v]) Should have Season
As per TheHockeyist … *confused*Oh…? *confused* to calculate the division