when gf clicked repeat until <(pokemon) > [10]> go to [sprite 2 v] end think [scroll y on snivy's adventure!] for (3) secsso
Offline
Do you have a link to your project? That might be helpful for people that want to see what you have so far.
Offline
you mean normal scroll y?
when green flag clicked
forever
set y to [scroll y (variable) + {360*(the placement you want, starting with zero)}]
forever end
for the character just have it so that if the up key is pressed, than he changes scroll y with the respective amount
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
copied this from another forum post I made involving scroll y
Offline
MaxFlyboy wrote:
you mean normal scroll y?
when green flag clicked forever set y to ((scroll y) + ([360] * (the placement you want, starting with zero)))for the character just have it so that if the up key is pressed, than he changes scroll y with the respective amount
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 goto 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 postion) = [150]> //150 as a number between 160 and 140 change y by ([0]-(speed you want)) end set [variable mentioned above v] to (next sprite number) repeat until <y < [-169]> change y by ([0] - (speed mentioned above)) end hidecopied this from another forum post I made involving scroll y
I turned them into
[scratchblocks]
to improve clarity.
Last edited by Splodgey (2012-03-13 06:19:57)
Offline