how do you make scratch blocks so that if you shoot an arrow straight?, the longer you hold the space button, the farther it goes even though it moves downward?, but if you hold it too long your shot messes up?
-but the mouse is not shooting the arrow into the screen, it is a sprite character shooting it left or right.
_____________________________
highlight me and you will see my true identity!
Darth Maul!!! ha ha ha ha haaaa!!!
Last edited by Freestylin_Monkey (2008-05-22 10:15:28)
Offline
Just make a simple timer, and if it exceeds the limit make it screw up. "set power to timer, if timer>____ broadcast messed up" "forever if not touching player sprite change y by -3" that should do it!
Offline
Freestylin_Monkey wrote:
how do you make scratch blocks so that if you shoot an arrow straight?, the longer you hold the space button, the farther it goes even though it moves downward?, but if you hold it too long your shot messes up?
-but the mouse is not shooting the arrow into the screen, it is a sprite character shooting it left or right.
_____________________________
highlight me and you will see my true identity!
![]()
Darth Maul!!! ha ha ha ha haaaa!!!
Last edited by james_Mazz1 (2008-05-25 18:06:51)
Offline
You could try the method cyclone has posted or Try this :
create a variable called steps (let it be shown)
When Green flag clicked
Forever if :Key press space
Move 'steps' Steps
change steps by -1
Hide
forever if : steps = 0
move 0 steps
Forever if : steps = 100 or >100
brodcast mess up
Last edited by ashwinsm (2008-05-26 00:30:58)
Offline
I don't know how to do this, but the "repeat until" block should come in handy.
Offline