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 playCustomAnim(c, a)
c = Characters[c].Direction
-- + --
if c >= 338 and c <= 23 then -- east
startAnimation(Animations[a.."_e"])
elseif c >= 24 and c <= 68 then -- south east
startAnimation(Animations[a.."_se"])
elseif ...
...
end
end
playCustomAnim("Tom", "use") -- check direction of character tom & then play animation use_direction-prefix.
[function playCustomAnim(c, a)
c = Characters[c].Direction
-- + --
if c >= 338 and c <= 23 then -- east
startAnimation(Animations[useinv"_e"])
elseif c >= 24 and c <= 68 then -- south east
startAnimation(Animations[useinv"_ne"])
elseif c >= 69 and c <= 113 then
startAnimation(Animations[useinv"_n"])
elseif c >= 114 and c <= 158 then
startAnimation(Animations[useinv"_nw"])
elseif c >= 159 and c <= 203 then
startAnimation(Animations[useinv"_w"])
elseif c >= 204 and c <= 248 then
startAnimation(Animations[useinv"_sw"])
elseif c >= 249 and c <= 293 then
startAnimation(Animations[useinv"_s"])
elseif c >= 294 and c <= 338 then
startAnimation(Animations[useinv"_se"])
end
end]
[local char = game:getLink(VGameCurrentCharacter)
function checkDir()
-- East
if char:getInt(VCharacterDirection) >= -22 and char:getInt(VCharacterDirection) <= 23 then
startAnimation("Animations[useinv_e]")
-- North East
elseif char:getInt(VCharacterDirection) >= 24 and char:getInt(VCharacterDirection) <= 68 then
startAnimation("Animations[useinv_ne]")
-- North
elseif char:getInt(VCharacterDirection) >= 69 and char:getInt(VCharacterDirection) <= 113 then
startAnimation("Animations[useinv_n]")
-- North West
elseif char:getInt(VCharacterDirection) >= 114 and char:getInt(VCharacterDirection) <= 158 then
startAnimation("Animations[useinv_nw]")
-- West
elseif char:getInt(VCharacterDirection) >= 159 and char:getInt(VCharacterDirection) <= 203 then
startAnimation("Animations[useinv_w]")
-- South West
elseif char:getInt(VCharacterDirection) >= 204 and char:getInt(VCharacterDirection) <= 248 then
startAnimation("Animations[useinv_sw]")
-- South
elseif char:getInt(VCharacterDirection) >= 249 and char:getInt(VCharacterDirection) <= 293 then
startAnimation("Animations[useinv_s]")
-- South East
elseif char:getInt(VCharacterDirection) >= 294 and char:getInt(VCharacterDirection) <= 338 then
startAnimation("Animations[useinv_se]")
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.