I'm trying to create an animated object, basically a door, but I dont know how to do it, please help
basically create the door in different positions as it opens. usually 3-5 images works for a door and create an object and you will then animate the object when the player opens or closes the door.
Suppose the door is named oDoor and you have an animation view called vDoor. Then it would be
oDoor.Animate(vDoor, 5, eOnce, eNoBlock, eForwards);
Another way is to draw the background as if the door is opened, then have a graphic that shows the door closed. Create an object and assign the door closed to this image. When the player interacts with the object(door) then make the object invisible by setting its visible property to false. then it would appear as the door opened.
Actually I already did it using another way but thank you. (Solved)