Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!


OverviewFelgo 1 Support › Is it possible to move 2 instances of an entity at the same time?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #5894


    Hello there,

    I am currently trying to develop my first game using VPlay. I am stuck, and need help. I created 2 instance objects from an entity, and displayed this on my scene. The problem now it that I want to be able to move both instances at the same time, such that, if I move the first to the left, the second should automatically follow. I have tried creating a function to achieve this, but fail. I want to find out if there is some pre-defined function in VPlay to achieve this? Otherwise, if someone can help with a sample code, I will greatly appreciate.


    Felgo Team


    are there only those 2 entities or could there be many more and you always need to “connect” 2 of them?

    Are you creating those entites dynamically with the EntityManager?

    Can you maybe use the onXChanged signal of the first to change the x value of the 2nd and same for y?


Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.