Multiple Instances made me headache

0 favourites
  • 6 posts
From the Asset Store
Make your own platformer for both the web and mobile easy with this Santas Platformer Template, FULLY DOCUMENTED
  • Hello, I'm making a test an unit could push away to each other. The problem, I couldn't figure out how to apply to multiple instances.

    I tried to add For each, but it didn't work.

    There's a capx comes Instruction, would you help me?

    https://dl.dropboxusercontent.com/u/76227787/MultiInstancesProblem.capx

  • Nobody?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I guess it isn't clear what it is you are wanting to accomplish.

  • Well , got 5 mins to check it out , If it isn't solved before tommorow , I'll give it some more time ...

    After 5 mins : Ah , need to go sleep , I think it's a problem with picking , revise your picking events ...

  • I guess it isn't clear what it is you are wanting to accomplish.

    czar I'm sorry, there an issue, if you see 4 units, then select one in the top (Instance 1), try to right click over behind of every other units to push (Instance 2, Instance 3 and Instance 4), it works as we expected, now deselect and select Instance 2, try to right click over behind of Instance 1, it looks like it keeps moving until stopped. Not perfect.

    Now, try to select Instance 2, try to right clikc over behind Instance 3 and 4... It seems the ghost pass, it means it's not working as well... There only one working is Instance 1 after all... It makes me hard how to solve the problem.

  • I'm still desperated...

    Let me show you what I need to solve this problem.

    This .capx is currently working like that:

    <img src="http://i.imgur.com/30nWdIS.png" border="0" />

    Instance 0 is worked after all, it can determine the distances between other instances, the problem about Instance 1 to Instance 2 doesn't work.

    I'm looking a solution like this:

    <img src="http://i.imgur.com/7rXgvqy.png" border="0" />

    Every instances can determine the distances to each instances, it made me headache because I couldn't figure it out.

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