- Events for text transitions, TextTransitionSkipped, TextTransitionIndex. Example for playing a sound for the type writer effect (only sent from the fade effect):But honestly, as any other information is missing and I still have no acess to Visionaire's Wiki, I have no idea how to use it properly.
function engineEvent(type, data)
if type == "TextTransitionIndex" then
AudioBusses["Random"]:start()
end
end
registerEventHandler("engineEvent", "engineEvent")
The free version covers up to 25 scenes per project. For more scenes and to sell your game, you need a license. Until 1 Dec 2026 all licenses are 30 % off, for example the Indie Bundle for €69.30 instead of €99. The code BLACKFRIDAY is applied automatically at checkout.
See licenses Try it for freelocal busToPlay = AudioBusses["Random"]function txtStart(text)
if text.Owner == Characters["Name"] then
busToPlay = AudioBusses["Random"]
end
if text.Owner == Characters["Name2"] then
busToPlay = AudioBusses["Random2"]
end
endregisterEventHandler("textStarted","txtStart")function engineEvent(type, data)
if type == "TextTransitionIndex" then
busToPlay:start()
end
if type == "TextTransitionSkipped" then
busToPlay:start()
end
endregisterEventHandler("engineEvent", "engineEvent")1) You need the text owner from the text start.2) You need to call :stop() on TextTransitionSkippede.g.:local busToPlay = AudioBusses["Random"]function txtStart(text) if text.Owner == Characters["Name"] then busToPlay = AudioBusses["Random"] end if text.Owner == Characters["Name2"] then busToPlay = AudioBusses["Random2"] end endregisterEventHandler("textStarted","txtStart")function engineEvent(type, data) if type == "TextTransitionIndex" then busToPlay:start() end if type == "TextTransitionSkipped" then busToPlay:start() end endregisterEventHandler("engineEvent", "engineEvent")
if type == "TextTransitionSkipped" thenShould it be
busToPlay:start()
busToPlay:stop()here?
Problem is that there are multiple sounds running and stop stops only one, I added a function stopAll to the upcoming version, that should fix that.
This 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.
Through December 1: all licenses 30% off, for example the Indie Bundle for €69.30 instead of €99. Applied automatically at checkout.