multiple instances of multi-event mechanics

0 favourites
  • 3 posts
From the Asset Store
14 amazing sound files of game events like Level Ups, Level Completes, object spawn, object taking etc.
  • hello

    example

    i got a moving platform going up and down

    that platform has a rotating block attached to it (like a swinging arm)

    the connections/links can be done via pin

    movement is done via bullet or simulated movement

    is there a way to place multiple instances of that swing-arm-platform mechanic without re-adding sprites and pin/movement events for each platform ?

    if i place 5 swing-arm sprites and 5 platforms - how would construct2 know which arm belongs to which platform

    thanks in advance

    much appreciated !

  • You could/should put them into container. The idea would be, that you place only the swing-arms, and at the start, platform would be generated for that.

    So you could do something like this if the elements are in same container:

    at start of layout

    ..for each swing-arm

    ... set platform position

    ... pin platform to swing-arm

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • works !

    thank you !

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