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 freetunnel.ObjectOffset = {x=300, y=tunnel.ObjectOffset.y}
‹Object name="Tunnel2" id="70" order="4" lastModified="1" ObjectDirection="-1" ObjectCenter="815" ObjectIsItem="F" ObjectConditionNegate="F" ObjectIsWalkable="F" ObjectScrollFactorX="100" ObjectScrollFactorY="100" ObjectModel="" ObjectValueOperator="-1" ObjectValueInt="-1"›
‹ObjectName parentLink="T" id="201" tableId="14" LinkAny="F"/›
‹ObjectPolygon›
‹/ObjectPolygon›
‹ObjectCondition parentLink="F" id="-1" tableId="-1" LinkAny="F"/›
‹ObjectSprite parentLink="T" id="111" tableId="13" LinkAny="F"/›
‹ObjectAnimation parentLink="F" id="-1" tableId="-1" LinkAny="F"/›
‹ObjectActions›
‹/ObjectActions›
‹ObjectConditions›
‹/ObjectConditions›
‹ObjectAnimations›
‹/ObjectAnimations›
‹ObjectValues›
‹/ObjectValues›
‹ObjectPosition x="0" y="0"/›
‹ObjectParticleSystem parentLink="F" id="-1" tableId="-1" LinkAny="F"/›
‹ObjectSnoopAnimation parentLink="F" id="-1" tableId="-1" LinkAny="F"/›
‹ObjectSnoopAnimationPos x="0" y="0"/›
‹ObjectValue parentLink="F" id="-1" tableId="-1" LinkAny="F"/›
‹/Object› local obj = createObject(scenenName)
obj.filePath = path
obj.x = 913
obj.y = 0
usw. ‹Sprite name="Bild" id="111" order="111" lastModified="1"›
‹SpriteSprite name="" pause="-1" path="Kulissen/UBahn/Tunnel2.jpg" Transparency="2"›
‹position x="193" y="2"/›
‹/SpriteSprite›
‹/Sprite›

game.GameHorizontalScrollDistance = (game.WindowResolution.x / 2)
game.GameVerticalScrollDistance = (game.WindowResolution.y / 2)



Scenes.UBahnWagen1.Objects.Tunnel0.ObjectOffset = {x=0,y=0}
Scenes.UBahnWagen1.Objects.Tunnel1.ObjectOffset = {x=913,y=0}
Scenes.UBahnWagen1.Objects.Tunnel2.ObjectOffset = {x=1826,y=0}--reset animations in 0ms to pos 0/0
ActiveAnimations["tunnel0"]:to(0, { VAnimationCurrentPosition = {x = 0, y = 0} })
ActiveAnimations["tunnel1"]:to(0, { VAnimationCurrentPosition = {x = 0, y = 0} })
ActiveAnimations["tunnel2"]:to(0, { VAnimationCurrentPosition = {x = 0, y = 0} })
--randomize a number between 0 and 2
local randomtunnel = math.random(0,2)
--move random tunnel animation to other side of the screen in 500ms (assuming x=2000 is outside the view)
ActiveAnimations["tunnel"..randomtunnel]:to(500, { VAnimationCurrentPosition = {x = 2000, y = 0} }) 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.