How can i make something that can pause and resume my game?
Offline
1. Make a pause button:
when gf clicked forever if < <mouse down?> and <touching [mouse-pointer v]> > set [pause? v] to (true) wait until < <mouse down?> and <touching [mouse-pointer v]> > set [pause? v] to (false) end2. After that put the script below in the forever loop you want to pause of the sprite you want to pause:
if < (pause?) = [true] > repeat until < (pause?) = [false] > end endHope it helps
Offline
Sqervay wrote:
1. Make a pause button:
when gf clicked forever if < <mouse down?> and <touching [mouse-pointer v]?> > set [pause? v] to (true) wait until < <mouse down?> and <touching [mouse-pointer v]?> > set [pause? v] to (false) end2. After that put the script below in the forever loop you want to pause of the sprite you want to pause:if < (pause?) = [true] > repeat until < (pause?) = [false] > end endHope it helps
Fixed.
Offline