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 freeif degree value is more than or equal to a and less than or equal to b then
start animation (some animation)
elseif ...
local char = game:getLink(VGameCurrentCharacter)
function checkDir()
-- East
if char:getInt(VCharacterDirection) >= 0 and char:getInt(VCharacterDirection) <= 44 then
startAnimation("Animations[add animation name here]")
-- North East
elseif char:getInt(VCharacterDirection) >= 45 and char:getInt(VCharacterDirection) <= 89 then
startAnimation("Animations[add animation name here]")
-- North
elseif char:getInt(VCharacterDirection) >= 90 and char:getInt(VCharacterDirection) <= 134 then
startAnimation("Animations[add animation name here]")
-- North West
elseif char:getInt(VCharacterDirection) >= 135 and char:getInt(VCharacterDirection) <= 179 then
startAnimation("Animations[add animation name here]")
-- West
elseif char:getInt(VCharacterDirection) >= 180 and char:getInt(VCharacterDirection) <= 224 then
startAnimation("Animations[add animation name here]")
-- South West
elseif char:getInt(VCharacterDirection) >= 225 and char:getInt(VCharacterDirection) <= 269 then
startAnimation("Animations[add animation name here]")
-- South
elseif char:getInt(VCharacterDirection) >= 270 and char:getInt(VCharacterDirection) <= 314 then
startAnimation("Animations[add animation name here]")
-- South East
elseif char:getInt(VCharacterDirection) >= 315 and char:getInt(VCharacterDirection) <= 359 then
startAnimation("Animations[add animation name here]")
end
end
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.