This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials
Create point and click adventures without coding. The free version covers up to 25 scenes per project. For more scenes or to earn money with your game, you need a license.
See the Indie Bundle Try it for freegame:setValue(VGameScrollSpeed, 300) -- scroll by 300 pixels a second
game:setValue(VGameHorizontalScrollDistance, 50) -- scroll on X axis when character is 50 pixels or less from scene edge
game:setValue(VGameVerticalScrollDistance, 50) -- scroll on Y axis when character is 50 pixels or less from scene edge
game:setValue(VGameScrollCenterCharacter, true) -- center scene based on character position
-- example 1: current character
game:setValue( VGameScrollCharacter, getObject("Game.GameCurrentCharacter") )
-- example 2: a specified character
game:setValue( VGameScrollCharacter, getObject("Characters[protagonist]") )
game:setValue(VGameScrollSpeed, 300) -- scroll by 300 pixels a second
game:setValue(VGameHorizontalScrollDistance, 50) -- scroll on X axis when character is 50 pixels or less from scene edge
game:setValue(VGameVerticalScrollDistance, 50) -- scroll on Y axis when character is 50 pixels or less from scene edge
game:setValue(VGameScrollCenterCharacter, true) -- center scene based on character position
-- example 1: current character
game:setValue( VGameScrollCharacter, getObject("Game.GameCurrentCharacter") )
-- example 2: a specified character
game:setValue( VGameScrollCharacter, getObject("Characters[protagonist]") )