This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials
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 freefunction cswcp(scn)
pp = game.CurrentCharacter.Position -- store current characters position
game.CurrentScene = Scenes[scn] -- update scene
game.CurrentCharacter.Scene = Scenes[scn] -- update scene current character is on
game.CurrentCharacter.Position = pp -- update current characters position
endcswcp("town")cswcp("Scene2")function cswcp(scn)
pp = game.CurrentCharacter.Position -- store current characters position
game.CurrentScene = Scenes[scn] -- update scene
getTime({flags=1, reset=true}) -- start a timer
registerEventHandler("mainLoop", "update_player_pos") -- start a loop
end
function update_player_pos()
if getTime() >= game.FadeDelay then
game.CurrentCharacter.Scene = Scenes[scn] -- update scene current character is on
game.CurrentCharacter.Position = pp -- update current characters position
unregisterEventHandler("mainLoop", "update_player_pos") -- kill the loop
end
endgame.CurrentCharacter.Scene = Scenes[scn]ok replace game.FadeTime in the update_player_pos function with a custom time. Try using a custom value instead, say 1000 or so. 1000 = 1 second in milliseconds.There is no "game.FadeTime" in your codes. Did you mean "game.FadeDelay" ?
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.