You will need multiple costumes, and then have it change between these costumes when you need the spindash.
Offline
silasok wrote:
when gf clicked forever if <<[down arrow v] key pressed?> and <[s v] key pressed?>> switch to costume [Spindash v] broadcast [Start Spindash v] when i receive [Start Spindash v] wait until <[down arrow v] key pressed?> move () steps
I translated silasok's text into ScratchBlocks.
Offline
jontmy00 wrote:
when gf clicked broadcast [Restart v] when I receive [Restart v] if <<[down arrow v] key pressed?> and <[s v] key pressed?>> switch to costume [Spindash v] broadcast [Start Spindash v] else switch to costume [Sonic Stand v] broadcast [Restart v] end when i receive [Start Spindash v] move (10) steps broadcast [Restart v]
Does this work then? Note the use of recursion.
Last edited by jontmy00 (2012-06-13 05:41:38)
Offline