This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-04-20 15:21:29

MRUNliMiTEd
Scratcher
Registered: 2012-03-02
Posts: 7

how to make a pause script

ok you need a variable that is constantly increasing. the slower the increase, the less chance your gonna pause where you wanna. and now you need another script that is made for each frame. and you need a in and out var for pausing

If space pressed, change var1 by one


heres how it gos: '(pic) if space pressed, if var1=1, Frame= what ever num you want it to be,


now on the inside

reapet until var1 equels 0,
set var(+1)-1)
set frame to current frame (what ever frame you want it to be).

and if space is pressed again, and var1= 2, set var1 to 0.


now everytime you click space it will pause.

Offline

 

Board footer