Discuss Scratch

the2000
Scratcher
1000+ posts

Battery detector

NotDucki_ wrote:

IndianRuby718 wrote:

NotDucki_ wrote:

This can be easily replicated with variables, however.
-snip- :: sensing 
This suggestion is for detecting the device's actual battery level, not as a simulator :P
It states not about real devices, it just says device.
The OP is obviously talking about real devices if you read some of their other posts. Can you stop nitpicking their word choice and actually give feedback on the suggestion?

Edit: Ayy, king of the page!

Last edited by the2000 (Jan. 21, 2021 16:16:21)

MAXTR0B0T
Scratcher
1 post

Battery detector

It would be nice if I had that blocked because I am creating and scratch OS so it can detect battery percentage like in sensing blocks there are time date it and ears so if they include battery it would be awesome
(current [ Battery %])
EatNYeet
Scratcher
500+ posts

Battery detector

No support, this is very easily abused.

if <(battery level::sensing reporter) = [1]> then 
Run cloud variable game
else
Deny access
end

So one would be able to keep others from playing a cloud game if their battery isn't 1%
gdpr5b78aa4361827f5c2a08d700
Scratcher
1000+ posts

Battery detector

EatNYeet wrote:

No support, this is very easily abused.

if <(battery level::sensing reporter) = [1]> then 
Run cloud variable game
else
Deny access
end

So one would be able to keep others from playing a cloud game if their battery isn't 1%
But why would anyone do that? People always come up with these “abuses” in the suggestions forums, but they almost always don't make any sense. You could restrict access to a project using many other blocks.
Ankit_Anmol
Scratcher
500+ posts

Battery detector

well, I dont think there is a use xD

If was released, it would be the least used block ever
cruncherBones
Scratcher
500+ posts

Battery detector

No support it’s useless
Scratchfangs
Scratcher
1000+ posts

Battery detector

No support, it's not necessary.

Last edited by Scratchfangs (May 7, 2021 11:18:08)

dertermenter
Scratcher
1000+ posts

Battery detector

dertermenter wrote:

No support, do not think this is worth it.
This is the most constructive post I’ve ever seen, it’s uses the amazing “support convention” and the constructiveness is out of the world. Massive praise on this post, a masterpiece.
-
All scratch blocks need to work on all browsers - and I’m sure not all browsers have battery detection. Scratch blocks should also be able to be used in a lot of different situations - I can only see 1 with this block, meaning it wouldn’t benefit the majority.
Quantum-Cat
Scratcher
1000+ posts

Battery detector

No support. There is only one usage I can think of, and other than that, it just isn't very useful.

EatNYeet wrote:

No support, this is very easily abused.

if <(battery level::sensing reporter) = [1]> then 
Run cloud variable game
else
Deny access
end

So one would be able to keep others from playing a cloud game if their battery isn't 1%
This isn't a valid reason:
if <(username) = [ExampleScratcher]> then 
Run project::grey
else
Deny access::grey
end
Xolay
Scratcher
1000+ posts

Battery detector

No support, people could do this:
when green flag clicked
if <(battery::sensing) = (1)> then
...
else
stop [all v]
end
Wich would make the project run when the battery is about to end.
AlfabetonsOfficial
Scratcher
100+ posts

Battery detector

No support.
1. Nobody would use this.
2, Not all devices have batteries. (My computer doesn't, it's plugged in)
3. JavaScript and all programming languages are unable to check your battery.
4. This could be used for bullying.
Xolay
Scratcher
1000+ posts

Battery detector

AlfabetonsOfficial wrote:

No support.
4. This could be used for bullying.
How exactly?
han614698
Scratcher
1000+ posts

Battery detector

Stop coming up with ways this could be abused…


This would work the same
if <(username) = [han614698]> then 

else
stop [all v]
end
Chiroyce
Scratcher
1000+ posts

Battery detector

You can't do this, JavaScript cannot detect how much battery you have left!
This suggestion is like saying “Make a electricity generator extension for scratch ” when it is clearly not possible.

Absolutely no support since this is impossible lol
hello_smile
Scratcher
1000+ posts

Battery detector

Chiroyce wrote:

You can't do this, JavaScript cannot detect how much battery you have left!
This suggestion is like saying “Make a electricity generator extension for scratch ” when it is clearly not possible.

Absolutely no support since this is impossible lol
There is a Chromium API.
gdpr5b78aa4361827f5c2a08d700
Scratcher
1000+ posts

Battery detector

hello_smile wrote:

There is a Chromium API.
but it's not a web standard.
hello_smile
Scratcher
1000+ posts

Battery detector

potatophant wrote:

hello_smile wrote:

There is a Chromium API.
but it's not a web standard.
We can make it one. Remember gpl/chromium ? We just need to force Mozilla and Apple.
dhuls
Scratcher
1000+ posts

Battery detector

hello_smile wrote:

Chiroyce wrote:

You can't do this, JavaScript cannot detect how much battery you have left!
This suggestion is like saying “Make a electricity generator extension for scratch ” when it is clearly not possible.

Absolutely no support since this is impossible lol
There is a Chromium API.
Scratch also officially supports Safari and Firefox (and also Edge but that's Chromium based), not just Chrome. The ST isn't gonna join Google's side in monopolizing the web by using their proprietary APIs.
Chiroyce
Scratcher
1000+ posts

Battery detector

hello_smile wrote:

We can make it one. Remember gpl/chromium ? We just need to force Mozilla and Apple.
Sure, you can do it

Last edited by Chiroyce (Aug. 28, 2021 07:22:29)

dhuls
Scratcher
1000+ posts

Battery detector

hello_smile wrote:

potatophant wrote:

hello_smile wrote:

There is a Chromium API.
but it's not a web standard.
We can make it one. Remember gpl/chromium ? We just need to force Mozilla and Apple.
yeah, that farce
That went as successfully as tDuke Nukem Forever.

Anyways, yeah, keep trying, It takes a lot of effort to get banned from a GitHub repository.

Last edited by dhuls (Aug. 28, 2021 07:26:39)

Powered by DjangoBB