How do I add coins infinite runner?

0 favourites
  • 5 posts
From the Asset Store
Add SubRip (SRT) subtitles to your videos in Construct 3
  • Hi

    im using the template infinite runner example from c2

    how can i add also infinite coins in that template???

    thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There are a few ways to do it but I used the bullet behavior for the coins and set them to the same speed as your platforms and use a random X and Y coordinate to adjust where they start off screen.

    Destroy them when they hit the other side and create them in a new location on the side they enter.

    You can also randomize the time between when they are created so their is no pattern for the player to predict.

  • its very hard to get the coins appearing from the left side :s can you help?

    actually my coins are created and appear inside the level :s

  • its very hard to get the coins appearing from the left side :s can you help?

    actually my coins are created and appear inside the level :s

    I would have to see your CAPX to help.

    Basically you create a coin at a random position using the X and Y coordinate and it will travel what ever direction you have set in the bullet settings. Then you destroy it using the X setting when it reaches the opposite side and create it again on the start side.

    If they are appearing inside the level it sounds like you need to change the X coordinate to be outside the layout when they are created.

  • il solved it

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