new block ideas
-
I have some new block ideas:
- Name of widget last clicked

This will return the name of the widget that you last clicked. This would be useful for like if(name of widget last clicked = coinsBtn) then increase coins by 5, for say, a clicker game or something. - Weather blocks. The Scratch weather extension located here: https://khanning.github.io/scratch-weather-extension/ might be useful, and easy to add. It allows you to get the temperature, humidity, etc. of certain places.

- Changing the cursor appearance. While widgets already gives you the pointer cursor when you hover over a button so you know it’s a button, it would also be useful to have this feature for sprites, so when you hover over a sprite that is (supposed to be) a button, your cursor will change to the pointer (
). - Getting device battery information. It is actually possible I believe to get the user’s device battery percentage because there is a Battery object or something in JavaScript that you could just make a block retrieve, and would return something like 85%.

getting battery is easy, here’s some code that will get your current battery percent and output it to the console:
navigator.getBattery().then(function(battery) { var level = battery.level; console.log(level); });This would be useful if say, you want to try to check if the battery is 10% or under and then preserve the user’s battery by limiting or outright disabling a feature in your project.
- play sound from URL.

this would play a horse noise - Make costume from URL:

that URL is the Creaticode logo, and it will make it a costume named “costume1”
With regard to the “play sound from URL” block, you can actually use the youtube block instead. You just need to set its width and height to 0.

You can find almost every possible sound or background music you want on Youtube. For example, there are at least 50 videos for horse noise.
- Name of widget last clicked
-
With regard to the “play sound from URL” block, you can actually use the youtube block instead. You just need to set its width and height to 0.

You can find almost every possible sound or background music you want on Youtube. For example, there are at least 50 videos for horse noise.
@info-creaticode
Could you make this work for non-3D projects, too? Downloading audio from another website is sketchy enough, but for YouTube? It’s too malicious.Best regards,
Luna.
i forgot I had a signature. -
@info-creaticode
Could you make this work for non-3D projects, too? Downloading audio from another website is sketchy enough, but for YouTube? It’s too malicious.Best regards,
Luna.
i forgot I had a signature.@luna
The widget blocks work in both 2D and 3D projects. There are good and bad videos on Youtube. If anyone uses bad content from Youtube, we will delete the project and ban the author.
-
@luna
The widget blocks work in both 2D and 3D projects. There are good and bad videos on Youtube. If anyone uses bad content from Youtube, we will delete the project and ban the author.
@info-creaticode
Oh I didn’t realize it was a widget. Whoops, sorry! -
@luna
The widget blocks work in both 2D and 3D projects. There are good and bad videos on Youtube. If anyone uses bad content from Youtube, we will delete the project and ban the author.
@info-creaticode I like the solution! Thanks! Also, for the YouTube widget, are songs with curse words allowed? Could I make a disclaimer that the project’s music contains curse words? What exactly is the limit for the number of or severity, because for instance, Mockingbird by Eminem contains just one bad word but the song is beautiful so it’d be a shame if it couldn’t be used. I also am not a fan of song censorship so I don’t really feel like or want to put radio edit versions.
-
@info-creaticode I like the solution! Thanks! Also, for the YouTube widget, are songs with curse words allowed? Could I make a disclaimer that the project’s music contains curse words? What exactly is the limit for the number of or severity, because for instance, Mockingbird by Eminem contains just one bad word but the song is beautiful so it’d be a shame if it couldn’t be used. I also am not a fan of song censorship so I don’t really feel like or want to put radio edit versions.
@jeffreyrb03-gmail
No.
That’s why I download them, so I can easily censor rather than get banned. -
@info-creaticode I like the solution! Thanks! Also, for the YouTube widget, are songs with curse words allowed? Could I make a disclaimer that the project’s music contains curse words? What exactly is the limit for the number of or severity, because for instance, Mockingbird by Eminem contains just one bad word but the song is beautiful so it’d be a shame if it couldn’t be used. I also am not a fan of song censorship so I don’t really feel like or want to put radio edit versions.
Please, no bad words. If you are in doubt, then don’t do it. Be creative and find an appropriate alternative.
-
Please, no bad words. If you are in doubt, then don’t do it. Be creative and find an appropriate alternative.
@info-creaticode Got it
-
For convenience and consistency could there be a say text with color effects but no time limit? Instead of just
Say/think () for () seconds text size () background () edge
There could also be
Say/think () text size () background () edge ()
-
For convenience and consistency could there be a say text with color effects but no time limit? Instead of just
Say/think () for () seconds text size () background () edge
There could also be
Say/think () text size () background () edge ()
We don’t want to add too many blocks, which can be daunting for new learners. In this case, you can set the number of seconds to a large number, right?
-
We don’t want to add too many blocks, which can be daunting for new learners. In this case, you can set the number of seconds to a large number, right?
@info-creaticode the one time I wanted to do it was when I had a lot of clones that were moving around (basically battling) and I wanted to see some stats, but the say/think bubbles were a bit big and blocked other ones, I tried the timed ones but ended up begrudgingly not displaying it since I didn’t think about using a second forever loop, it could be fine not existing since it’s a minor thing but I thought I would mention it
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login