This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials
game.CurrentObject.ObjectScale = 2.0
or
game.GameCurrentObject:setValue(VObjectScale, 2.0)
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 freegame.CurrentObject.Scale = 2
game.CurrentScene.SceneObjects["test"].Scale = 2
game.CurrentObject.Scale = 2
game.CurrentScene.SceneObjects["test"].Scale = 2
Objects["test"].Scale = 2
ActiveAnimations[game.CurrentObject:getName()]:to(200, { AnimationSize = 110 }, easeQuintOut)
local currentItemName = nil
local status
function zoomItem()
if game.CurrentObject.IsItem then
ActiveAnimations[game.CurrentObject:getName()]:to(220, { AnimationSize = 115 }, easeQuadOut)
currentItemName = game.CurrentObject:getName()
status = true
else
if status == true then
ActiveAnimations[currentItemName]:to(220, { AnimationSize = 100 }, easeQuadOut)
status = false
end
end
end
if eventType == eEvtMouseMove then mouseStatus = 1; zoomItem() end
function mouseEvt(typ, pos)
-- + --
if typ == eEvtMouseMove then
if game.CurrentScene:getName() == game.CurrentCharacter.Scene:getName() then scaleItem() end
end
-- + --
end
registerEventHandler("mouseEvent", "mouseEvt")
if game.CurrentScene:getName() == game.CurrentCharacter.Scene:getName() then scaleItem() end
--[[
Scale Items Up / Down (on mouse enter / leave) [V2] (30/09/2015)
Written by AFRLme [Lee Clarke]
-- + --
afrlme@outlook.com | skype @ AFRLme
-- + --
This script is donation optional. In game credit is non-negotiable.
You are free to: ¹ use it in your game(s). ² modify the script.
Do not remove - or edit - this comment block.
--]]
local ci = nil
local itm = nil
local state = false
function scaleItem()
if game.CurrentObject:getId().tableId == eObjects then
if game.CurrentObject:getBool(VObjectIsItem) then
if itm ~= game.CurrentObject:getName() then state = true; itm = game.CurrentObject:getName(); ActiveAnimations[itm]:to(220, {AnimationSize = 115}, easeQuadOut); resetItemScale() end
end
else
itm = nil; resetItemScale()
end
end
function resetItemScale()
if state then
ci = game.CurrentCharacter.Items
if itm == nil then state = false end
for i = 1, #ci do
if ci[i]:getName() ~= itm and ActiveAnimations[ ci[i]:getName() ].AnimationSize ~= 100 then ActiveAnimations[ ci[i]:getName() ]:to(220, {AnimationSize = 100}, easeQuadOut) end
end
end
end
game.GameUsedItem:getName() ~= game.CurrentObject:getName()
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.