Toto téma je několik let staré. Některé údaje se mohou týkat starší verze Visionaire Studia. Aktuální návody
Bezplatná verze umožňuje až 25 scén na projekt. Pro více scén a pro prodej hry potřebujete licenci. Do 1. 12. 2026 jsou všechny licence o 30 % levnější, například Indie Bundle za 69,30 € místo 99 €. Kód BLACKFRIDAY se odečte automaticky při platbě.
Zobrazit licence Vyzkoušet zdarmagame:setValue(VGameUsedItem,getObject("(-1,-1)"))
game:setValue(VGameUsedItemPicked,true)
Then the scripts started to change between execution and definition. I guess it's time for a rest again before going crazy.
It's scriptable with Vis 4.0.game:setValue(VGameUsedItem,getObject("(-1,-1)")) game:setValue(VGameUsedItemPicked,true)
Order matters here.
game:setValue(VGameDestinationItemPicked, true)
if not game:getLink(VGameUsedItem):isEmpty() then
var = game:getLink(VGameUsedItem) else var = nil
end
if var ~= nil then
game:setValue(VGameUsedItem, var)
game:setValue(VGameDestinationItemPicked, true)
end
-- author: SimonS
-- Inventory scrolling by mouse wheel
registerEventHandler("mouseEvent", "mouseEvtHandler")
function mouseEvtHandler(evt)
if evt == eEvtMouseWheelUp then
wheelUp()
end
if evt == eEvtMouseWheelDown then
wheelDown()
end
end
function wheelUp ()
local items = game:getLink(VGameCurrentCharacter):getLinks(VCharacterItems)
local len = table.getn (items)
local usedItem = game:getLink(VGameUsedItem)
if len == 0 then
game:setValue(VGameUsedItem,getObject("(-1,-1)"))
else
if usedItem:isEmpty() then
game:setValue(VGameUsedItem,items[1])
else
for index = 0, len-1, 1 do
if items[len-index]:getName() == usedItem:getName() then
if len-index == len then
game:setValue(VGameUsedItem,getObject("(-1,-1)"))
else
game:setValue(VGameUsedItem,items[len-index+1])
end
break
end
end
end
end
game:setValue(VGameUsedItemPicked,true)
end
function wheelDown ()
local character = getObject("Game.GameCurrentCharacter")
local items = character:getLinks(VCharacterItems)
local len = table.getn (items)
local usedItem = game:getLink(VGameUsedItem)
if len == 0 then
game:setValue(VGameUsedItem,empty)
else
if usedItem:isEmpty() then
game:setValue(VGameUsedItem,items[len])
else
for i = 1, len, 1 do
if items[i]:getName() == usedItem:getName() then
if i == 1 then
game:setValue(VGameUsedItem,getObject("(-1,-1)"))
else
game:setValue(VGameUsedItem,items[i-1])
end
break
end
end
end
end
game:setValue(VGameUsedItemPicked,true)
end
Toto téma je uzavřené, protože tu přes rok nikdo neodpověděl. Svůj dotaz můžete položit v novém tématu.
Nové témaDeponia, The Whispered World a více než 160 dalších her vzniklo ve Visionaire Studiu. Bezplatná verze stačí až na 25 scén. Pro více scén je tu Visionaire Studio PRO od 75 €, a pro prodej vaší hry Indie Bundle za 99 €.
Do 1. 12. včetně: všechny licence o 30 % levnější, například Indie Bundle za 69,30 € místo 99 €. Sleva se odečte automaticky.