Discuss Scratch
- Discussion Forums
- » Suggestions
- » Touching Any Sprite Boolean
- IronBit_Studios
-
1000+ posts
Touching Any Sprite Boolean
Basically, what my idea is is that there should be an “Touching any sprite” Boolean, because for some projects that involve just touching a sprite in general (Like a scanner that checks for sprites), it takes a long time to write “if touching Sprite2 or if touching Sprite3, etc.” I think it would look like this:
credit to stickfiregames
Non-supporters
credit to stickfiregames
<touching [any sprite v] ?>There should also be a reporter called
(sprites touching :: sensing)I'm noticing a lot of people are asking the same thing-
Well, Explain where an “any sprite touched” block could be used.
Projects that involve sprite-scanning, for some projects that involve just touching a sprite in general (Like a scanner that checks for sprites), it takes a long time to write “if touching Sprite2 or if touching Sprite3, etc.”. It would be fairly easy to implement, and otherwise… CURRENT SUPPORTERS (46 And Counting)<<touching [ v] ?> or <<touching [ v] ?> or <<touching [ v] ?> or <<touching [ v] ?> or <<touching [ v] ?> or <<touching [ v] ?> or <<touching [ v] ?> or <<touching [ v] ?> or < > > > >> > > > >
IronBit_Studios(obviously)
stickfiregames
CosmicSans
CatsUnited
LionsStair
NolanAwesome
44701
scratchrainbow
Silphaer
peterules54
ev3commander
Alberknyis (90%)
Cyoce
theonlygusti
Starbolt1
TheHockeyist
mundofinkyenglish
Tommy100
m801234
JoeyTheChicken
scrooge200
Penguin9090_new
thelucariokid
scratch_inno
Tymewalk
nether_before
19f8361
pokejofe
HSL2014
Pot-Of-Gold
marilynjosiahbojo
CGRises
Cream_E_Cookie
Samanyolu
Unlicht
Scratcher1002
scratchinghead
wizard192
gamebeater187
BookOwl
Ninchanko
Botchko_Otkho
Leadrien2366
DrEthan
JonathanSchaffer
Inreal49
ShadowFlareX
Econinja
Blank1234
Last edited by IronBit_Studios (Aug. 18, 2016 04:32:28)
- stickfiregames
-
1000+ posts
Touching Any Sprite Boolean
<touching [any sprite v] ?>I support
- IronBit_Studios
-
1000+ posts
Touching Any Sprite Boolean
Awesome! Thanks!<touching [any sprite v] ?>I support
- PaganoLeo10
-
100+ posts
Touching Any Sprite Boolean
That already exists:
<touching [sprite name v] ?>
- IronBit_Studios
-
1000+ posts
Touching Any Sprite Boolean
I know that, my concept is a block that can detect if That already exists:any sprite is touched. As I mentioned before, it's a hassle to write “if touching SpriteName” for projects that require detecting for many sprites.<touching [sprite name v] ?>
- IronBit_Studios
-
1000+ posts
Touching Any Sprite Boolean
Bring Up My Post, or putting a forum thread at the front again, because most forums/discussions are organized chronologically.What does that mean. Bump!
- LionsStair
-
100+ posts
Touching Any Sprite Boolean
You don't write it just to let you know, there also already is a block.
- CosmicSans
-
100+ posts
Touching Any Sprite Boolean
Support! This would be great for so many things!
- little_kitten
-
500+ posts
Touching Any Sprite Boolean
Cool idea! Otherwise you'd… well
<<touching [ v] ?> or <<touching [ v] ?> or <<touching [ v] ?> or <<touching [ v] ?> or <<touching [ v] ?> or <<touching [ v] ?> or <<touching [ v] ?> or <<touching [ v] ?> or < > > > >> > > > >
- Vordar
-
69 posts
Touching Any Sprite Boolean
I know what you mean, it would save time. Good idea! But there is a solution. Just make all your sprites so that they have a certain color (like green) on the edge and then have something like:
Hope it helps until your idea or something like it comes out!
<touching color [#00FF00] ?>
Hope it helps until your idea or something like it comes out!
- stickfiregames
-
1000+ posts
Touching Any Sprite Boolean
But then you are limited in what your sprites can look like. I know what you mean, it would save time. Good idea! But there is a solution. Just make all your sprites so that they have a certain color (like green) on the edge and then have something like:<touching color [#00FF00] ?>
Hope it helps until your idea or something like it comes out!
- IronBit_Studios
-
1000+ posts
Touching Any Sprite Boolean
Really? Can you please post that in Scratchblock form for me, because it's not on the Scratch on my computer. You don't write it just to let you know, there also already is a block.
- ShadowFlareX
-
100+ posts
Touching Any Sprite Boolean
In what situation would this be useful for?
- IronBit_Studios
-
1000+ posts
Touching Any Sprite Boolean
Projects that involve sprite-scanning, for some projects that involve just touching a sprite in general (Like a scanner that checks for sprites), it takes a long time to write “if touching Sprite2 or if touching Sprite3, etc.”. It would be fairly easy to implement, and otherwise… In what situation would this be useful for?
<<touching [ v] ?> or <<touching [ v] ?> or <<touching [ v] ?> or <<touching [ v] ?> or <<touching [ v] ?> or <<touching [ v] ?> or <<touching [ v] ?> or <<touching [ v] ?> or < > > > >> > > > >
- P444
-
500+ posts
Touching Any Sprite Boolean
Instead of that big loop thingy, you can put touching main sprite in all other sprites that you'd need the main sprite to touch. Still you'd have to put an if touching main sprite in the other 100 sprites, so support.
- LionsStair
-
100+ posts
Touching Any Sprite Boolean
Really? Can you please post that in Scratchblock form for me, because it's not on the Scratch on my computer. You don't write it just to let you know, there also already is a block.
<touching [sprite v] ?>
I see what you're suggesting now, support.
I thought you were simply just wanting a block that sensed a sprite.
- Discussion Forums
- » Suggestions
-
» Touching Any Sprite Boolean