Discuss Scratch
- wafflegoatz
-
Scratcher
31 posts
Another block [sprite in center boolean]
Ok I'm back with another idea. This one is a block that can sense if you are in the center of the stage and scroll through the stage. This would be an easy way to make a side scroller!
if <Sprite is in center> then
scroll through stage
end
Last edited by Paddle2See (Sept. 25, 2017 12:25:10)
- FancyFoxy
-
Scratcher
500+ posts
Another block [sprite in center boolean]
…could you please answer these questions?
1. What is “you” referring to? The mouse pointer? Your face? Your in-game character?
2. What happens if you scroll and there's nothing else to scroll to? Does it just do nothing? Does it have the color white show up to fill in the blanks?
3. Don't you think this block is too specific? Yes, there's a workaround, but it's a necessary workaround because it lets you choose how you want the scroll to happen.
1. What is “you” referring to? The mouse pointer? Your face? Your in-game character?
2. What happens if you scroll and there's nothing else to scroll to? Does it just do nothing? Does it have the color white show up to fill in the blanks?
3. Don't you think this block is too specific? Yes, there's a workaround, but it's a necessary workaround because it lets you choose how you want the scroll to happen.
- wafflegoatz
-
Scratcher
31 posts
Another block [sprite in center boolean]
Ok here they are.
1. It is your in game character (or there could be a slot where you choose).
2.There could be an input section where you could say if you scrolled for a certain amount then you could stop.
3.I don't get this one.
I hope this answers you questions (except number three, sorry!).
1. It is your in game character (or there could be a slot where you choose).
2.There could be an input section where you could say if you scrolled for a certain amount then you could stop.
3.I don't get this one.
I hope this answers you questions (except number three, sorry!).
- FancyFoxy
-
Scratcher
500+ posts
Another block [sprite in center boolean]
<Sprite is in center>
Very simple workaround:
<(x position) = [0]>
- wafflegoatz
-
Scratcher
31 posts
Another block [sprite in center boolean]
Good point. B ut this would be better for new scratchers who don't know stuff like that.
- FancyFoxy
-
Scratcher
500+ posts
Another block [sprite in center boolean]
Ok here they are.
1. It is your in game character (or there could be a slot where you choose).
2.There could be an input section where you could say if you scrolled for a certain amount then you could stop.
3.I don't get this one.
I hope this answers you questions (except number three, sorry!).
1. Okay, then you should say “the sprite”
2. ???
3. “Scroll through stage” is far too specific of a block to be included in the palette.
- wafflegoatz
-
Scratcher
31 posts
Another block [sprite in center boolean]
Better idea! What about a block that if you want to make a sidescroller but cant make it auto move then what you can do is make a block that can do effects while changing the stage
That could make it look like one but it isnt
next backdrop with effect [ Slide v]
That could make it look like one but it isnt
Last edited by wafflegoatz (Sept. 21, 2017 23:24:30)
- DaEpikDude
-
Scratcher
1000+ posts
Another block [sprite in center boolean]
Better idea! What about a block that if you want to make a sidescroller but cant make it auto move then what you can do is make a block that can do effects while changing the stageI'd support stage transitions (like powerpoint?)next backdrop with effect [ slide v]::looks
That could make it look like one but it isnt
Maybe have none, slide, fade, fall, pixelate?
- Wahsp
-
Scratcher
1000+ posts
Another block [sprite in center boolean]
if <<(x position) = [0]> and <(y position) = [0]>> thenor
repeat (how many times you need it to scroll::sensing)
next backdrop
end
end
wait until <<(x position) = [0]> and <(y position) = [0]>>
repeat (how many times you need it to scroll::sensing)
next backdrop
end
- Charles12310
-
Scratcher
1000+ posts
Another block [sprite in center boolean]
Ok I'm back with another idea. This one is a block that can sense if you are in the center of the stage and scroll through the stage. This would be an easy way to make a side scroller!if <Sprite is in center> then
scroll through stage
end
<<(x position) = (0)> and <(y position) = (0)>>
There you go.
- -ShadowOfTheFuture-
-
Scratcher
1000+ posts
Another block [sprite in center boolean]
I believe that somewhere in Scratch 2.0 Alpha, there was a
scroll right ():: motionblock that scrolled the backdrop, but it was removed.
- --Waterfall--
-
Scratcher
500+ posts
Another block [sprite in center boolean]
There is a workaround though… Maybe when you create a project, a popup comes up saying "If you want to center your character, than do
Water
<<(x position) = [0]> and <(y position) = [0]>>
Water
- DaEpikDude
-
Scratcher
1000+ posts
Another block [sprite in center boolean]
There is a workaround though… Maybe when you create a project, a popup comes up saying "If you want to center your character, than doI think a popup is a bit far…<<(x position) = [0]> and <(y position) = [0]>>
Water
- Botcho_Otkho
-
Scratcher
1000+ posts
Another block [sprite in center boolean]
Can you be more specific,please? I cannot understand what do you mean by “scroll trough stage”.
Anyway,there's a super-simple workaround for “sprite is in center”:
Anyway,there's a super-simple workaround for “sprite is in center”:
<<(x position) = [0]> and <(y position) = [0]>>
- I-Iz-A-Litten
-
Scratcher
1000+ posts
Another block [sprite in center boolean]
Better idea! What about a block that if you want to make a sidescroller but cant make it auto move then what you can do is make a block that can do effects while changing the stagenext backdrop with effect [ Slide v]::looks
That could make it look like one but it isnt
please only put one suggestion per topic
- wafflegoatz
-
Scratcher
31 posts
Another block [sprite in center boolean]
Better idea! What about a block that if you want to make a sidescroller but cant make it auto move then what you can do is make a block that can do effects while changing the stagenext backdrop with effect [ Slide v]::looks
That could make it look like one but it isnt
please only put one suggestion per topic
Well That was me adding on to it!
- wafflegoatz
-
Scratcher
31 posts
Another block [sprite in center boolean]
Adding on to the transitions here is another add-on. tell me if this is to much for a block!
next backdrop with transition [slide v] to the [right v]
when green flag clicked
say [I PWAY YOYTUBE!!]
Last edited by wafflegoatz (Sept. 24, 2017 00:32:53)
- wafflegoatz
-
Scratcher
31 posts
Another block [sprite in center boolean]
Can you be more specific,please? I cannot understand what do you mean by “scroll trough stage”.
Anyway,there's a super-simple workaround for “sprite is in center”:<<(x position) = [0]> and <(y position) = [0]>>
Basically what I mean is basically in a sidescroller you have the stage going forward as you go forward also I'm saying this block is good because making a sidescroller is complex right now.
- Botcho_Otkho
-
Scratcher
1000+ posts
Another block [sprite in center boolean]
If this block would be added (i don't think it would be added),the scratch paint should be changed. Also,if you learn basics (it's really easy),making a sidescroller is super-easy. I really don't want to be rude,but it's not a good idea,as per there is an easy workaround for the first block,and an easy way to make a sidescroller.Can you be more specific,please? I cannot understand what do you mean by “scroll trough stage”.
Anyway,there's a super-simple workaround for “sprite is in center”:<<(x position) = [0]> and <(y position) = [0]>>
Basically what I mean is basically in a sidescroller you have the stage going forward as you go forward also I'm saying this block is good because making a sidescroller is complex right now.
- I-Iz-A-Litten
-
Scratcher
1000+ posts
Another block [sprite in center boolean]
Better idea! What about a block that if you want to make a sidescroller but cant make it auto move then what you can do is make a block that can do effects while changing the stagenext backdrop with effect [ Slide v]::looks
That could make it look like one but it isnt
please only put one suggestion per topic
Well That was me adding on to it!
only put one suggestion in ONE topic, make a separate topic for each suggestion








