Run instances independently

0 favourites
  • 5 posts
From the Asset Store
Full game Construct 2 and Construct 3 to post on Google Play
  • Hello, need some help.

    Is ftm trying to make a platformer with a special kind of twist on how it shows the world. What i want to achieve is that as the character moves forward on the map, the animations of the objects at a certain distance in front of him should run.

    I am mainly having trouble with getting instances of the same object type run independently; as it is now, when the character approaches the first object, all the instances on the layout of that object run their animation, not only the closest one.

    Any help to make them run independently, without me having to create a hundred millions sprites would be welcome! =)

  • Have a instance variable called ID or something, And make that instance run. Or get the instance withing the closest distance ect.

  • Sorry, I don't understand what how you mean I should do it, care to explain a bit more?

    Sorry, I'm just starting with Construct.

  • Events fundamentally work by picking individual instances to work on. See How Events Work. If all instances act the same, you must have your events set up wrong - maybe share your .capx file on Dropbox so we can take a look?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ah, I think I got it to work, thanks to DiggyDog. Had problems with getting the "change within x distance of character" to work, but it seems like I just had to change which sprite that did the "compare X" check.

    Thanks anyway =)

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