This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials
local scene = game:getLink(VGameCurrentScene)
print ("--- start ---")
for v,t in pairs(scene.SceneScrollableArea) do
print (v,t)
end
print ("--- end ---") 21:31:24.814:--- start ---
21:31:24.814:y 0
21:31:24.814:x 0
21:31:24.814:height 0
21:31:24.814:width 0
21:31:24.814:--- end ---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.CurrentScene.Sprite:getSize().x
game.CurrentScene.Sprite:getSize().ylocal scene = game:getLink(VGameCurrentScene)
print(scene.SceneSprite:getSize().x)
game.CurrentScene.Sprite:getSize()The size of the scene is determined by the sprite you use there. And the sprite field for a scene is a link to the used image (and some other informations).From an OO point of view, getting the size of the scene has to be a method of the scene!
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.