#1, by MathieuWednesday, 11. December 2013, 10:52 9 years ago
I have a small question ... I am not able to find the action that can define a change in the position of objects. I just want to move objects from a point x to point y and thus create an animation. Is this possible?
For example, my character can push a plant, and I want this plant move to the right, but with an animated move.
#2, by afrlmeWednesday, 11. December 2013, 12:38 9 years ago
the simplest method would be to draw a walking animation of your character pushing the plant & then have 2 objects on the scene, 1 containing the plants start location & the other containing the plants finish location.
the idea in itself is simple enough. when you interact with the plant then you quickly hide the initial plant by changing a condition value & switch to a character outfit containing the plant walking animation & then begin a cutscene to prevent the player from interacting with the game while the character moves the plant & then when character reaches its destination: change another condition to show the end plant object & then switch back to original character outfit & end cutscene.
moving actual objects in VS is very tricky as you would need to use lua either way to be able to move the animation image & the object polygon area. you can't move static object images only animations; hence why the method I mentioned above is simpler.
#4, by afrlmeWednesday, 11. December 2013, 14:19 9 years ago
you can move them with lua but only active animations assigned to the object & moving the objects polygon area is also possible as I have seen it done in Divo's example drag & drop script; but as I said: it's not simple as it requires a loop handler & various if queries to check position/status of the object etc.
#7, by afrlmeWednesday, 11. December 2013, 16:44 9 years ago
You can use the action area system found under the way system for scenes to determine what should happen if x character enters/leaves said action area.
no need for lua.
thank you (me) for what?
if you want to see how to move animations with lua then check out my sliding interface script or elevator mechanics script in the community wiki via the menu at the top of the website. they should give you an idea of how it is done.