This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials
Wait until left mouse button is clicked to continue <p>
Continue after 2500 milliseconds (ms) <p2500ms>
Wait until linked speech file has finished playing <pa>
The free version covers up to 25 scenes per project. For more scenes and to sell your game, you need a license. Forum readers get the Indie Bundle 15 % off with the code FORUM15: €84.15 instead of €99, valid until 31 Dec 2026.Black Friday: the Indie Bundle is 30 % off until 1 Dec 2026, €69.30 instead of €99. The code BLACKFRIDAY is already applied.
Get 15 % off Try it for free
-- * function for text started * --
function sText(text)
setDelay(250, function()
game.AlwaysAllowSkipText = true
end)
end
-- * function for text finished * --
function eText(text)
game.AlwaysAllowSkipText = false
end
-- * event handlers * --
registerEventHandler("textStarted", "sText") -- event handler for begin text
registerEventHandler("textStopped", "eText") -- event handler for end textlocal handle_cutscene_txt = false
-- * function for text started * --
function sText(text)
if not game.HideCursor and game.CutsceneAction:isEmpty() and not handle_cutscene_txt then
game.HideCursor = true
handle_cutscene_txt = true
end
-- + --
setDelay(250, function()
game.AlwaysAllowSkipText = true
end)
end
-- * function for text finished * --
function eText(text)
if handle_cutscene_txt then
game.HideCursor = false
handle_cutscene_txt = false
end
-- + --
game.AlwaysAllowSkipText = false
end
-- * event handlers * --
registerEventHandler("textStarted", "sText") -- event handler for begin text
registerEventHandler("textStopped", "eText") -- event handler for end textThis thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.
New threadDeponia, The Whispered World and more than 160 other games were made with Visionaire Studio. The free version covers up to 25 scenes. For more scenes there is Visionaire Studio PRO from €75, and to sell your game the Indie Bundle for €99.
Until December 1: the Indie Bundle is 30% off with the code BLACKFRIDAY, €69.30 instead of €99.