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 onMouseEvent(eventType)
if eventType == eEvtMouseRightButtonUp then
--your code here
end
end
registerEventHandler("mouseEvent", "onMouseEvent", {eEvtMouseRightButtonUp})startAction("Scenes[scene_name].SceneActions[action_name]")thank you!
i'm going to try that.
i have a feeling 'though —correct me if i'm wrong— that your script-example doesn't take account for my intented goal, that a specific command is only set, if your cursor is holding an item at that particular moment. i already have an action set for right-clicks in any other situation and don't want to mess with that either.
if eventType == eEvtMouseRightButtonUp then
If not game.UsedItem:isEmpty() then
--switch your command here
end
endThis 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.