Is it a Bug or feature?
Elaborate please? As I recall, many functions aren’t paused with the pause button, including physics, DeltaTime, and coroutines.
function setup()
s=readProjectTab("Main")
speech.say(s)
end
function draw()
background(0)
fill(255)
if wait then
text("tap screen to continue speech",WIDTH/2,HEIGHT/2)
else
text("tap screen to pause speech",WIDTH/2,HEIGHT/2)
end
end
function touched(t)
if t.state==BEGAN then
if not wait then
wait=true
speech.pause(true)
else
wait=not wait
speech.continue()
end
end
end
FYI, speech.pause()
pauses speech.
I mean the bottom left buton of the navigation should stop the entire project, including speech.