Questa discussione ha qualche anno. Alcuni dettagli potrebbero riferirsi a una versione precedente di Visionaire Studio. Tutorial aggiornati
La versione gratuita consente fino a 25 scene per progetto. Per più scene e per vendere il tuo gioco ti serve una licenza. Fino al 01/12/2026 tutte le licenze sono scontate del 30 %, per esempio l’Indie Bundle a 69,30 € invece di 99 €. Il codice BLACKFRIDAY viene detratto automaticamente alla cassa.
Vedi le licenze Provalo gratisInterfaces["name"].InterfaceVisible = false -- false to hide. true to show.if game.CurrentObject == game.UsedItem then game.DrawActionText = eDrawNoActionText endgame.DrawActionText = eDrawActionTextAtCurrentPoslocal int = Interfaces["example"]
if int == 0 then -- it's fully out.
int:to(1000, { InterfaceOffset = {x = int.InterfaceOffset.x, y = -301} }, easeQuintIn)
elseif int == -301 then -- it's fully hidden
int:to(1000, { InterfaceOffset = {x = int.InterfaceOffset.x, y = 0} }, easeBounceOut)
endEin weiteres Problem haben wir mit unserem Inventar. Ich habe es hinbekommen ein Slide-Out Inventar zu basteln, dass soweit ziemlich genau, wie das von "Edna bircht aus" funktioniert. Allerdings gibt es immernoch die seltsame Situation, bei dem ein Item im Inventar mithilfe eines Kombinierten Befehls mit sich selber kombinierbar bleibt. Dies führt zu seltsamen Aktionstexten, wie "Benutze Permanentmarker mit Permanentmarker" o.ä.. Gibt es eine Möglickeit Visionaire davon zu überzeugen, dass gleiche Objekt bei einem kombinierten Befehl zu ignorieren?
--[[
Update action text of current language with new text
Written by AFRLme [Lee Clarke]
--]]
-- * function which updates the action text of an object for the current language * --
function setText(obj, txt)
local texts = obj.TextTextLanguages -- get all texts belonging to the object
-- + --
for i = 1, #texts do -- iterate through the stored texts
if texts[i].language == game.StandardLanguage:getId().id then
texts[i].text = txt; obj.TextTextLanguages = texts -- update old text with new text
break -- no need to keep iterating, cancel the loop
end
end
endSaid „Edna bricht aus“ – so it's the first one. This game COULD be made by Visionaire, all functions are possible.Sorry, my bad. I glossed over the text quickly. Just Saw Edna & Harvey & somehow missed the sub-title. Still, we don't currently have support for aligning the default action text, whether it's the system via the game settings tab or one created via an interface. If rect is specified then it automatically centers the text both x & y inside of the specified rect, which means they either have to use display object with values & Lua script or Lua script with the new draw function - I don't know if Simon has provided any documentation/examples of how to use that yet!?
Questa discussione è chiusa perché nessuno risponde da più di un anno. Puoi fare la tua domanda in una nuova discussione.
Nuova discussioneDeponia, The Whispered World e oltre 160 altri giochi sono nati con Visionaire Studio. La versione gratuita arriva fino a 25 scene. Per più scene c’è Visionaire Studio PRO da 75 €, e per vendere il tuo gioco l’Indie Bundle a 99 €.
Fino al 1° dicembre compreso: tutte le licenze scontate del 30 %, per esempio l’Indie Bundle a 69,30 € invece di 99 €. Sconto applicato automaticamente.