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 foo()
local val = getObject(myanimation):getInt(VAnimationCurrentSpriteIndex)
--get the current frame index
if val >= 2 and val <= 20 then --range between frame 2 and 20
--do stuff
else
--do something else
end
endsetAnimFrames(animname, int , int)function setAnimFrames(anim, first, last)
ActiveAnimations[anim].FirstFrame = first
ActiveAnimations[anim].LastFrame = last
end local cond = getObject("Conditions[myCondition]") --- get the condition of myCondition
cond:setValue(VConditionValue, false) --if its true change to false
local valA =(Values["myValue"].Int ) -- get myValue's valueyou only really need to query if the 2 characters are x distance apart. in theory if both characters are close enough together then it should count as an hit, no? You could then expand upon that further, by querying a state/condition/value, such as characters are close enough together, but was the receiving character blocking/ducking/jumping?
local benishere = getObject("Characters[Benny]"):getPoint(VCharacterPosition)
print(benishere.x, benishere.y)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.