Pick Random Instance delay?

0 favourites
  • 1 posts
From the Asset Store
Pick Up Items Sound effects for your game, Take them for a ride right now and you will worry no more.
  • I am having difficulty with the pick random instance event because it seems to be delayed.

    I have an auto runner setup where the player moves right and blocks (from a family) spawn from a sprite off screen and move left towards the player via bullet motion. I have a system event for pick random instance which is supposed to choose one of the two newly spawned blocks from the family and toggle its boolean to true. Upon doing so it will change the frame to frame 1.

    The problem (for me) is that it chooses the instance only when the blocks are near the middle of the screen and already over the player, rather than instantly (or just coming onto the screen)

    <img src="http://oi41.tinypic.com/2uz58xy.jpg" border="0" />

    (ignore that random variable it was left over from playing with it)

    Any idea why this is happening and how to fix it?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)