Mouse control for more than one player object

0 favourites
  • 2 posts
From the Asset Store
Basic Rounded Vector Geometry Player Design with Glow for 3 player games
  • Hi all, haven't been able to come to grips how to have more than one player object that can use the same mouse input to select and deselect each object to perform basically the same movement and task as the first object. In other words how do you set up the mouse to control objects without interfering with the other previous ones. I suspect the answer is in the order of the event and actions of each one, if that makes any sense. So how would you go about using the same mouse input for all your game objects in a particular group. I just want to be able to select an object using a simple mouse click then the last object that received instructions continues it's task after I select the new one. Any tutorials on the subject . I've read and read but just can't seem to find an example of what I want.

    Thanks

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I´m guessing you need to use Families.

    You can put all your movable objects in a Family then wright your events referencing only the Family, the events will apply to the picked object during runtime.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)