Uh, just make him do nothing I guess. XD
Offline
whenclicked
repeat untilwhatever freezes the sprite?moving script
Offline
this is my script trinary (or anyone else who can help) and my problem is when he dies, you can still controll him
[scratchblocks]
forever
when gf clicked
wait until [touching Sprite1 v]
play sound [scream-male1 v]
switch to costume [DEAD DX (saw) v]
change x by [-1]
change y by [1]
wait [3] secs
play sound [SpaceRipple v]
switch to costume [ALIVE! ( v]
go to x: [-210] y- [-2]
Offline
sorry, ill try again
[scratchblocks]
forever
when gf clicked
wait until [touching Sprite1 v]
play sound [scream-male1 v]
switch to costume [DEAD DX (saw) v]
change x by [-1]
change y by [1]
wait [3] secs
play sound [SpaceRipple v]
switch to costume [ALIVE! v]
go to x: [-210] y- [-2
Offline
Put [/scratchblocks] at the end and use the preview button before posting.
whenclicked
foreverwait untiltouching Sprite1 ▼play soundscream-male1 ▼switch to costumeDEAD DX (saw) ▼change x by-1change y by1wait3secsplay soundSpaceRipple ▼switch to costumeALIVE! ▼go to x:-210y:-2
Last edited by Fordark (2012-03-05 03:02:09)
Offline
1) Make a variable called 'moving?' or 'frozen?' or something to that effect.
2) Wrap a {'if (moving?) = 1} around your movement script.
3) Make a trigger for freezing.
You can see a demo here: http://scratch.mit.edu/projects/owetre18/1646623
(press P to pause/unpause or freeze/unfreeze)
I made that project. It's my old account.
I needed to start over for undisclosed reasons.
Offline