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 freefor i = 1, 6 do
if Values["choice"].Int == i then
setAnimFrames("char"..i, 2)
else
setAnimFrames("char"..i, 1)
end
endThe code I shared wasn't a table. It was a short iteration method example using the for loop, which does the same as your if else queries, except it's much less code.Yes, I got it, thanks. Very handy for these occasions
Values["example"].Int = #game.CurrentCharacter.ItemsCool, thanks a lot! This is a great option1. The log messages are just warnings, so they shouldn't really impact performance, however it would be ideal to try & remedy the issues so that you don't have any warnings/errors being generated - add a small pause or something before trying to force the animation frames in whatever method you are using to prevent it trying to update them before they've all started playing. Or you could add the code directly into the frames themselves as that way they will definitely be playing when the code is executed.2. You could use the mouse event handler to check if an object exists below the cursor & that it's an item. Another thing you could do is use code to check how many items exist in the character inventory & set a value to that so you can check how many slots are filled up.Values["example"].Int = #game.CurrentCharacter.Items
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.