How do I make a temporary Every Tick Event?

  • I need RainbowBalloon to teleport to the Player every tick after I collide with Balloon, I've tried

    Player -> On collision with Balloon -> Play Audio "Item"

    l

    l--> System -> Every Tick -> Set RainbowBalloon position to Player

    but it sets position to the player once.

  • For these kind of events it's easiest to work with instance variables:

    give the balloon a boolean instance variable ConnectedToPlayer

    -Player On collision with Balloon

    Play Audio "Item"

    Balloon set boolean variable ConnectedToPlayer to true

    • Balloon is ConnectedToPlayer

    > Set Balloon position to Player

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • For these kind of events it's easiest to work with instance variables:

    give the balloon a boolean instance variable ConnectedToPlayer

    -Player On collision with Balloon

    > Play Audio "Item"

    > Balloon set boolean variable ConnectedToPlayer to true

    - Balloon is ConnectedToPlayer

    > Set Balloon position to Player

    Thanks so much!

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