You can also post theories e.g
if touching ground
stand still
if up pressed
jump
fall
or scratchblocks
when gf clicked forever if < touching [ground v] > set [y-vel v] to [0.5]//stand still if < key [up v] pressed? > set [y-vel v] to [6]//jump end end change [y-vel v] by [-0.3]//fall end end
Offline
Ideas wrote:
You can also post theories e.g
if touching ground
stand still
if up pressed
jump
fall
or scratchblockswhen gf clicked forever if < touching [ground v]?> set [y-vel v] to [0.5]//stand still if < key [up arrow v] pressed? > set [y-vel v] to [6]//jump end else change [y-vel v] by [-0.3]//fall end change y by (y-vel) end
This should work better.
Also, here is a script that selects a random script to do.
when gf clicked set [test v] to (pick random (1) to (4))//it isn't always 4 if <(test)=[1]> first script end if <(test)=[2]> second script end if <(test)=[3]> third script end if <(test)=[4]> fourth script end
Last edited by awesomeness321 (2012-10-14 09:18:29)
Offline
scrollx script
when gf clicked forever set x to ((scrollx) + ([480] * [0])) end
Offline
Actually the above scripts are kinda common
Offline