Scratch-blocks: Add "clone" or sprite name to "touching []" boolean reporter options

Created on 10 Feb 2017  路  2Comments  路  Source: LLK/scratch-blocks

Follow-up from LLK/scratch-vm#377

Discussion

In Scratch 3.0 the "touching" boolean reporter can distinguish between itself and a clone. This leads to the question of if this new functionality should be exposed to Scratchers in the form of a new default drop-down option for the "touching []" boolean reporter.

Demo

http://llk.github.io/scratch-vmLLK/scratch-vm#138856666

Reference

image


Moved from LLK/scratch-vm#448
/cc @thisandagain

design needs-discussion request

Most helpful comment

I like this a lot, definitely keep it in!

I can't imagine a use-case from 2.0 that would cause widespread compatability issues, but if you want to be really careful then just have the name of the current sprite always return true.

I'd suggest "clone of myself" to further disambiguate from all clones, but "clone" is fine too

All 2 comments

I like this a lot, definitely keep it in!

I can't imagine a use-case from 2.0 that would cause widespread compatability issues, but if you want to be really careful then just have the name of the current sprite always return true.

I'd suggest "clone of myself" to further disambiguate from all clones, but "clone" is fine too

I also like this.

Maybe a separate touching clone of [ v] block, where the options are "myself" and the list of all sprites?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

towerofnix picture towerofnix  路  4Comments

tmickel picture tmickel  路  6Comments

brianpoor5775 picture brianpoor5775  路  4Comments

thisandagain picture thisandagain  路  5Comments

thisandagain picture thisandagain  路  6Comments