you mean scroll y?
when green flag clicked
forever
set y to [scroll y (variable) + {360*(the placement you want, starting with zero)}]
forever end
infinite scroll y?
This will be like a falldown game where the barriers are scrolling downwards
Make about 5 sprites
Make costumes of barriers each one different than the other for each costume
Make a script like so (I don't like scratchblocks)
When green flag clicked
go to x:0 y:180
hide
forever
wait until [insert variable name here] = (this sprite number)
switch to costume pick random 1 to (limit of costumes)
show
repeat until y = (pick a number between 160 and 140, depending on the usual lengths
between costumes)
change y by -(speed you want)
repeat end
set [variable mentioned above] to (next sprite number)
repeat until y =-170 or y < -170
change y by -(speed mentioned above)
repeat end
hide
forever end
If someone who has more experience with scratchblocks turn this into that, that would be helpful.
Last edited by MaxFlyboy (2012-03-12 19:56:50)
Offline
MaxFlyboy wrote:
you mean scroll y?
when green flag clicked
forever
set y to [scroll y (variable) + {360*(the placement you want, starting with zero)}]
forever end
infinite scroll y?
This will be like a falldown game where the barriers are scrolling downwards
Make about 5 sprites
Make costumes of barriers each one different than the other for each costume
Make a script like so (I don't like scratchblocks)when gf clicked go to x:(0) y:(180) hide forever wait until [insert variable name here] = (this sprite number) switch to costume (pick random (1) to (limit of costumes) show repeat until y = (pick a number between 160 and 140, depending on the usual) change y by -(speed you want) repeat end set [variable mentioned above] to (next sprite number) repeat until y =(170) or y < (170) change y by -(speed mentioned above) repeat end hide forever endIf someone who has more experience with scratchblocks turn this into that, that would be helpful.
Think I fixed it.
Offline
Not completely
and editing the script because their is a mistake
When green flag clicked
hide
forever
go to x:0 y:180
wait until [insert variable name here] = (this sprite number)
switch to costume pick random 1 to (limit of costumes)
show
repeat until y = (pick a number between 160 and 140, depending on the usual lengths
between costumes)
change y by -(speed you want)
repeat end
set [variable mentioned above] to (next sprite number)
repeat until y =-170 or y < -170
change y by -(speed mentioned above)
repeat end
hide
forever end
Last edited by MaxFlyboy (2012-03-12 20:29:20)
Offline
joletole wrote:
MaxFlyboy wrote:
you mean scroll y?
when green flag clicked
forever
set y to [scroll y (variable) + {360*(the placement you want, starting with zero)}]
forever end
infinite scroll y?
This will be like a falldown game where the barriers are scrolling downwards
Make about 5 sprites
Make costumes of barriers each one different than the other for each costume
Make a script like so (I don't like scratchblocks)when gf clicked go to x:(0) y:(180) hide forever wait until <[insert variable name here] = (this sprite number)> switch to costume [pick random (1) to (limit of costumes v] show repeat until <y = (pick a number between 160 and 140, depending on the usual)> change y by (-speed you want) end set [variable mentioned above] to (next sprite number) repeat until <<(y) =(170)> or <(y) < (170)>> change y by (-speed mentioned above) end hideIf someone who has more experience with scratchblocks turn this into that, that would be helpful.Think I fixed it.
Helped fix it more
Edit: fixed it even more.
Last edited by a1130 (2012-03-12 21:42:58)
Offline
Yes,
do the normal scroll y thing for the background sprites
For the rocket, have it scroll upwards to the click and then plug this script in
repeat until <<<y position> = (-160)> or <<y position> < (-160)>> change [scroll y v] by (-5) change y by (-5) endSo, the rocket will go the click, then it will start to scroll downwards to show the rest of the sprites
Last edited by MaxFlyboy (2012-03-12 21:28:44)
Offline