Discuss Scratch
- TheNonNameMouse
 - 
                            
						
						
                            Scratcher
                        
						
						 
88 posts
([ v] of [parent v])
I don't know…what would be the importance of this block?
                        
                        
                    - pvz_pro
 - 
                            
						
						
                            Scratcher
                        
						
						 
500+ posts
([ v] of [parent v])
I don't know…what would be the importance of this block?it's a new option for
([x position v] of [sprite v])and the reasons i'm suggesting this are
1. workaround is a bit bad
2. this can be helpful for tower defense games
- braxbroscratcher
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
([ v] of [parent v])
Support as above.You can use variables, but support for convenience reasonsright you areWhat are the options for the first dropdown?I'm pretty sure “parent” is just a new option of the second dropdown of this block:
I can't make a stance or opinion until you reply what they are([x position v] of [Sprite1 v])
Last edited by braxbroscratcher (April 20, 2016 00:04:10)
- theonlygusti
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
([ v] of [parent v])
I support, this is a pretty cool idea and could be used creatively (although, I'll admit it it, I see no real reasons for it right now; maybe suggest some?)
                        
                        
                    - pvz_pro
 - 
                            
						
						
                            Scratcher
                        
						
						 
500+ posts
([ v] of [parent v])
What happens if a non-clone runs this block?not for the stage an it will return a trait of itself
- ChildCritic
 - 
                            
						
						
                            Scratcher
                        
						
						 
500+ posts
([ v] of [parent v])
Workaround.
No support.
EDIT: Reverse process here. I didn't think that through. I'll get something that works like that online soon.
EDIT 2: Reversed process. (actual workaround)
                        
                            No support.
EDIT: Reverse process here. I didn't think that through. I'll get something that works like that online soon.
EDIT 2: Reversed process. (actual workaround)
Last edited by ChildCritic (April 24, 2016 23:45:40)
- ChildCritic
 - 
                            
						
						
                            Scratcher
                        
						
						 
500+ posts
([ v] of [parent v])
Okay. Let's do this thoroughly.
This works if a clone's parent is a clone.
Just add before the cloning:
                        
                            This works if a clone's parent is a clone.
Just add before the cloning:
set [saveparent v] to (parent)//localThis works if the parent is not a clone
set [parent v] to (Clone number)//also local
create clone of [myself v]
set [parent v] to (saveparent)
THE COMMENT CHAIN ON THE SECON(EDIT:)D WORKAROUND PROJECTdon't be hasty to pull the workaround card on block ideas, remember, the OP is most likely not aware of the workaround
I did, link: https://scratch.mit.edu/discuss/topic/191814/?page=1what about clones? start reading everybody's postspvz_pro Please post that on the topic as a reply so I know more about what you're talking about.what about clones? start reading everybody's postsLook at the other link.
Last edited by ChildCritic (April 25, 2016 00:54:20)
- pvz_pro
 - 
                            
						
						
                            Scratcher
                        
						
						 
500+ posts
([ v] of [parent v])
Okay. Let's do this thoroughly.what do you mean by “local”
This works if a clone's parent is a clone.
Just add before the cloning:set [saveparent v] to (parent)//localThis works if the parent is not a clone
set [parent v] to (Clone number)//also local
create clone of [myself v]
set [parent v] to (saveparent)*snip*
- ChildCritic
 - 
                            
						
						
                            Scratcher
                        
						
						 
500+ posts
([ v] of [parent v])
The variable is a local variable.Okay. Let's do this thoroughly.what do you mean by “local”
This works if a clone's parent is a clone.
Just add before the cloning:set [saveparent v] to (parent)//localThis works if the parent is not a clone
set [parent v] to (Clone number)//also local
create clone of [myself v]
set [parent v] to (saveparent)*snip*
- theonlygusti
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
([ v] of [parent v])
Okay. Let's do this thoroughly.
This works if a clone's parent is a clone.
Just add before the cloning:set [saveparent v] to (parent)//localThis works if the parent is not a clone
set [parent v] to (Clone number)//also local
create clone of [myself v]
set [parent v] to (saveparent)
Oh, there is an intuitive and obvious workaround! Change to No Support. </sarcasm>
Just because a block idea would have a workaround doesn't mean it shouldn't be implemented, when you don't support a suggestion, think through each of these: would it improve the Scratching experience? Would it make life easier for Scratchers? Would it make Scratch more accessible?
(HINT: the answer is yes to all of the above in this case)
Also:
Let's remove the move block as it has a workaround:move (10) steps // we don't need this anymore
go to x: ((x position) + (([sin v] of (direction)) * (number))) y: ((y position) + (([cos v] of (direction)) * (number)) // much better
- theonlygusti
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
([ v] of [parent v])
Okay. Let's do this thoroughly.Also, your workaround doesn't work:
This works if a clone's parent is a clone.
Just add before the cloning:set [saveparent v] to (parent)//localThis works if the parent is not a clone
set [parent v] to (Clone number)//also local
create clone of [myself v]
set [parent v] to (saveparent)
It would report a trait of a clone's creator, even if it was created by a clone.
I also wanted to point out 1 thing:
Supporters:
- pvz_pro
 - alexphan
 - Mrcomputer1
 - TheMonsterOfTheDeep
 - Gamemaker232
 - zekrom01
 - braxbroscratcher
 - theonlygusti
 Non-Supporters:
- ChildCritic
 
ChildCritic, you have been put on the spot. Now you must provide valid reasons for not supporting (valid does not include a broken workaround.)
Last edited by theonlygusti (April 25, 2016 07:31:12)
- ChildCritic
 - 
                            
						
						
                            Scratcher
                        
						
						 
500+ posts
([ v] of [parent v])
@theonlygusti:
How about you reread my ENTIRE post.
It provides you with exactly what you need.
                        
                        
                    How about you reread my ENTIRE post.
It provides you with exactly what you need.
- scratchisthebest
 - 
                            
						
						
                            Scratcher
                        
						
						 
1000+ posts
([ v] of [parent v])
Don't really see why not, the x of y block already has a ton of technically not “needed” features. This would be a great quality of life improvement.
Don't see any reason that it would return the Stage if it's ran by a non-clone though. (What's the x position of the Stage?) I think it should just return it's own data, i.e. ([direction] of [parent]) is the same as (direction) if ran by a non-clone
                        
                        
                    Don't see any reason that it would return the Stage if it's ran by a non-clone though. (What's the x position of the Stage?) I think it should just return it's own data, i.e. ([direction] of [parent]) is the same as (direction) if ran by a non-clone
            






