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. Forum readers get the Indie Bundle 15 % off with the code FORUM15: €84.15 instead of €99, valid until 31 Dec 2026.Black Friday: the Indie Bundle is 30 % off until 1 Dec 2026, €69.30 instead of €99. The code BLACKFRIDAY is already applied.
Get 15 % off Try it for freegame.CurrentScene.SceneValues["objectname_x"].Int = game.CurrentScene.SceneObjects["objectname"].ObjectOffset.x
game.CurrentScene.SceneValues["objectname_y"].Int = game.CurrentScene.SceneObjects["objectname"].ObjectOffset.ygame.CurrentScene.SceneObjects["objectname"].ObjectOffset = {x = game.CurrentScene.SceneValues["objectname_x"].Int, y = game.CurrentScene.SceneValues["objectname_y"].Int}
@AFRLme: Yeah you're right. I do now remember that i was trying to move some object like that or something and i was using duplicated object for the new position. I don't know why it's not remembered though or why there's no Lua option to move object on a absolute position.The 2 move object action parts are the same. Alex created the "move to" action part because (I think myself & a few others complained about it not being very intuitive). One offsets from default position which is kind of confusing & the other moves to the specified coordinates - it's the same function really except Alex added some math calculations into it I think to make it move to specified coordinates instead of offsetting.
x = (object position x – wanted position x)*-1y = (object position y – wanted position y)*-1This 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.
Until December 1: the Indie Bundle is 30% off with the code BLACKFRIDAY, €69.30 instead of €99.