This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials
if ActiveAnimations["name"] then print(true) end -- not 100% sure on this, as it might return an error for accessing incorrect table.
if ActiveAnimations["name"] then ....
print(ActiveAnimations["name"])
if not ActiveAnimations["name"] then -- if it's empty / nil.
local x = ActiveAnimations["name"]
if x then print(x) end
local x = ActiveAnimations["waterwheel"]
if x then print(x) end
14:32:32: ---Empty---
14:32:32: waterwheel (26,33)
if not ActiveAnimations["name"]:isEmpty() then
-- if not empty (nil) then do something
else
-- if empty (nil), then do something else
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.