Discuss Scratch

walkcycle
Scratcher
500+ posts

List(s) of useful information

Proposal: Scratch projects could have a set of lists of useful information for Scratchers to program with.

For example,

sprite
  • costume length
  • costume height
  • costume name

  • sound length
  • sound name
stage
  • backdrop name

  • sound length on stage
  • sound name on stage

  • sprite pen color
  • sprite name

  • unicode character

To access these lists, a Scratcher makes a list with the same name.

(item (1 v) of [sound length v] :: list) // 0.02

(item (1 v) of [sound name v] :: list) // pop
(length of :: list) // number of sounds

The above suggestion was inspired by thinking about a workaround for ‘length of sound’ after reading this post.

PkmnQ wrote:

2.
(length of [ v] :: sound)
Support!
Cannot see any workarounds!

Last edited by walkcycle (Aug. 5, 2017 01:22:12)

Auroura_Wolf
Scratcher
1000+ posts

List(s) of useful information

Ooo… That seems simple, but would these list items be defaults in the drop-down, because if not it seems they would be overlooked by many Scratchers to me… But anyway, this seems like a good idea, especially with an example listed. IMO it wouldn't be to difficult to store this info in a list unless it was a big project, since Scratch can access this anyway. Seems more efficient than making your own list. I have an idea that I might make a mock-up of, to explain it…
Auroura_Wolf
Scratcher
1000+ posts

List(s) of useful information

Okay, here's a mock-up for how I think it would look, it's pretty self explanatory

Powered by DjangoBB