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 freeDie Characterposition brauche ja sowieso, um abzufragen, ob sich der Charakter in der Nähe des Bildschirmrandes aufhält.Mit wild geschätzten Werten hatte es schonmal geklappt. Jetzt muss ich mal schauen ob ich mit fontDimension(text) was anfangen kann...Vielen Dank schonmal für deine Hilfe - und ich würde mich wirklich freuen, wenn du zu den Speechbubbles ein Tutorial machst!
-- setup the vars (savezone is 14 px around the spoken text)
local txt = text.CurrentText:gsub("<br/"..">","\n") -- get the current active text and convert the line breaks
local dim = graphics.fontDimension(txt) -- calculate the textbox height/width depending on the text
local char = text.Owner -- get character and
local pos = char.Position -- his/her position
-- set textbox position. Dont allow the textbox to be displayed out of the game window
pos.x = pos.x-((dim.x+14)/2)
if pos.x game.WindowResolution.x-dim.x-14 then pos.x = game.WindowResolution.x-dim.x-14 end
pos.y = pos.y-char.Size-dim.y-20 --set it 20px higher than the character size
if pos.y < 0 then pos.y=0 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.