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 free-- here's a quick global function example for renaming objects...
-- to use: add inside of an execute a script action part: renameObj("the objects name", "the command name you want to add")
function renameObj(obj, cmd)
getObject("Game.GameCurrentScene.SceneObjects[" .. obj .. "]"):setValue(VObjectName, cmd .. " " .. obj)
end
renameBtn()
-- * local variables * --
local val
local btn = getObject("Buttons[use]") -- store interface button
-- * tables * --
tCmd = {"Pick up ", "Use ", "Push ", "Pull "}
-- * function used to rename objects * --
function renameBtn()
val = getObject("Values[cmd_state]"):getInt(VValueInt) -- store number value of value
btn:setValue(VButtonName, tCmd[val] ) -- ammend required action name to the "use" button
end
-- edit use to whatever you called the interface button...
getObject("Buttons[use]"):setValue(VButtonName, "")
local btn = getObject("Interfaces[coin_disc1].InterfaceButtons[Action_Coin]")
getObject("Interfaces[coin_disc1]") --Seems fine
getObject("Button[Action_Coin]") --invalid table name
getObject("InterfaceButtons[Action_Coin]") --invalid table name
getObject("Interfaces[coin_disc1].InterfaceButtons[Action_Coin]") --invalid
local btn = getObject("Interfaces[coin_disc1].InterfaceButtons.Button[Action_Coin]")
local val
local btn = getObject("Interfaces[coin_disc1].InterfaceButtons[Action_Coin]")
function newName()
btn:setValue(ButtonName, "wibble" )
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.