Discuss Scratch

IronBit_Studios
Scratcher
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
<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-

Alberknyis wrote:

Explain where an “any sprite touched” block could be used.
Well,

IronBit_Studios wrote:

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…
<<touching [ v] ?> or <<touching [ v] ?> or <<touching [ v] ?> or <<touching [ v] ?> or <<touching [ v] ?> or <<touching [ v] ?> or <<touching [ v] ?> or <<touching [ v] ?> or < > > > >> > >  > > 
CURRENT SUPPORTERS (46 And Counting)
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
Non-supporters
ShadowFlareX
Econinja
Blank1234

Last edited by IronBit_Studios (Aug. 18, 2016 04:32:28)


stickfiregames
Scratcher
1000+ posts

Touching Any Sprite Boolean

<touching [any sprite v] ?>
I support










If you can read this, my signature cubeupload has been eaten by an evil kumquat!




or you just used Inspect Element, you hacker

;
IronBit_Studios
Scratcher
1000+ posts

Touching Any Sprite Boolean

stickfiregames wrote:

<touching [any sprite v] ?>
I support
Awesome! Thanks!

PaganoLeo10
Scratcher
100+ posts

Touching Any Sprite Boolean

That already exists:
<touching [sprite name v] ?>

Moving on from Scratch? Learn a C derivative or Java.
Please give me an internet (Yes, I am UnitedUntitled.) In return you get a slogan.
“Scratch is awesome” 43 translations later with Yandex we get “What is good”.


Being awesome, staying awesome. -PaganoLeo10


IronBit_Studios
Scratcher
1000+ posts

Touching Any Sprite Boolean

PaganoLeo10 wrote:

That already exists:
<touching [sprite name v] ?>
I know that, my concept is a block that can detect if 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.

IronBit_Studios
Scratcher
1000+ posts

Touching Any Sprite Boolean

Bump!

mac_54
Scratcher
100+ posts

Touching Any Sprite Boolean

IronBit_Studios wrote:

Bump!
What does that mean.

Have you ever heard of the Duck Highway series? ‘Cause no. You haven’t. So check their studio, then get ready for the next one, Duck Highway 5: The Cars Strike Back. This time, it's personal. For the fifth time.
IronBit_Studios
Scratcher
1000+ posts

Touching Any Sprite Boolean

mac_54 wrote:

IronBit_Studios wrote:

Bump!
What does that mean.
Bring Up My Post, or putting a forum thread at the front again, because most forums/discussions are organized chronologically.

IronBit_Studios
Scratcher
1000+ posts

Touching Any Sprite Boolean

Bump- I need support!

LionsStair
Scratcher
100+ posts

Touching Any Sprite Boolean

You don't write it just to let you know, there also already is a block.

If I said no support highlight this from “Hi” to “AWESOME”:
Hi this isThink about your suggestion, was it going to benefit a majority of scratchers, did it have cons to a specific group, was it fully based on YOUR opinion, did you put some thought into the idea, simply forgot to read the sticky, has little pros, no purposeful reason, was there something wrong with scratch? If any of these apply to you think about your post, either revise it or close it.AWESOME
If I said support highlight this from “Hi” to “COOL”:
Hi I think this isDo you think you could add to your suggestion, or do you wish to keep it the same? Doesn't matter as long as people support it!!COOL




















Because I can do stuff Highlight:If you followed my instructions, I will give you a free stuffollow
Check out my feed here! List of my favorite music



















Because I can do stuff:

Like this ^ and this v
You must be hallucinating!
automagiacally = automatically do something
If you don't get the pun: *Facepalm*
KUMQUATS ARE HERE TO EAT, EAT, EAT!









Remember to ALWAYS: Clicky That Sticky!

















A Lion's Stare is a neutral stare yet is filled with so many stairs of moods, it never hurts, or never loves, it never does, or never nothing. A Lion's Stare is a Stair.

Life's a mystery, yet so unfair,
DEAL WIT IT.

(Insert epic lion face here)
CosmicSans
New to Scratch
100+ posts

Touching Any Sprite Boolean

Support! This would be great for so many things!

CosmicSans - the otherworldly manifestation of the world's most hated font
My Profile | My Recent Projects | My Github
little_kitten
Scratcher
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 < > > > >> > >  > > 

The above post was likely clear sass. 10 outta 10.
Unless it wasn't. Which happens from time to time. Sadly.
Vordar
Scratcher
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:
<touching color [#00FF00] ?>

Hope it helps until your idea or something like it comes out!

A rainbow barfed on my signature!
Check out the Ultra Player Collaboration!
stickfiregames
Scratcher
1000+ posts

Touching Any Sprite Boolean

Vordar wrote:

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!
But then you are limited in what your sprites can look like.










If you can read this, my signature cubeupload has been eaten by an evil kumquat!




or you just used Inspect Element, you hacker

;
IronBit_Studios
Scratcher
1000+ posts

Touching Any Sprite Boolean

LionsStair wrote:

You don't write it just to let you know, there also already is a block.
Really? Can you please post that in Scratchblock form for me, because it's not on the Scratch on my computer.

ShadowFlareX
Scratcher
100+ posts

Touching Any Sprite Boolean

In what situation would this be useful for?





just to annoy you I put empty lines here <3







IronBit_Studios
Scratcher
1000+ posts

Touching Any Sprite Boolean

ShadowFlareX wrote:

In what situation would this be useful for?
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…
<<touching [ v] ?> or <<touching [ v] ?> or <<touching [ v] ?> or <<touching [ v] ?> or <<touching [ v] ?> or <<touching [ v] ?> or <<touching [ v] ?> or <<touching [ v] ?> or < > > > >> > >  > > 

CatsUnited
Scratcher
1000+ posts

Touching Any Sprite Boolean

Not a bad idea. Support!

bottom text
P444
Scratcher
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.

Hey there random person scrolling through one of my posts! Hope you have a nice day (ノ◕ヮ◕)ノ*:・゚✧


Reserved for advertisements >:3

LionsStair
Scratcher
100+ posts

Touching Any Sprite Boolean

IronBit_Studios wrote:

LionsStair wrote:

You don't write it just to let you know, there also already is a block.
Really? Can you please post that in Scratchblock form for me, because it's not on the Scratch on my computer.
<touching [sprite v] ?>

I see what you're suggesting now, support.
I thought you were simply just wanting a block that sensed a sprite.

If I said no support highlight this from “Hi” to “AWESOME”:
Hi this isThink about your suggestion, was it going to benefit a majority of scratchers, did it have cons to a specific group, was it fully based on YOUR opinion, did you put some thought into the idea, simply forgot to read the sticky, has little pros, no purposeful reason, was there something wrong with scratch? If any of these apply to you think about your post, either revise it or close it.AWESOME
If I said support highlight this from “Hi” to “COOL”:
Hi I think this isDo you think you could add to your suggestion, or do you wish to keep it the same? Doesn't matter as long as people support it!!COOL




















Because I can do stuff Highlight:If you followed my instructions, I will give you a free stuffollow
Check out my feed here! List of my favorite music



















Because I can do stuff:

Like this ^ and this v
You must be hallucinating!
automagiacally = automatically do something
If you don't get the pun: *Facepalm*
KUMQUATS ARE HERE TO EAT, EAT, EAT!









Remember to ALWAYS: Clicky That Sticky!

















A Lion's Stare is a neutral stare yet is filled with so many stairs of moods, it never hurts, or never loves, it never does, or never nothing. A Lion's Stare is a Stair.

Life's a mystery, yet so unfair,
DEAL WIT IT.

(Insert epic lion face here)

Powered by DjangoBB